Skip to content

Vulnerability

Source code in docs_src/capo_codeguru_security/types/vulnerability.py
class Vulnerability(TypedDict, closed=True):
    reference_urls: NotRequired[
        "capo_codeguru_security.types.reference_urls.ReferenceUrls"
    ]
    """<p>One or more URL addresses that contain details about a vulnerability.</p>"""
    related_vulnerabilities: NotRequired[
        "capo_codeguru_security.types.related_vulnerabilities.RelatedVulnerabilities"
    ]
    """<p>One or more vulnerabilities that are related to the vulnerability being described.</p>"""
    id: NotRequired["str"]
    """<p>The identifier for the vulnerability.</p>"""
    file_path: NotRequired["capo_codeguru_security.types.file_path.FilePath"]
    """<p> An object that describes the location of the detected security vulnerability in your code.</p>"""
    item_count: NotRequired["int"]
    """<p>The number of times the vulnerability appears in your code.</p>"""

file_path instance-attribute

file_path: NotRequired[FilePath]

An object that describes the location of the detected security vulnerability in your code.

id instance-attribute

id: NotRequired[str]

The identifier for the vulnerability.

item_count instance-attribute

item_count: NotRequired[int]

The number of times the vulnerability appears in your code.

reference_urls instance-attribute

reference_urls: NotRequired[ReferenceUrls]

One or more URL addresses that contain details about a vulnerability.

related_vulnerabilities instance-attribute

related_vulnerabilities: NotRequired[RelatedVulnerabilities]

One or more vulnerabilities that are related to the vulnerability being described.