Package com.google.cloud.osconfig.v1
Interface VulnerabilityReport.Vulnerability.DetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VulnerabilityReport.Vulnerability.Details
,VulnerabilityReport.Vulnerability.Details.Builder
- Enclosing class:
- VulnerabilityReport.Vulnerability
public static interface VulnerabilityReport.Vulnerability.DetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCve()
The CVE of the vulnerability.com.google.protobuf.ByteString
getCveBytes()
The CVE of the vulnerability.float
getCvssV2Score()
The CVSS V2 score of this vulnerability.CVSSv3
getCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.CVSSv3OrBuilder
getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability from NVD.String
getDescription()
The note or description describing the vulnerability from the distro.com.google.protobuf.ByteString
getDescriptionBytes()
The note or description describing the vulnerability from the distro.VulnerabilityReport.Vulnerability.Details.Reference
getReferences(int index)
Corresponds to the references attached to the `VulnerabilityDetails`.int
getReferencesCount()
Corresponds to the references attached to the `VulnerabilityDetails`.List<VulnerabilityReport.Vulnerability.Details.Reference>
getReferencesList()
Corresponds to the references attached to the `VulnerabilityDetails`.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder
getReferencesOrBuilder(int index)
Corresponds to the references attached to the `VulnerabilityDetails`.List<? extends VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>
getReferencesOrBuilderList()
Corresponds to the references attached to the `VulnerabilityDetails`.String
getSeverity()
Assigned severity/impact ranking from the distro.com.google.protobuf.ByteString
getSeverityBytes()
Assigned severity/impact ranking from the distro.boolean
hasCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCve
String getCve()
The CVE of the vulnerability. CVE cannot be empty and the combination of <cve, classification> should be unique across vulnerabilities for a VM.
string cve = 1;
- Returns:
- The cve.
-
getCveBytes
com.google.protobuf.ByteString getCveBytes()
The CVE of the vulnerability. CVE cannot be empty and the combination of <cve, classification> should be unique across vulnerabilities for a VM.
string cve = 1;
- Returns:
- The bytes for cve.
-
getCvssV2Score
float getCvssV2Score()
The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
float cvss_v2_score = 2;
- Returns:
- The cvssV2Score.
-
hasCvssV3
boolean hasCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
- Returns:
- Whether the cvssV3 field is set.
-
getCvssV3
CVSSv3 getCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
- Returns:
- The cvssV3.
-
getCvssV3OrBuilder
CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
-
getSeverity
String getSeverity()
Assigned severity/impact ranking from the distro.
string severity = 4;
- Returns:
- The severity.
-
getSeverityBytes
com.google.protobuf.ByteString getSeverityBytes()
Assigned severity/impact ranking from the distro.
string severity = 4;
- Returns:
- The bytes for severity.
-
getDescription
String getDescription()
The note or description describing the vulnerability from the distro.
string description = 5;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The note or description describing the vulnerability from the distro.
string description = 5;
- Returns:
- The bytes for description.
-
getReferencesList
List<VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList()
Corresponds to the references attached to the `VulnerabilityDetails`.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
-
getReferences
VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index)
Corresponds to the references attached to the `VulnerabilityDetails`.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
-
getReferencesCount
int getReferencesCount()
Corresponds to the references attached to the `VulnerabilityDetails`.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
-
getReferencesOrBuilderList
List<? extends VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesOrBuilderList()
Corresponds to the references attached to the `VulnerabilityDetails`.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
-
getReferencesOrBuilder
VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder(int index)
Corresponds to the references attached to the `VulnerabilityDetails`.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
-
-