Class: DatadogAPIClient::V2::CycloneDXVulnerability
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CycloneDXVulnerability
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb
Overview
A security vulnerability affecting one or more components.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#advisories ⇒ Object
External advisory references for the vulnerability.
-
#affects ⇒ Object
readonly
The components affected by this vulnerability.
-
#analysis ⇒ Object
The exploitability analysis for the vulnerability.
-
#cwes ⇒ Object
CWE identifiers associated with the vulnerability.
-
#description ⇒ Object
A short description of the vulnerability.
-
#detail ⇒ Object
Detailed information about the vulnerability.
-
#id ⇒ Object
readonly
The vulnerability identifier (for example, a CVE ID).
-
#ratings ⇒ Object
readonly
The severity ratings for the vulnerability.
-
#references ⇒ Object
External reference identifiers for the vulnerability.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
53 54 55 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 53 def additional_properties @additional_properties end |
#advisories ⇒ Object
External advisory references for the vulnerability.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 25 def advisories @advisories end |
#affects ⇒ Object
The components affected by this vulnerability. Must be non-empty. Each ref must match a bom-ref in components.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 28 def affects @affects end |
#analysis ⇒ Object
The exploitability analysis for the vulnerability. When state is set to resolved
or resolved_with_pedigree, the vulnerability is closed in Datadog.
Other state values are accepted but have no effect on the vulnerability status.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 33 def analysis @analysis end |
#cwes ⇒ Object
CWE identifiers associated with the vulnerability.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 36 def cwes @cwes end |
#description ⇒ Object
A short description of the vulnerability.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 39 def description @description end |
#detail ⇒ Object
Detailed information about the vulnerability.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 42 def detail @detail end |
#id ⇒ Object
The vulnerability identifier (for example, a CVE ID).
45 46 47 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 45 def id @id end |
#ratings ⇒ Object
The severity ratings for the vulnerability. Must contain exactly one element.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 48 def @ratings end |
#references ⇒ Object
External reference identifiers for the vulnerability.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/cyclone_dx_vulnerability.rb', line 51 def references @references end |