Skip to content

VulnerablePackage

Source code in docs_src/capo_inspector2/types/vulnerable_package.py
class VulnerablePackage(TypedDict, closed=True):
    name: "capo_inspector2.types.package_name.PackageName"
    """<p>The name of the vulnerable package.</p>"""
    version: "capo_inspector2.types.package_version.PackageVersion"
    """<p>The version of the vulnerable package.</p>"""
    source_layer_hash: NotRequired[
        "capo_inspector2.types.source_layer_hash.SourceLayerHash"
    ]
    """<p>The source layer hash of the vulnerable package.</p>"""
    epoch: "capo_inspector2.types.package_epoch.PackageEpoch"
    """<p>The epoch of the vulnerable package.</p>"""
    release: NotRequired["capo_inspector2.types.package_release.PackageRelease"]
    """<p>The release of the vulnerable package.</p>"""
    arch: NotRequired["capo_inspector2.types.package_architecture.PackageArchitecture"]
    """<p>The architecture of the vulnerable package.</p>"""
    package_manager: NotRequired["capo_inspector2.types.package_manager.PackageManager"]
    """<p>The package manager of the vulnerable package.</p>"""
    file_path: NotRequired["capo_inspector2.types.file_path.FilePath"]
    """<p>The file path of the vulnerable package.</p>"""
    fixed_in_version: NotRequired[
        "capo_inspector2.types.package_version.PackageVersion"
    ]
    """<p>The version of the package that contains the vulnerability fix.</p>"""
    remediation: NotRequired[
        "capo_inspector2.types.vulnerable_package_remediation.VulnerablePackageRemediation"
    ]
    """<p>The code to run in your environment to update packages with a fix available.</p>"""
    source_lambda_layer_arn: NotRequired[
        "capo_inspector2.types.lambda_layer_arn.LambdaLayerArn"
    ]
    """<p>The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.</p>"""

arch instance-attribute

arch: NotRequired[PackageArchitecture]

The architecture of the vulnerable package.

epoch instance-attribute

epoch: PackageEpoch

The epoch of the vulnerable package.

file_path instance-attribute

file_path: NotRequired[FilePath]

The file path of the vulnerable package.

fixed_in_version instance-attribute

fixed_in_version: NotRequired[PackageVersion]

The version of the package that contains the vulnerability fix.

name instance-attribute

The name of the vulnerable package.

package_manager instance-attribute

package_manager: NotRequired[PackageManager]

The package manager of the vulnerable package.

release instance-attribute

release: NotRequired[PackageRelease]

The release of the vulnerable package.

remediation instance-attribute

remediation: NotRequired[VulnerablePackageRemediation]

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

source_lambda_layer_arn instance-attribute

source_lambda_layer_arn: NotRequired[LambdaLayerArn]

The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.

source_layer_hash instance-attribute

source_layer_hash: NotRequired[SourceLayerHash]

The source layer hash of the vulnerable package.

version instance-attribute

version: PackageVersion

The version of the vulnerable package.