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¶
Arguments¶
analysisTypeThe type of analysis you want CodeGuru Security to perform in the scan, either
SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings. Defaults toSecuritytype if missing.clientTokenThe 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
STANDARDscan type.scanTypeThe type of scan, either
StandardorExpress. Defaults toStandardtype if missing.Expressscans run on limited resources and use a limited set of detectors to analyze your code in near-real time.Standardscans have standard resource limits and use the full set of detectors to analyze your code.tagsAn array of key-value pairs used to tag a scan. A tag is a custom attribute label with two parts:
A tag key. For example,
CostCenter,Environment, orSecret. Tag keys are case sensitive.An optional tag value field. For example,
111122223333,Production, or a team name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
Value¶
A list with the following syntax:
list(
resourceId = list(
codeArtifactId = "string"
),
runId = "string",
scanName = "string",
scanNameArn = "string",
scanState = "InProgress"|"Successful"|"Failed"
)