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
- (::Google::Backstory::Noun) — If the vulnerability is about a specific noun (e.g. executable), then add it here.
#about=
def about=(value) -> ::Google::Backstory::Noun
Parameter
- value (::Google::Backstory::Noun) — If the vulnerability is about a specific noun (e.g. executable), then add it here.
Returns
- (::Google::Backstory::Noun) — If the vulnerability is about a specific noun (e.g. executable), then add it here.
#cve_description
def cve_description() -> ::String
Returns
- (::String) — Common Vulnerabilities and Exposures Description. https://cve.mitre.org/about/faqs.html#what_is_cve_record
#cve_description=
def cve_description=(value) -> ::String
Parameter
- value (::String) — Common Vulnerabilities and Exposures Description. https://cve.mitre.org/about/faqs.html#what_is_cve_record
Returns
- (::String) — Common Vulnerabilities and Exposures Description. https://cve.mitre.org/about/faqs.html#what_is_cve_record
#cve_id
def cve_id() -> ::String
Returns
- (::String) — 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
#cve_id=
def cve_id=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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
#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
- (::String) — 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
#cvss_vector=
def cvss_vector=(value) -> ::String
Parameter
- value (::String) — 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
Returns
- (::String) — 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
#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
- (::Google::Backstory::Vulnerability::Severity) — The severity of the vulnerability.
#severity=
def severity=(value) -> ::Google::Backstory::Vulnerability::Severity
Parameter
- value (::Google::Backstory::Vulnerability::Severity) — The severity of the vulnerability.
Returns
- (::Google::Backstory::Vulnerability::Severity) — The severity of the vulnerability.
#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
- (::String) — Vendor specific knowledge base article (e.g. "KBXXXXXX" from Microsoft). https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base https://access.redhat.com/knowledgebase
#vendor_knowledge_base_article_id=
def vendor_knowledge_base_article_id=(value) -> ::String
Parameter
- value (::String) — Vendor specific knowledge base article (e.g. "KBXXXXXX" from Microsoft). https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base https://access.redhat.com/knowledgebase
Returns
- (::String) — Vendor specific knowledge base article (e.g. "KBXXXXXX" from Microsoft). https://en.wikipedia.org/wiki/Microsoft_Knowledge_Base https://access.redhat.com/knowledgebase
#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).