Skip to main content

Getting Scanned Projects

The API client can get a list of all public projects in the system with a risk level and summary of results by severity (high, medium, low).

CxSDKWebService.GetProjectScannedDisplayData Method

public CxWSResponseProjectScannedDisplayData GetProjectScannedDisplayData(string sessionID);

Parameters

Return Value

CxWSResponseProjectScannedDisplayData, including:

  • .ProjectScannedList: The list of all public projects in the system with risk level

Example

To get the list of all public projects with risk level:

internal void Main(string [] args)
{ 
  String sessionID = args[0];
   
  CxSDKWebServiceSoapClient cxSDKProxy = new CxSDKWebServiceSoapClient();
     
  CxWSResponseScanStatus response = cxSDKProxy. GetProjectScannedDisplayData(sessionID);


    //store the Scanned list
    ScannedList
  = response.ProjectScannedList;
}

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.

GetProjectScannedDisplayData

GET /sast/scansCxSAST (REST) API v1

Get all scans for a specific project.

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