Grafeas V1 API - Class Grafeas::V1::UpgradeDistribution (v1.0.0)

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

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#classification

def classification() -> ::String
Returns
  • (::String) — The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)

#classification=

def classification=(value) -> ::String
Parameter
  • value (::String) — The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
Returns
  • (::String) — The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)

#cpe_uri

def cpe_uri() -> ::String
Returns
  • (::String) — Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.

#cpe_uri=

def cpe_uri=(value) -> ::String
Parameter
  • value (::String) — Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
Returns
  • (::String) — Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.

#cve

def cve() -> ::Array<::String>
Returns
  • (::Array<::String>) — The cve tied to this Upgrade.

#cve=

def cve=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The cve tied to this Upgrade.
Returns
  • (::Array<::String>) — The cve tied to this Upgrade.

#severity

def severity() -> ::String
Returns
  • (::String) — The severity as specified by the upstream operating system.

#severity=

def severity=(value) -> ::String
Parameter
  • value (::String) — The severity as specified by the upstream operating system.
Returns
  • (::String) — The severity as specified by the upstream operating system.