public sealed class UpgradeDistribution : IMessage<UpgradeDistribution>, IEquatable<UpgradeDistribution>, IDeepCloneable<UpgradeDistribution>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API 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.
Implements
IMessageUpgradeDistribution, IEquatableUpgradeDistribution, IDeepCloneableUpgradeDistribution, IBufferMessage, IMessageNamespace
GrafeasV1Assembly
Grafeas.V1.dll
Constructors
UpgradeDistribution()
public UpgradeDistribution()
UpgradeDistribution(UpgradeDistribution)
public UpgradeDistribution(UpgradeDistribution other)
Parameter | |
---|---|
Name | Description |
other | UpgradeDistribution |
Properties
Classification
public string Classification { get; set; }
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)
Property Value | |
---|---|
Type | Description |
string |
CpeUri
public string CpeUri { get; set; }
Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
Property Value | |
---|---|
Type | Description |
string |
Cve
public RepeatedField<string> Cve { get; }
The cve tied to this Upgrade.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Severity
public string Severity { get; set; }
The severity as specified by the upstream operating system.
Property Value | |
---|---|
Type | Description |
string |