Class VulnerabilityOccurrence.Types.PackageIssue (2.3.0)

public sealed class PackageIssue : IMessage<VulnerabilityOccurrence.Types.PackageIssue>, IEquatable<VulnerabilityOccurrence.Types.PackageIssue>, IDeepCloneable<VulnerabilityOccurrence.Types.PackageIssue>, IBufferMessage, IMessage

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Inheritance

Object > VulnerabilityOccurrence.Types.PackageIssue

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

PackageIssue()

public PackageIssue()

PackageIssue(VulnerabilityOccurrence.Types.PackageIssue)

public PackageIssue(VulnerabilityOccurrence.Types.PackageIssue other)
Parameter
NameDescription
otherVulnerabilityOccurrence.Types.PackageIssue

Properties

AffectedCpeUri

public string AffectedCpeUri { get; set; }

Required. The CPE URI this vulnerability was found in.

Property Value
TypeDescription
String

AffectedPackage

public string AffectedPackage { get; set; }

Required. The package this vulnerability was found in.

Property Value
TypeDescription
String

AffectedVersion

public Version AffectedVersion { get; set; }

Required. The version of the package that is installed on the resource affected by this vulnerability.

Property Value
TypeDescription
Version

FixAvailable

public bool FixAvailable { get; set; }

Output only. Whether a fix is available for this package.

Property Value
TypeDescription
Boolean

FixedCpeUri

public string FixedCpeUri { get; set; }

The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

Property Value
TypeDescription
String

FixedPackage

public string FixedPackage { get; set; }

The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

Property Value
TypeDescription
String

FixedVersion

public Version FixedVersion { get; set; }

Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

Property Value
TypeDescription
Version