- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public interface VulnerabilityOccurrenceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCvssScore()
public abstract float getCvssScore()
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.
float cvss_score = 3;
Type | Description |
float | The cvssScore. |
getCvssv3()
public abstract CVSS getCvssv3()
The cvss v3 score for the vulnerability.
.grafeas.v1.CVSS cvssv3 = 10;
Type | Description |
CVSS | The cvssv3. |
getCvssv3OrBuilder()
public abstract CVSSOrBuilder getCvssv3OrBuilder()
The cvss v3 score for the vulnerability.
.grafeas.v1.CVSS cvssv3 = 10;
Type | Description |
CVSSOrBuilder |
getEffectiveSeverity()
public abstract Severity getEffectiveSeverity()
The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
.grafeas.v1.Severity effective_severity = 8;
Type | Description |
Severity | The effectiveSeverity. |
getEffectiveSeverityValue()
public abstract int getEffectiveSeverityValue()
The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
.grafeas.v1.Severity effective_severity = 8;
Type | Description |
int | The enum numeric value on the wire for effectiveSeverity. |
getFixAvailable()
public abstract boolean getFixAvailable()
Output only. Whether at least one of the affected packages has a fix available.
bool fix_available = 9;
Type | Description |
boolean | The fixAvailable. |
getLongDescription()
public abstract String getLongDescription()
Output only. A detailed description of this vulnerability.
string long_description = 6;
Type | Description |
String | The longDescription. |
getLongDescriptionBytes()
public abstract ByteString getLongDescriptionBytes()
Output only. A detailed description of this vulnerability.
string long_description = 6;
Type | Description |
ByteString | The bytes for longDescription. |
getPackageIssue(int index)
public abstract VulnerabilityOccurrence.PackageIssue getPackageIssue(int index)
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1.VulnerabilityOccurrence.PackageIssue package_issue = 4;
Name | Description |
index | int |
Type | Description |
VulnerabilityOccurrence.PackageIssue |
getPackageIssueCount()
public abstract int getPackageIssueCount()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1.VulnerabilityOccurrence.PackageIssue package_issue = 4;
Type | Description |
int |
getPackageIssueList()
public abstract List<VulnerabilityOccurrence.PackageIssue> getPackageIssueList()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1.VulnerabilityOccurrence.PackageIssue package_issue = 4;
Type | Description |
List<PackageIssue> |
getPackageIssueOrBuilder(int index)
public abstract VulnerabilityOccurrence.PackageIssueOrBuilder getPackageIssueOrBuilder(int index)
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1.VulnerabilityOccurrence.PackageIssue package_issue = 4;
Name | Description |
index | int |
Type | Description |
VulnerabilityOccurrence.PackageIssueOrBuilder |
getPackageIssueOrBuilderList()
public abstract List<? extends VulnerabilityOccurrence.PackageIssueOrBuilder> getPackageIssueOrBuilderList()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1.VulnerabilityOccurrence.PackageIssue package_issue = 4;
Type | Description |
List<? extends io.grafeas.v1.VulnerabilityOccurrence.PackageIssueOrBuilder> |
getRelatedUrls(int index)
public abstract RelatedUrl getRelatedUrls(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
Name | Description |
index | int |
Type | Description |
RelatedUrl |
getRelatedUrlsCount()
public abstract int getRelatedUrlsCount()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
Type | Description |
int |
getRelatedUrlsList()
public abstract List<RelatedUrl> getRelatedUrlsList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
Type | Description |
List<RelatedUrl> |
getRelatedUrlsOrBuilder(int index)
public abstract RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
Name | Description |
index | int |
Type | Description |
RelatedUrlOrBuilder |
getRelatedUrlsOrBuilderList()
public abstract List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
Type | Description |
List<? extends io.grafeas.v1.RelatedUrlOrBuilder> |
getSeverity()
public abstract Severity getSeverity()
Output only. The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Type | Description |
Severity | The severity. |
getSeverityValue()
public abstract int getSeverityValue()
Output only. The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Type | Description |
int | The enum numeric value on the wire for severity. |
getShortDescription()
public abstract String getShortDescription()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
Type | Description |
String | The shortDescription. |
getShortDescriptionBytes()
public abstract ByteString getShortDescriptionBytes()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
Type | Description |
ByteString | The bytes for shortDescription. |
getType()
public abstract String getType()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string type = 1;
Type | Description |
String | The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string type = 1;
Type | Description |
ByteString | The bytes for type. |
hasCvssv3()
public abstract boolean hasCvssv3()
The cvss v3 score for the vulnerability.
.grafeas.v1.CVSS cvssv3 = 10;
Type | Description |
boolean | Whether the cvssv3 field is set. |