API Updates for 9.5.0
REST
Category | Details |
---|---|
Get a query version code (for BFL service) | [GET] /queries/queryVersionCode - To get the id and the query version code. The endpoint receives as input the following parameters:
The response will include:
|
Lock a scan | [PUT] /sast/lockScan - Enables locking a scan. The endpoint receives as input the scan id and return as response:
|
Unlock a scan | [PUT] /sast/unLockScan - Enables unlocking a scan. The endpoint receives as input the scan id and return as response:
|
List all scheduled jobs | [GET] /sast/sheduledJobs - To get the list of all scheduled jobs. As response the endpoint returns details for: project name, project Id, scan frequency, scan days and scan time. |
Get the timestamp for result updates | [GET] /sast/resultPathCommentsHistory - Enables getting the comment and timestamp for the result update. |
Pull license data | [GET] /serverLicenseData - Enables pulling license data details. The endpoint does not receive inputs. The response contains details and information for the following:
|
Get branch status | [GET] /projects/branch/{id} - To get the project branching status. Receives as input the project ID of the branched project. Returns as response the following information (based on details stored in [CxDB].[dbo].[ProjectBranchTree] table):
|
Force Scan on no-code changes | [POST] /projects/{id}/forceScanOnNoCodeChanges - Sets the next scheduled scan for project to bypass the “no code changes” scenario. |
SOAP
Category | Details |
---|---|
Portal - CreateNewProject | Inside ProjectConfiguration parameter in ScanActionSettings/ScanAction type there are two new fields available:
|
Portal - GetProjectProperties | Inside ProjectConfiguration parameter, two new fields are available:
|
ODATA
Category | Details |
---|---|
Tracking the age of vulnerabilities | To track the age of vulnerabilities, the vulnerability detection date was added to each Result metadata in OData. This can be helpful for customers that have internal SLAs and rules where the age of the vulnerabilities determines compliance with their enterprise's policies. It is possible to build queries to get the detection date of specific vulnerabilities. |