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
Name Description
other VulnerabilityOccurrenceTypesPackageIssue

Properties

AffectedCpeUri

public string AffectedCpeUri { get; set; }

Required. The CPE URI this vulnerability was found in.

Property Value
Type Description
string

AffectedPackage

public string AffectedPackage { get; set; }

Required. The package this vulnerability was found in.

Property Value
Type Description
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
Type Description
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
Type Description
Severity

FileLocation

public RepeatedField<FileLocation> FileLocation { get; }

The location at which this package was found.

Property Value
Type Description
RepeatedFieldFileLocation

FixAvailable

public bool FixAvailable { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
Version

PackageType

public string PackageType { get; set; }

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

Property Value
Type Description
string