Grafeas V1 Client - Class UpgradeDistribution (0.10.3)

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

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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/ .

Returns
Type
Description
string

setCpeUri

Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/ .

Parameter
Name
Description
var
string
Returns
Type
Description
$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 )

Returns
Type
Description
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 )

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSeverity

The severity as specified by the upstream operating system.

Returns
Type
Description
string

setSeverity

The severity as specified by the upstream operating system.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCve

The cve tied to this Upgrade.

Returns
Type
Description

setCve

The cve tied to this Upgrade.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: