SAST

Creates a new scan

post/sast/scans

Request

Request body

projectIdinteger required

Specifies the Unique Id of the specific project to be scanned

isIncrementalboolean

Specifies whether the scan is incremental of full

isPublicboolean

Specifies whether the requested scan is public or private

forceScanboolean

Specifies whether the code should be scanned regardless of unchanged code

commentstring

Specifies the scan comment

customFieldsobject

Example request

{
  "projectId": 1,
  "isIncremental": false,
  "isPublic": true,
  "forceScan": true,
  "comment": "",
  "customFields": {
    "key": "value"
  }
}

Response

Created

idinteger

Changes

No recorded changes to this operation across all 1 revision of this API.