Reference documentation and code samples for the Grafeas V1 Client class 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.
Generated from protobuf message grafeas.v1.UpgradeDistribution
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cpe_uri
string
Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/ .
↳ classification
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 )
↳ severity
string
The severity as specified by the upstream operating system.
↳ cve
array
The cve tied to this Upgrade.
getCpeUri
Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/ .
string
setCpeUri
Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/ .
var
string
$this
getClassification
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 )
string
setClassification
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 )
var
string
$this
getSeverity
The severity as specified by the upstream operating system.
string
setSeverity
The severity as specified by the upstream operating system.
var
string
$this
getCve
The cve tied to this Upgrade.
setCve
The cve tied to this Upgrade.
var
string[]
$this