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).
Implements
IMessage<VulnerabilityOccurrence.Types.PackageIssue>, IEquatable<VulnerabilityOccurrence.Types.PackageIssue>, IDeepCloneable<VulnerabilityOccurrence.Types.PackageIssue>, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
PackageIssue()
public PackageIssue()
PackageIssue(VulnerabilityOccurrence.Types.PackageIssue)
public PackageIssue(VulnerabilityOccurrence.Types.PackageIssue other)
Parameter | |
---|---|
Name | Description |
other | VulnerabilityOccurrence.Types.PackageIssue |
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 |
RepeatedField<FileLocation> |
FixAvailable
public bool FixAvailable { get; set; }
Output only. Whether a fix is available for this package.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
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 |