Skip to content

VulnerablePackage

Source code in docs_src/capo_imagebuilder/types/vulnerable_package.py
class VulnerablePackage(TypedDict, closed=True):
    name: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The name of the vulnerable package.</p>"""
    version: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The version of the vulnerable package.</p>"""
    source_layer_hash: NotRequired[
        "capo_imagebuilder.types.source_layer_hash.SourceLayerHash"
    ]
    """<p>The source layer hash of the vulnerable package.</p>"""
    epoch: NotRequired["capo_imagebuilder.types.package_epoch.PackageEpoch"]
    """<p>The epoch of the vulnerable package.</p>"""
    release: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The release of the vulnerable package.</p>"""
    arch: NotRequired[
        "capo_imagebuilder.types.package_architecture.PackageArchitecture"
    ]
    """<p>The architecture of the vulnerable package.</p>"""
    package_manager: NotRequired[
        "capo_imagebuilder.types.non_empty_string.NonEmptyString"
    ]
    """<p>The package manager of the vulnerable package.</p>"""
    file_path: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The file path of the vulnerable package.</p>"""
    fixed_in_version: NotRequired[
        "capo_imagebuilder.types.non_empty_string.NonEmptyString"
    ]
    """<p>The version of the package that contains the vulnerability fix.</p>"""
    remediation: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The code to run in your environment to update packages with a fix available.</p>"""

arch instance-attribute

arch: NotRequired[PackageArchitecture]

The architecture of the vulnerable package.

epoch instance-attribute

epoch: NotRequired[PackageEpoch]

The epoch of the vulnerable package.

file_path instance-attribute

file_path: NotRequired[NonEmptyString]

The file path of the vulnerable package.

fixed_in_version instance-attribute

fixed_in_version: NotRequired[NonEmptyString]

The version of the package that contains the vulnerability fix.

name instance-attribute

name: NotRequired[NonEmptyString]

The name of the vulnerable package.

package_manager instance-attribute

package_manager: NotRequired[NonEmptyString]

The package manager of the vulnerable package.

release instance-attribute

release: NotRequired[NonEmptyString]

The release of the vulnerable package.

remediation instance-attribute

remediation: NotRequired[NonEmptyString]

The code to run in your environment to update packages with a fix available.

source_layer_hash instance-attribute

source_layer_hash: NotRequired[SourceLayerHash]

The source layer hash of the vulnerable package.

version instance-attribute

version: NotRequired[NonEmptyString]

The version of the vulnerable package.