PackageDetail

class oci.cloud_guard.models.PackageDetail(**kwargs)

Bases: object

details of package causing vulnerabilities

Methods:

__init__(**kwargs)

Initializes a new PackageDetail object with values from keyword arguments.

Attributes:

cause

Gets the cause of this PackageDetail.

location

Gets the location of this PackageDetail.

name

[Required] Gets the name of this PackageDetail.

package_type

[Required] Gets the package_type of this PackageDetail.

remediation

Gets the remediation of this PackageDetail.

version

[Required] Gets the version of this PackageDetail.

__init__(**kwargs)

Initializes a new PackageDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this PackageDetail.

  • package_type (str) – The value to assign to the package_type property of this PackageDetail.

  • version (str) – The value to assign to the version property of this PackageDetail.

  • cause (str) – The value to assign to the cause property of this PackageDetail.

  • location (str) – The value to assign to the location property of this PackageDetail.

  • remediation (str) – The value to assign to the remediation property of this PackageDetail.

property cause

Gets the cause of this PackageDetail. cause of the vulnerability in the package

Returns

The cause of this PackageDetail.

Return type

str

property location

Gets the location of this PackageDetail. location of the package

Returns

The location of this PackageDetail.

Return type

str

property name

[Required] Gets the name of this PackageDetail. name of the package

Returns

The name of this PackageDetail.

Return type

str

property package_type

[Required] Gets the package_type of this PackageDetail. type of the package

Returns

The package_type of this PackageDetail.

Return type

str

property remediation

Gets the remediation of this PackageDetail. remediation for vulnerability

Returns

The remediation of this PackageDetail.

Return type

str

property version

[Required] Gets the version of this PackageDetail. version of the package

Returns

The version of this PackageDetail.

Return type

str