Grafeas v1 API - Class VulnerabilityOccurrence.Types.PackageIssue (3.6.0)

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

Reference documentation and code samples for the Grafeas v1 API class VulnerabilityOccurrence.Types.PackageIssue.

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(PackageIssue)

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

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

EffectiveSeverity

public Severity EffectiveSeverity { get; set; }

The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.

Property Value
TypeDescription
Severity

FileLocation

public RepeatedField<FileLocation> FileLocation { get; }

The location at which this package was found.

Property Value
TypeDescription
RepeatedFieldFileLocation

FixAvailable

public bool FixAvailable { get; set; }

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

Property Value
TypeDescription
bool

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

PackageType

public string PackageType { get; set; }

The type of package (e.g. OS, MAVEN, GO).

Property Value
TypeDescription
string