Package io.grafeas.v1beta1.vulnerability
Interface DetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Details
,Details.Builder
public interface DetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.String
getLongDescription()
Output only.com.google.protobuf.ByteString
getLongDescriptionBytes()
Output only.PackageIssue
getPackageIssue(int index)
Required.int
getPackageIssueCount()
Required.List<PackageIssue>
getPackageIssueList()
Required.PackageIssueOrBuilder
getPackageIssueOrBuilder(int index)
Required.List<? extends 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.com.google.protobuf.ByteString
getShortDescriptionBytes()
Output only.String
getType()
The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.ByteString
getTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc)-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getType
String getType()
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;
- Returns:
- The bytes for type.
-
getSeverityValue
int getSeverityValue()
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Severity getSeverity()
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
- Returns:
- The severity.
-
getCvssScore
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;
- Returns:
- The cvssScore.
-
getPackageIssueList
List<PackageIssue> getPackageIssueList()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
-
getPackageIssue
PackageIssue getPackageIssue(int index)
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
-
getPackageIssueCount
int getPackageIssueCount()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
-
getPackageIssueOrBuilderList
List<? extends PackageIssueOrBuilder> getPackageIssueOrBuilderList()
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
-
getPackageIssueOrBuilder
PackageIssueOrBuilder getPackageIssueOrBuilder(int index)
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
-
getShortDescription
String getShortDescription()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
- Returns:
- The shortDescription.
-
getShortDescriptionBytes
com.google.protobuf.ByteString getShortDescriptionBytes()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
- Returns:
- The bytes for shortDescription.
-
getLongDescription
String getLongDescription()
Output only. A detailed description of this vulnerability.
string long_description = 6;
- Returns:
- The longDescription.
-
getLongDescriptionBytes
com.google.protobuf.ByteString getLongDescriptionBytes()
Output only. A detailed description of this vulnerability.
string long_description = 6;
- Returns:
- The bytes for longDescription.
-
getRelatedUrlsList
List<RelatedUrl> getRelatedUrlsList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
-
getRelatedUrls
RelatedUrl getRelatedUrls(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
-
getRelatedUrlsCount
int getRelatedUrlsCount()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
-
getRelatedUrlsOrBuilderList
List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
-
getRelatedUrlsOrBuilder
RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
-
getEffectiveSeverityValue
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.v1beta1.vulnerability.Severity effective_severity = 8;
- Returns:
- The enum numeric value on the wire for effectiveSeverity.
-
getEffectiveSeverity
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.v1beta1.vulnerability.Severity effective_severity = 8;
- Returns:
- The effectiveSeverity.
-
-