Skip to content

CodeVulnerabilitiesFilePath

Source code in docs_src/capo_securityhub/types/code_vulnerabilities_file_path.py
class CodeVulnerabilitiesFilePath(TypedDict, closed=True):
    end_line: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p> The line number of the last line of code in which the vulnerability is located. </p>"""
    file_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> The name of the file in which the code vulnerability is located. </p>"""
    file_path: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p> The file path to the code in which the vulnerability is located. </p>"""
    start_line: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p> The line number of the first line of code in which the vulnerability is located. </p>"""

end_line instance-attribute

end_line: NotRequired[Integer]

The line number of the last line of code in which the vulnerability is located.

file_name instance-attribute

file_name: NotRequired[NonEmptyString]

The name of the file in which the code vulnerability is located.

file_path instance-attribute

file_path: NotRequired[NonEmptyString]

The file path to the code in which the vulnerability is located.

start_line instance-attribute

start_line: NotRequired[Integer]

The line number of the first line of code in which the vulnerability is located.