Create Scan
| codegurusecurity_create_scan | R Documentation |
Use to create a scan using code uploaded to an Amazon S3 bucket¶
Description¶
Use to create a scan using code uploaded to an Amazon S3 bucket.
Usage¶
codegurusecurity_create_scan(clientToken, resourceId, scanName,
scanType, analysisType, tags)
Arguments¶
clientToken |
The idempotency token for the request. Amazon CodeGuru Security uses this value to prevent the accidental creation of duplicate scans if there are failures and retries. |
resourceId |
[required] The identifier for the resource object to be scanned. |
scanName |
[required] The unique name that CodeGuru Security uses to track
revisions across multiple scans of the same resource. Only allowed for a
|
scanType |
The type of scan, either
|
analysisType |
The type of analysis you want CodeGuru Security to perform in the
scan, either |
tags |
An array of key-value pairs used to tag a scan. A tag is a custom attribute label with two parts:
|
Value¶
A list with the following syntax:
list(
scanName = "string",
runId = "string",
resourceId = list(
codeArtifactId = "string"
),
scanState = "InProgress"|"Successful"|"Failed",
scanNameArn = "string"
)
Request syntax¶
svc$create_scan(
clientToken = "string",
resourceId = list(
codeArtifactId = "string"
),
scanName = "string",
scanType = "Standard"|"Express",
analysisType = "Security"|"All",
tags = list(
"string"
)
)