Defines Define the SAST scan settings according to a project (preset and engine configuration).
...
- GET /projects and get details of all visible projects
- GET /sast/presets and get details of all presets
- GET /sast/engineConfigurations and get engine configurations list
- POST /sast/scanSettings and define the SAST scan preset and configuration settings
URL
/CxRestAPIcxrestapi/sast/scanSettings
Method:
POST
Media Type (header):
Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0
cxOrigin: {request_origin}
Parameters
Required:
scanSettings=[body] – Scan settings:
projectId=[integer] – Unique Id of the project
presetId=[integer] – Unique Id of the preset
engineConfigurationId=[integer] – Unique Id of the engine configuration
...
{
"id": 2,
"link": {
"rel": "self",
"uri": "/sast/scanSettings/2"
}
}
Notes:
Defines the SAST scan settings according to a project. If the request fails, it returns an error response. Defines project scan settings regardless of whether the scan has been created.
...
Section | ||||
---|---|---|---|---|
|