Generating a Report

The API client can generate a result report for a scan, by Scan ID.

CxSDKWebService.CreateScanReport Method


Parameters

  • sessionID: The current Session ID
  • reportRequest: An instance of class CxWSReportRequest, which includes the following fields:
    • .ScanID: The Scan ID of the scan results for which to generate a report.
    • .Type: The report output type.

Return Value

CxWSReportRequest, including:

Example

To generate a result report for a scan with a known ID of 256:


SOAP to REST Mapping

This section covers SOAP to REST migration and mapping of our legacy SOAP based SDK to the new REST APIs. It is recommended to use this reference only once CxSAST V8.8.0 is installed.

CreateScanReport

POST /reports/sastScan

Generate a new scan report.

For more mapping information, refer to API Mapping (SOAP to REST). You can find a summary of our REST APIs here.