public final class Vulnerability extends GeneratedMessage implements VulnerabilityOrBuilderA vulnerability.
Protobuf type google.backstory.Vulnerability
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > VulnerabilityImplements
VulnerabilityOrBuilderStatic Fields
ABOUT_FIELD_NUMBER
public static final int ABOUT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CVE_DESCRIPTION_FIELD_NUMBER
public static final int CVE_DESCRIPTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CVE_ID_FIELD_NUMBER
public static final int CVE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CVSS_BASE_SCORE_FIELD_NUMBER
public static final int CVSS_BASE_SCORE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CVSS_VECTOR_FIELD_NUMBER
public static final int CVSS_VECTOR_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CVSS_VERSION_FIELD_NUMBER
public static final int CVSS_VERSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FIRST_FOUND_FIELD_NUMBER
public static final int FIRST_FOUND_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_FOUND_FIELD_NUMBER
public static final int LAST_FOUND_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCAN_END_TIME_FIELD_NUMBER
public static final int SCAN_END_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCAN_START_TIME_FIELD_NUMBER
public static final int SCAN_START_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SEVERITY_DETAILS_FIELD_NUMBER
public static final int SEVERITY_DETAILS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VENDOR_FIELD_NUMBER
public static final int VENDOR_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VENDOR_KNOWLEDGE_BASE_ARTICLE_ID_FIELD_NUMBER
public static final int VENDOR_KNOWLEDGE_BASE_ARTICLE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VENDOR_VULNERABILITY_ID_FIELD_NUMBER
public static final int VENDOR_VULNERABILITY_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Vulnerability getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Vulnerability.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
newBuilder(Vulnerability prototype)
public static Vulnerability.Builder newBuilder(Vulnerability prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Vulnerability |
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
parseDelimitedFrom(InputStream input)
public static Vulnerability parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Vulnerability parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Vulnerability parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Vulnerability parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Vulnerability parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Vulnerability parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Vulnerability> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Vulnerability> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAbout()
public Noun getAbout()If the vulnerability is about a specific noun (e.g. executable), then add it here.
.google.backstory.Noun about = 1;
| Returns | |
|---|---|
| Type | Description |
Noun |
The about. |
getAboutOrBuilder()
public NounOrBuilder getAboutOrBuilder()If the vulnerability is about a specific noun (e.g. executable), then add it here.
.google.backstory.Noun about = 1;
| Returns | |
|---|---|
| Type | Description |
NounOrBuilder |
|
getCveDescription()
public String getCveDescription()Common Vulnerabilities and Exposures Description. https://cve.mitre.org/about/faqs.html#what_is_cve_record
string cve_description = 15;
| Returns | |
|---|---|
| Type | Description |
String |
The cveDescription. |
getCveDescriptionBytes()
public ByteString getCveDescriptionBytes()Common Vulnerabilities and Exposures Description. https://cve.mitre.org/about/faqs.html#what_is_cve_record
string cve_description = 15;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cveDescription. |
getCveId()
public String getCveId()Common Vulnerabilities and Exposures Id. https://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures https://cve.mitre.org/about/faqs.html#what_is_cve_id
string cve_id = 14;
| Returns | |
|---|---|
| Type | Description |
String |
The cveId. |
getCveIdBytes()
public ByteString getCveIdBytes()Common Vulnerabilities and Exposures Id. https://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures https://cve.mitre.org/about/faqs.html#what_is_cve_id
string cve_id = 14;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cveId. |
getCvssBaseScore()
public float getCvssBaseScore()CVSS Base Score in the range of 0.0 to 10.0. Useful for sorting.
float cvss_base_score = 10;
| Returns | |
|---|---|
| Type | Description |
float |
The cvssBaseScore. |
getCvssVector()
public String getCvssVector()Vector of CVSS properties (e.g. "AV:L/AC:H/Au:N/C:N/I:P/A:C") Can be linked to via: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator
string cvss_vector = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The cvssVector. |
getCvssVectorBytes()
public ByteString getCvssVectorBytes()Vector of CVSS properties (e.g. "AV:L/AC:H/Au:N/C:N/I:P/A:C") Can be linked to via: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator
string cvss_vector = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cvssVector. |
getCvssVersion()
public String getCvssVersion()Version of CVSS Vector/Score.
string cvss_version = 12;
| Returns | |
|---|---|
| Type | Description |
String |
The cvssVersion. |
getCvssVersionBytes()
public ByteString getCvssVersionBytes()Version of CVSS Vector/Score.
string cvss_version = 12;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cvssVersion. |
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Vulnerability |
|
getDescription()
public String getDescription()Description of the vulnerability.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the vulnerability.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getFirstFound()
public Timestamp getFirstFound()Products that maintain a history of vuln scans should populate first_found with the time that a scan first detected the vulnerability on this asset.
.google.protobuf.Timestamp first_found = 6;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The firstFound. |
getFirstFoundOrBuilder()
public TimestampOrBuilder getFirstFoundOrBuilder()Products that maintain a history of vuln scans should populate first_found with the time that a scan first detected the vulnerability on this asset.
.google.protobuf.Timestamp first_found = 6;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLastFound()
public Timestamp getLastFound()Products that maintain a history of vuln scans should populate last_found with the time that a scan last detected the vulnerability on this asset.
.google.protobuf.Timestamp last_found = 7;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastFound. |
getLastFoundOrBuilder()
public TimestampOrBuilder getLastFoundOrBuilder()Products that maintain a history of vuln scans should populate last_found with the time that a scan last detected the vulnerability on this asset.
.google.protobuf.Timestamp last_found = 7;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
public String getName()Name of the vulnerability (e.g. "Unsupported OS Version detected").
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name of the vulnerability (e.g. "Unsupported OS Version detected").
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<Vulnerability> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Vulnerability> |
|
getScanEndTime()
public Timestamp getScanEndTime()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan ended. This field can be left unset if the end time is not available or not applicable.
.google.protobuf.Timestamp scan_end_time = 5;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The scanEndTime. |
getScanEndTimeOrBuilder()
public TimestampOrBuilder getScanEndTimeOrBuilder()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan ended. This field can be left unset if the end time is not available or not applicable.
.google.protobuf.Timestamp scan_end_time = 5;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getScanStartTime()
public Timestamp getScanStartTime()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan started. This field can be left unset if the start time is not available or not applicable.
.google.protobuf.Timestamp scan_start_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The scanStartTime. |
getScanStartTimeOrBuilder()
public TimestampOrBuilder getScanStartTimeOrBuilder()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan started. This field can be left unset if the start time is not available or not applicable.
.google.protobuf.Timestamp scan_start_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSeverity()
public Vulnerability.Severity getSeverity()The severity of the vulnerability.
.google.backstory.Vulnerability.Severity severity = 8;
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Severity |
The severity. |
getSeverityDetails()
public String getSeverityDetails()Vendor-specific severity
string severity_details = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The severityDetails. |
getSeverityDetailsBytes()
public ByteString getSeverityDetailsBytes()Vendor-specific severity
string severity_details = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for severityDetails. |
getSeverityValue()
public int getSeverityValue()The severity of the vulnerability.
.google.backstory.Vulnerability.Severity severity = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for severity. |
getVendor()
public String getVendor()Vendor of scan that discovered vulnerability.
string vendor = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The vendor. |
getVendorBytes()
public ByteString getVendorBytes()Vendor of scan that discovered vulnerability.
string vendor = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vendor. |
getVendorKnowledgeBaseArticleId()
public String getVendorKnowledgeBaseArticleId()Vendor specific knowledge base article (e.g. "KBXXXXXX" from Microsoft). https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base https://access.redhat.com/knowledgebase
string vendor_knowledge_base_article_id = 17;
| Returns | |
|---|---|
| Type | Description |
String |
The vendorKnowledgeBaseArticleId. |
getVendorKnowledgeBaseArticleIdBytes()
public ByteString getVendorKnowledgeBaseArticleIdBytes()Vendor specific knowledge base article (e.g. "KBXXXXXX" from Microsoft). https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base https://access.redhat.com/knowledgebase
string vendor_knowledge_base_article_id = 17;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vendorKnowledgeBaseArticleId. |
getVendorVulnerabilityId()
public String getVendorVulnerabilityId()Vendor specific vulnerability id (e.g. Microsoft security bulletin id).
string vendor_vulnerability_id = 16;
| Returns | |
|---|---|
| Type | Description |
String |
The vendorVulnerabilityId. |
getVendorVulnerabilityIdBytes()
public ByteString getVendorVulnerabilityIdBytes()Vendor specific vulnerability id (e.g. Microsoft security bulletin id).
string vendor_vulnerability_id = 16;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vendorVulnerabilityId. |
hasAbout()
public boolean hasAbout()If the vulnerability is about a specific noun (e.g. executable), then add it here.
.google.backstory.Noun about = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the about field is set. |
hasFirstFound()
public boolean hasFirstFound()Products that maintain a history of vuln scans should populate first_found with the time that a scan first detected the vulnerability on this asset.
.google.protobuf.Timestamp first_found = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the firstFound field is set. |
hasLastFound()
public boolean hasLastFound()Products that maintain a history of vuln scans should populate last_found with the time that a scan last detected the vulnerability on this asset.
.google.protobuf.Timestamp last_found = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastFound field is set. |
hasScanEndTime()
public boolean hasScanEndTime()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan ended. This field can be left unset if the end time is not available or not applicable.
.google.protobuf.Timestamp scan_end_time = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scanEndTime field is set. |
hasScanStartTime()
public boolean hasScanStartTime()If the vulnerability was discovered during an asset scan, then this field should be populated with the time the scan started. This field can be left unset if the start time is not available or not applicable.
.google.protobuf.Timestamp scan_start_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scanStartTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Vulnerability.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Vulnerability.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
toBuilder()
public Vulnerability.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Vulnerability.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|