Class: DatadogAPIClient::V2::SBOMAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SBOMAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/sbom_attributes.rb
Overview
The JSON:API attributes of the SBOM.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#bom_format ⇒ Object
readonly
Specifies the format of the BOM.
-
#components ⇒ Object
readonly
A list of software and hardware components.
-
#metadata ⇒ Object
readonly
Provides additional information about a BOM.
-
#serial_number ⇒ Object
readonly
Every BOM generated has a unique serial number, even if the contents of the BOM have not changed overt time.
-
#spec_version ⇒ Object
readonly
The version of the CycloneDX specification a BOM conforms to.
-
#version ⇒ Object
readonly
It increments when a BOM is modified.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 42 def additional_properties @additional_properties end |
#bom_format ⇒ Object
Specifies the format of the BOM. This helps to identify the file as CycloneDX since BOM do not have a filename convention nor does JSON schema support namespaces. This value MUST be CycloneDX
.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 25 def bom_format @bom_format end |
#components ⇒ Object
A list of software and hardware components.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 28 def components @components end |
#metadata ⇒ Object
Provides additional information about a BOM.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 31 def @metadata end |
#serial_number ⇒ Object
Every BOM generated has a unique serial number, even if the contents of the BOM have not changed overt time. The serial number follows RFC-4122
34 35 36 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 34 def serial_number @serial_number end |
#spec_version ⇒ Object
The version of the CycloneDX specification a BOM conforms to.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 37 def spec_version @spec_version end |
#version ⇒ Object
It increments when a BOM is modified. The default value is 1.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/sbom_attributes.rb', line 40 def version @version end |