Class: DatadogAPIClient::V2::SBOMAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_formatObject

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

#componentsObject

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

#metadataObject

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_numberObject

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_versionObject

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

#versionObject

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