Skip to content

VulnerabilityCodeVulnerabilities

Source code in docs_src/capo_securityhub/types/vulnerability_code_vulnerabilities.py
class VulnerabilityCodeVulnerabilities(TypedDict, closed=True):
    cwes: NotRequired["capo_securityhub.types.type_list.TypeList"]
    """<p> The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability. </p>"""
    file_path: NotRequired[
        "capo_securityhub.types.code_vulnerabilities_file_path.CodeVulnerabilitiesFilePath"
    ]
    """<p> Provides details about where a code vulnerability is located in your Lambda function. </p>"""
    source_arn: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located. </p>"""

cwes instance-attribute

cwes: NotRequired[TypeList]

The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.

file_path instance-attribute

file_path: NotRequired[CodeVulnerabilitiesFilePath]

Provides details about where a code vulnerability is located in your Lambda function.

source_arn instance-attribute

source_arn: NotRequired[NonEmptyString]

The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.