struct

ECS::LogEntry::Vulnerability

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

category(new_value : String)

A chainable setter for category

Source
category

vulnerability.category

The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories])

This field must be an array.

Level: Extended Type: Keyword Example:

["Firewall"]
Source
category=(category : String | Nil)

vulnerability.category

The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories])

This field must be an array.

Level: Extended Type: Keyword Example:

["Firewall"]
Source
classification(new_value : String)

A chainable setter for classification

Source
classification

vulnerability.classification

The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)

Level: Extended Type: Keyword Example:

CVSS
Source
classification=(classification : String | Nil)

vulnerability.classification

The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)

Level: Extended Type: Keyword Example:

CVSS
Source
description(new_value : String)

A chainable setter for description

Source
description

vulnerability.description

The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])

Level: Extended Type: Keyword Example:

In macOS before 2.12.6, there is a vulnerability in the RPC...
Source
description=(description : String | Nil)

vulnerability.description

The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])

Level: Extended Type: Keyword Example:

In macOS before 2.12.6, there is a vulnerability in the RPC...
Source
enumeration(new_value : String)

A chainable setter for enumeration

Source
enumeration

vulnerability.enumeration

The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)

Level: Extended Type: Keyword Example:

CVE
Source
enumeration=(enumeration : String | Nil)

vulnerability.enumeration

The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)

Level: Extended Type: Keyword Example:

CVE
Source
id(new_value : String)

A chainable setter for id

Source
id

vulnerability.id

The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]

Level: Extended Type: Keyword Example:

CVE-2019-00001
Source
id=(id : String | Nil)

vulnerability.id

The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]

Level: Extended Type: Keyword Example:

CVE-2019-00001
Source
reference(new_value : String)

A chainable setter for reference

Source
reference

vulnerability.reference

A resource that provides additional information, context, and mitigations for the identified vulnerability.

Level: Extended Type: Keyword Example:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6111
Source
reference=(reference : String | Nil)

vulnerability.reference

A resource that provides additional information, context, and mitigations for the identified vulnerability.

Level: Extended Type: Keyword Example:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6111
Source
report_id(new_value : String)

A chainable setter for report_id

Source
report_id

vulnerability.report_id

The report or scan identification number.

Level: Extended Type: Keyword Example:

20191018.0001
Source
report_id=(report_id : String | Nil)

vulnerability.report_id

The report or scan identification number.

Level: Extended Type: Keyword Example:

20191018.0001
Source
scanner(value : Scanner)

A chainable setter for scanner

Source
scanner
Source
scanner

Initialize a new Scanner, yield it to the block

Source
scanner=(scanner : Scanner | Nil)
Source
score(value : Score)

A chainable setter for score

Source
score
Source
score

Initialize a new Score, yield it to the block

Source
score=(score : Score | Nil)
Source
severity(new_value : String)

A chainable setter for severity

Source
severity

vulnerability.severity

The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)

Level: Extended Type: Keyword Example:

Critical
Source
severity=(severity : String | Nil)

vulnerability.severity

The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)

Level: Extended Type: Keyword Example:

Critical
Source

Nested types