SAST

Creates a new scan

post/sast/scanWithSettings

Request

Request body application/x-www-form-urlencoded

projectIdinteger required

Specifies the Unique Id of the specific project to be scanned

overrideProjectSettingboolean

Specifies whether to overwrite project settings to be the default for the next scans .If set to false or empty - do not overwrite project settings. If set to true - overwrite project settings

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

presetIdinteger

Specify the preset id to use during the scan, 0 = use project's default

engineConfigurationIdinteger

Specify the engine-configuration to use during the scan, 0 = use project's default

customFieldsstring

Any custom fields used to tag the scan. Example: {"key1":"val1","key2":"val2"}

postScanActionIdinteger

Specify post action to be executed after scan is completed

runPostScanOnlyWhenNewResultsboolean

Specify if the configured post scan action will be executed only if new results are found, compared to the previous scan. Used in conjunction with PostScanActionId.

runPostScanMinSeverityinteger

Specify the minimal severity value when evaluating new results compared to the previous scan. Used in conjunction with RunPostScanOnlyWhenNewResults.

postScanActionArgumentsstring

Specify the additional arguments to add to the post scan action. Used in conjunction with PostScanActionId.

zippedSourcestring binary

source Zip

Response

Created

idinteger

Changes

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