Interface VulnerabilityOrBuilder (0.3.0)

public interface VulnerabilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAbout()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract String getCveId()
Returns
Type Description
String

The cveId.

getCveIdBytes()

public abstract ByteString getCveIdBytes()
Returns
Type Description
ByteString

The bytes for cveId.

getCvssBaseScore()

public abstract 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 abstract 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 abstract 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 abstract String getCvssVersion()

Version of CVSS Vector/Score.

string cvss_version = 12;

Returns
Type Description
String

The cvssVersion.

getCvssVersionBytes()

public abstract ByteString getCvssVersionBytes()

Version of CVSS Vector/Score.

string cvss_version = 12;

Returns
Type Description
ByteString

The bytes for cvssVersion.

getDescription()

public abstract String getDescription()

Description of the vulnerability.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the vulnerability.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getFirstFound()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract String getName()

Name of the vulnerability (e.g. "Unsupported OS Version detected").

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the vulnerability (e.g. "Unsupported OS Version detected").

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getScanEndTime()

public abstract 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 abstract 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 abstract 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 abstract 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

getSeverity()

public abstract Vulnerability.Severity getSeverity()

The severity of the vulnerability.

.google.backstory.Vulnerability.Severity severity = 8;

Returns
Type Description
Vulnerability.Severity

The severity.

getSeverityDetails()

public abstract String getSeverityDetails()

Vendor-specific severity

string severity_details = 9;

Returns
Type Description
String

The severityDetails.

getSeverityDetailsBytes()

public abstract ByteString getSeverityDetailsBytes()

Vendor-specific severity

string severity_details = 9;

Returns
Type Description
ByteString

The bytes for severityDetails.

getSeverityValue()

public abstract 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 abstract String getVendor()

Vendor of scan that discovered vulnerability.

string vendor = 13;

Returns
Type Description
String

The vendor.

getVendorBytes()

public abstract ByteString getVendorBytes()

Vendor of scan that discovered vulnerability.

string vendor = 13;

Returns
Type Description
ByteString

The bytes for vendor.

getVendorKnowledgeBaseArticleId()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.