Skip to content

CodeVulnerabilityDetails

Source code in docs_src/capo_inspector2/types/code_vulnerability_details.py
class CodeVulnerabilityDetails(TypedDict, closed=True):
    file_path: "capo_inspector2.types.code_file_path.CodeFilePath"
    """<p>Contains information on where the code vulnerability is located in your code.</p>"""
    detector_tags: NotRequired[
        "capo_inspector2.types.detector_tag_list.DetectorTagList"
    ]
    """<p>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 <a href="https://docs.aws.amazon.com/codeguru/detector-library/java/tags/">Java tags</a>, or <a href="https://docs.aws.amazon.com/codeguru/detector-library/python/tags/">Python tags</a>. </p>"""
    reference_urls: NotRequired["capo_inspector2.types.reference_urls.ReferenceUrls"]
    """<p>A URL containing supporting documentation about the code vulnerability detected.</p>"""
    rule_id: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The identifier for a rule that was used to detect the code vulnerability.</p>"""
    source_lambda_layer_arn: NotRequired[
        "capo_inspector2.types.lambda_layer_arn.LambdaLayerArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.</p>"""
    detector_id: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see <a href="https://docs.aws.amazon.com/codeguru/detector-library">Amazon CodeGuru Detector Library</a>.</p>"""
    detector_name: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The name of the detector used to identify the code vulnerability. For more information on detectors see <a href="https://docs.aws.amazon.com/codeguru/detector-library">CodeGuru Detector Library</a>.</p>"""
    cwes: "capo_inspector2.types.cwe_list.CweList"
    """<p>The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.</p>"""

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.