Grafeas V1 API - Class Grafeas::V1::VulnerabilityNote::Detail (v0.6.0)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::VulnerabilityNote::Detail.

A detail for a distro and package affected by this vulnerability 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 affects.

#affected_cpe_uri=

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

#affected_package

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

#affected_package=

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

#affected_version_end

def affected_version_end() -> ::Grafeas::V1::Version
Returns
  • (::Grafeas::V1::Version) — The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

#affected_version_end=

def affected_version_end=(value) -> ::Grafeas::V1::Version
Parameter
  • value (::Grafeas::V1::Version) — The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
Returns
  • (::Grafeas::V1::Version) — The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

#affected_version_start

def affected_version_start() -> ::Grafeas::V1::Version
Returns
  • (::Grafeas::V1::Version) — The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

#affected_version_start=

def affected_version_start=(value) -> ::Grafeas::V1::Version
Parameter
  • value (::Grafeas::V1::Version) — The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
Returns
  • (::Grafeas::V1::Version) — The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

#description

def description() -> ::String
Returns
  • (::String) — A vendor-specific description of this vulnerability.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A vendor-specific description of this vulnerability.
Returns
  • (::String) — A vendor-specific description of this vulnerability.

#fixed_cpe_uri

def fixed_cpe_uri() -> ::String
Returns
  • (::String) — The distro recommended CPE URI to update to that contains a fix for this vulnerability. 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 distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
Returns
  • (::String) — The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.

#fixed_package

def fixed_package() -> ::String
Returns
  • (::String) — The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.

#fixed_package=

def fixed_package=(value) -> ::String
Parameter
  • value (::String) — The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
Returns
  • (::String) — The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.

#fixed_version

def fixed_version() -> ::Grafeas::V1::Version
Returns
  • (::Grafeas::V1::Version) — The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.

#fixed_version=

def fixed_version=(value) -> ::Grafeas::V1::Version
Parameter
  • value (::Grafeas::V1::Version) — The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
Returns
  • (::Grafeas::V1::Version) — The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.

#is_obsolete

def is_obsolete() -> ::Boolean
Returns
  • (::Boolean) — Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.

#is_obsolete=

def is_obsolete=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
Returns
  • (::Boolean) — Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.

#package_type

def package_type() -> ::String
Returns
  • (::String) — The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

#package_type=

def package_type=(value) -> ::String
Parameter
  • value (::String) — The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
Returns
  • (::String) — The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

#severity_name

def severity_name() -> ::String
Returns
  • (::String) — The distro assigned severity of this vulnerability.

#severity_name=

def severity_name=(value) -> ::String
Parameter
  • value (::String) — The distro assigned severity of this vulnerability.
Returns
  • (::String) — The distro assigned severity of this vulnerability.

#source

def source() -> ::String
Returns
  • (::String) — The source from which the information in this Detail was obtained.

#source=

def source=(value) -> ::String
Parameter
  • value (::String) — The source from which the information in this Detail was obtained.
Returns
  • (::String) — The source from which the information in this Detail was obtained.

#source_update_time

def source_update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

#source_update_time=

def source_update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
Returns
  • (::Google::Protobuf::Timestamp) — The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

#vendor

def vendor() -> ::String
Returns
  • (::String) — The name of the vendor of the product.

#vendor=

def vendor=(value) -> ::String
Parameter
  • value (::String) — The name of the vendor of the product.
Returns
  • (::String) — The name of the vendor of the product.