public sealed class VulnerabilityOccurrence : IMessage<VulnerabilityOccurrence>, IEquatable<VulnerabilityOccurrence>, IDeepCloneable<VulnerabilityOccurrence>, IBufferMessage, IMessageAn occurrence of a severity vulnerability on a resource.
Implements
IMessage<VulnerabilityOccurrence>, IEquatable<VulnerabilityOccurrence>, IDeepCloneable<VulnerabilityOccurrence>, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
VulnerabilityOccurrence()
public VulnerabilityOccurrence()VulnerabilityOccurrence(VulnerabilityOccurrence)
public VulnerabilityOccurrence(VulnerabilityOccurrence other)| Parameter | |
|---|---|
| Name | Description |
other |
VulnerabilityOccurrence |
Properties
CvssScore
public float CvssScore { get; set; }Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
| Property Value | |
|---|---|
| Type | Description |
Single |
|
EffectiveSeverity
public Severity EffectiveSeverity { get; set; }The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity.
| Property Value | |
|---|---|
| Type | Description |
Severity |
|
FixAvailable
public bool FixAvailable { get; set; }Output only. Whether at least one of the affected packages has a fix available.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
LongDescription
public string LongDescription { get; set; }Output only. A detailed description of this vulnerability.
| Property Value | |
|---|---|
| Type | Description |
String |
|
PackageIssue
public RepeatedField<VulnerabilityOccurrence.Types.PackageIssue> PackageIssue { get; }Required. The set of affected locations and their fixes (if available) within the associated resource.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<VulnerabilityOccurrence.Types.PackageIssue> |
|
RelatedUrls
public RepeatedField<RelatedUrl> RelatedUrls { get; }Output only. URLs related to this vulnerability.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<RelatedUrl> |
|
Severity
public Severity Severity { get; set; }Output only. The note provider assigned severity of this vulnerability.
| Property Value | |
|---|---|
| Type | Description |
Severity |
|
ShortDescription
public string ShortDescription { get; set; }Output only. A one sentence description of this vulnerability.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Type
public string Type { get; set; }The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
| Property Value | |
|---|---|
| Type | Description |
String |
|