Chronicle V1 API - Class Google::Backstory::Vulnerability (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Vulnerability.

A vulnerability.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#about

def about() -> ::Google::Backstory::Noun
Returns

#about=

def about=(value) -> ::Google::Backstory::Noun
Parameter
Returns

#cve_description

def cve_description() -> ::String
Returns

#cve_description=

def cve_description=(value) -> ::String
Parameter
Returns

#cve_id

def cve_id() -> ::String

#cve_id=

def cve_id=(value) -> ::String

#cvss_base_score

def cvss_base_score() -> ::Float
Returns
  • (::Float) — CVSS Base Score in the range of 0.0 to 10.0. Useful for sorting.

#cvss_base_score=

def cvss_base_score=(value) -> ::Float
Parameter
  • value (::Float) — CVSS Base Score in the range of 0.0 to 10.0. Useful for sorting.
Returns
  • (::Float) — CVSS Base Score in the range of 0.0 to 10.0. Useful for sorting.

#cvss_vector

def cvss_vector() -> ::String
Returns

#cvss_vector=

def cvss_vector=(value) -> ::String
Parameter
Returns

#cvss_version

def cvss_version() -> ::String
Returns
  • (::String) — Version of CVSS Vector/Score.

#cvss_version=

def cvss_version=(value) -> ::String
Parameter
  • value (::String) — Version of CVSS Vector/Score.
Returns
  • (::String) — Version of CVSS Vector/Score.

#description

def description() -> ::String
Returns
  • (::String) — Description of the vulnerability.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Description of the vulnerability.
Returns
  • (::String) — Description of the vulnerability.

#first_found

def first_found() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#first_found=

def first_found=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#last_found

def last_found() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#last_found=

def last_found=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#name

def name() -> ::String
Returns
  • (::String) — Name of the vulnerability (e.g. "Unsupported OS Version detected").

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the vulnerability (e.g. "Unsupported OS Version detected").
Returns
  • (::String) — Name of the vulnerability (e.g. "Unsupported OS Version detected").

#scan_end_time

def scan_end_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#scan_end_time=

def scan_end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#scan_start_time

def scan_start_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#scan_start_time=

def scan_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#severity

def severity() -> ::Google::Backstory::Vulnerability::Severity
Returns

#severity=

def severity=(value) -> ::Google::Backstory::Vulnerability::Severity
Parameter
Returns

#severity_details

def severity_details() -> ::String
Returns
  • (::String) — Vendor-specific severity

#severity_details=

def severity_details=(value) -> ::String
Parameter
  • value (::String) — Vendor-specific severity
Returns
  • (::String) — Vendor-specific severity

#vendor

def vendor() -> ::String
Returns
  • (::String) — Vendor of scan that discovered vulnerability.

#vendor=

def vendor=(value) -> ::String
Parameter
  • value (::String) — Vendor of scan that discovered vulnerability.
Returns
  • (::String) — Vendor of scan that discovered vulnerability.

#vendor_knowledge_base_article_id

def vendor_knowledge_base_article_id() -> ::String
Returns

#vendor_knowledge_base_article_id=

def vendor_knowledge_base_article_id=(value) -> ::String
Parameter
Returns

#vendor_vulnerability_id

def vendor_vulnerability_id() -> ::String
Returns
  • (::String) — Vendor specific vulnerability id (e.g. Microsoft security bulletin id).

#vendor_vulnerability_id=

def vendor_vulnerability_id=(value) -> ::String
Parameter
  • value (::String) — Vendor specific vulnerability id (e.g. Microsoft security bulletin id).
Returns
  • (::String) — Vendor specific vulnerability id (e.g. Microsoft security bulletin id).