CodeVulnerabilityDetails
¶
Source code in docs_src/capo_inspector2/types/code_vulnerability_details.py
cwes
instance-attribute
¶
cwes: CweList
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
detector_id
instance-attribute
¶
detector_id: NonEmptyString
The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru Detector Library.
detector_name
instance-attribute
¶
detector_name: NonEmptyString
The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.
detector_tags
instance-attribute
¶
detector_tags: NotRequired[DetectorTagList]
The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.
file_path
instance-attribute
¶
file_path: CodeFilePath
Contains information on where the code vulnerability is located in your code.
reference_urls
instance-attribute
¶
reference_urls: NotRequired[ReferenceUrls]
A URL containing supporting documentation about the code vulnerability detected.
rule_id
instance-attribute
¶
rule_id: NotRequired[NonEmptyString]
The identifier for a rule that was used to detect the code vulnerability.
source_lambda_layer_arn
instance-attribute
¶
source_lambda_layer_arn: NotRequired[LambdaLayerArn]
The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.