Class Grafeas::V1::VulnerabilityOccurrence::PackageIssue (v0.3.1)

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#affected_cpe_uri

def affected_cpe_uri() -> ::String
Returns
  • (::String) — Required. The CPE URI this vulnerability was found in.

#affected_cpe_uri=

def affected_cpe_uri=(value) -> ::String
Parameter
  • value (::String) — Required. The CPE URI this vulnerability was found in.
Returns
  • (::String) — Required. The CPE URI this vulnerability was found in.

#affected_package

def affected_package() -> ::String
Returns
  • (::String) — Required. The package this vulnerability was found in.

#affected_package=

def affected_package=(value) -> ::String
Parameter
  • value (::String) — Required. The package this vulnerability was found in.
Returns
  • (::String) — Required. The package this vulnerability was found in.

#affected_version

def affected_version() -> ::Grafeas::V1::Version
Returns
  • (::Grafeas::V1::Version) — Required. The version of the package that is installed on the resource affected by this vulnerability.

#affected_version=

def affected_version=(value) -> ::Grafeas::V1::Version
Parameter
  • value (::Grafeas::V1::Version) — Required. The version of the package that is installed on the resource affected by this vulnerability.
Returns
  • (::Grafeas::V1::Version) — Required. The version of the package that is installed on the resource affected by this vulnerability.

#effective_severity

def effective_severity() -> ::Grafeas::V1::Severity
Returns
  • (::Grafeas::V1::Severity) — The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.

#fix_available

def fix_available() -> ::Boolean
Returns
  • (::Boolean) — Output only. Whether a fix is available for this package.

#fix_available=

def fix_available=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Output only. Whether a fix is available for this package.
Returns
  • (::Boolean) — Output only. Whether a fix is available for this package.

#fixed_cpe_uri

def fixed_cpe_uri() -> ::String
Returns
  • (::String) — The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

#fixed_cpe_uri=

def fixed_cpe_uri=(value) -> ::String
Parameter
  • value (::String) — The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
Returns
  • (::String) — The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

#fixed_package

def fixed_package() -> ::String
Returns
  • (::String) — The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

#fixed_package=

def fixed_package=(value) -> ::String
Parameter
  • value (::String) — The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
Returns
  • (::String) — The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

#fixed_version

def fixed_version() -> ::Grafeas::V1::Version
Returns
  • (::Grafeas::V1::Version) — Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

#fixed_version=

def fixed_version=(value) -> ::Grafeas::V1::Version
Parameter
  • value (::Grafeas::V1::Version) — Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
Returns
  • (::Grafeas::V1::Version) — Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

#package_type

def package_type() -> ::String
Returns
  • (::String) — The type of package (e.g. OS, MAVEN, GO).

#package_type=

def package_type=(value) -> ::String
Parameter
  • value (::String) — The type of package (e.g. OS, MAVEN, GO).
Returns
  • (::String) — The type of package (e.g. OS, MAVEN, GO).