Getting Scan Status and Details

After running a scan, The API client can get the scan status and its details. To do this, the API will first need the scan's Run ID.

The obtained details include the scan's Scan ID, which can be subsequently used for commenting and reports.

CxSDKWebService.GetStatusOfSingleScan Method


Parameters

Return Value

CxWSResponseScanStatus, including:

  • .CurrentStatus: The scan's status
  • .ScanID: Once the scan is complete, .ScanID contains an ID that enables subsequent methods for commenting and reporting.

Example

To get the status and details of a scan with a known Run ID:


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.

GetStatusOfSingleScan

GET /sast/scansQueue/{Id}

Get details of a specific scan in the scans queue.

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