Package io.grafeas.v1beta1.vulnerability
Interface VulnerabilityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Vulnerability
,Vulnerability.Builder
public interface VulnerabilityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getCvssScore()
The CVSS score for this vulnerability.CVSSv3
getCvssV3()
The full description of the CVSSv3.CVSSv3OrBuilder
getCvssV3OrBuilder()
The full description of the CVSSv3.Vulnerability.Detail
getDetails(int index)
All information about the package to specifically identify this vulnerability.int
getDetailsCount()
All information about the package to specifically identify this vulnerability.List<Vulnerability.Detail>
getDetailsList()
All information about the package to specifically identify this vulnerability.Vulnerability.DetailOrBuilder
getDetailsOrBuilder(int index)
All information about the package to specifically identify this vulnerability.List<? extends Vulnerability.DetailOrBuilder>
getDetailsOrBuilderList()
All information about the package to specifically identify this vulnerability.Severity
getSeverity()
Note provider assigned impact of the vulnerability.int
getSeverityValue()
Note provider assigned impact of the vulnerability.com.google.protobuf.Timestamp
getSourceUpdateTime()
The time this information was last changed at the source.com.google.protobuf.TimestampOrBuilder
getSourceUpdateTimeOrBuilder()
The time this information was last changed at the source.Vulnerability.WindowsDetail
getWindowsDetails(int index)
Windows details get their own format because the information format and model don't match a normal detail.int
getWindowsDetailsCount()
Windows details get their own format because the information format and model don't match a normal detail.List<Vulnerability.WindowsDetail>
getWindowsDetailsList()
Windows details get their own format because the information format and model don't match a normal detail.Vulnerability.WindowsDetailOrBuilder
getWindowsDetailsOrBuilder(int index)
Windows details get their own format because the information format and model don't match a normal detail.List<? extends Vulnerability.WindowsDetailOrBuilder>
getWindowsDetailsOrBuilderList()
Windows details get their own format because the information format and model don't match a normal detail.boolean
hasCvssV3()
The full description of the CVSSv3.boolean
hasSourceUpdateTime()
The time this information was last changed at the source.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCvssScore
float getCvssScore()
The CVSS score for this vulnerability.
float cvss_score = 1;
- Returns:
- The cvssScore.
-
getSeverityValue
int getSeverityValue()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Severity getSeverity()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
- Returns:
- The severity.
-
getDetailsList
List<Vulnerability.Detail> getDetailsList()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
-
getDetails
Vulnerability.Detail getDetails(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
-
getDetailsCount
int getDetailsCount()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
-
getDetailsOrBuilderList
List<? extends Vulnerability.DetailOrBuilder> getDetailsOrBuilderList()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
-
getDetailsOrBuilder
Vulnerability.DetailOrBuilder getDetailsOrBuilder(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
-
hasCvssV3
boolean hasCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
- Returns:
- Whether the cvssV3 field is set.
-
getCvssV3
CVSSv3 getCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
- Returns:
- The cvssV3.
-
getCvssV3OrBuilder
CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
-
getWindowsDetailsList
List<Vulnerability.WindowsDetail> getWindowsDetailsList()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
-
getWindowsDetails
Vulnerability.WindowsDetail getWindowsDetails(int index)
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
-
getWindowsDetailsCount
int getWindowsDetailsCount()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
-
getWindowsDetailsOrBuilderList
List<? extends Vulnerability.WindowsDetailOrBuilder> getWindowsDetailsOrBuilderList()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
-
getWindowsDetailsOrBuilder
Vulnerability.WindowsDetailOrBuilder getWindowsDetailsOrBuilder(int index)
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
-
hasSourceUpdateTime
boolean hasSourceUpdateTime()
The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;
- Returns:
- Whether the sourceUpdateTime field is set.
-
getSourceUpdateTime
com.google.protobuf.Timestamp getSourceUpdateTime()
The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;
- Returns:
- The sourceUpdateTime.
-
getSourceUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSourceUpdateTimeOrBuilder()
The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;
-
-