public interface VulnerabilityOccurrenceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
float |
getCvssScore()
Output only.
|
Severity |
getEffectiveSeverity()
The distro assigned severity for this vulnerability when it is available,
and note provider assigned severity when distro has not yet assigned a
severity for this vulnerability.
|
int |
getEffectiveSeverityValue()
The distro assigned severity for this vulnerability when it is available,
and note provider assigned severity when distro has not yet assigned a
severity for this vulnerability.
|
boolean |
getFixAvailable()
Output only.
|
String |
getLongDescription()
Output only.
|
ByteString |
getLongDescriptionBytes()
Output only.
|
VulnerabilityOccurrence.PackageIssue |
getPackageIssue(int index)
Required.
|
int |
getPackageIssueCount()
Required.
|
List<VulnerabilityOccurrence.PackageIssue> |
getPackageIssueList()
Required.
|
VulnerabilityOccurrence.PackageIssueOrBuilder |
getPackageIssueOrBuilder(int index)
Required.
|
List<? extends VulnerabilityOccurrence.PackageIssueOrBuilder> |
getPackageIssueOrBuilderList()
Required.
|
RelatedUrl |
getRelatedUrls(int index)
Output only.
|
int |
getRelatedUrlsCount()
Output only.
|
List<RelatedUrl> |
getRelatedUrlsList()
Output only.
|
RelatedUrlOrBuilder |
getRelatedUrlsOrBuilder(int index)
Output only.
|
List<? extends RelatedUrlOrBuilder> |
getRelatedUrlsOrBuilderList()
Output only.
|
Severity |
getSeverity()
Output only.
|
int |
getSeverityValue()
Output only.
|
String |
getShortDescription()
Output only.
|
ByteString |
getShortDescriptionBytes()
Output only.
|
String |
getType()
The type of package; whether native or non native (e.g., ruby gems, node.js
packages, etc.).
|
ByteString |
getTypeBytes()
The type of package; whether native or non native (e.g., ruby gems, node.js
packages, etc.).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getType()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string type = 1;
ByteString getTypeBytes()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string type = 1;
int getSeverityValue()
Output only. The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Severity getSeverity()
Output only. The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
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;
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;
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;
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;
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;
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;
String getShortDescription()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
ByteString getShortDescriptionBytes()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
String getLongDescription()
Output only. A detailed description of this vulnerability.
string long_description = 6;
ByteString getLongDescriptionBytes()
Output only. A detailed description of this vulnerability.
string long_description = 6;
List<RelatedUrl> getRelatedUrlsList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
RelatedUrl getRelatedUrls(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
int getRelatedUrlsCount()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1.RelatedUrl related_urls = 7;
int getEffectiveSeverityValue()
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1.Severity effective_severity = 8;
Severity getEffectiveSeverity()
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1.Severity effective_severity = 8;
boolean getFixAvailable()
Output only. Whether at least one of the affected packages has a fix available.
bool fix_available = 9;
Copyright © 2019 Google LLC. All rights reserved.