CreateScanRequest
¶
Source code in docs_src/capo_codeguru_security/types/create_scan_request.py
analysis_type
instance-attribute
¶
analysis_type: NotRequired[AnalysisType]
The type of analysis you want CodeGuru Security to perform in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings. Defaults to Security type if missing.
client_token
instance-attribute
¶
client_token: NotRequired[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.
resource_id
instance-attribute
¶
resource_id: ResourceId
The identifier for the resource object to be scanned.
scan_name
instance-attribute
¶
scan_name: ScanName
The unique name that CodeGuru Security uses to track revisions across multiple scans of the same resource. Only allowed for a STANDARD scan type.
scan_type
instance-attribute
¶
scan_type: NotRequired[ScanType]
The type of scan, either Standard or Express. Defaults to Standard type if missing.
Express scans run on limited resources and use a limited set of detectors to analyze your code in near-real time. Standard scans have standard resource limits and use the full set of detectors to analyze your code.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
An 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.