diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index df325279eec0..5d6f2f734851 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7731,6 +7731,10 @@ components: AwsScanOptionsAttributes: description: Attributes for the AWS scan options. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + example: false + type: boolean lambda: description: Indicates if scanning of Lambda functions is enabled. example: true @@ -7751,6 +7755,10 @@ components: AwsScanOptionsCreateAttributes: description: Attributes for the AWS scan options to create. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + example: false + type: boolean lambda: description: Indicates if scanning of Lambda functions is enabled. example: true @@ -7768,6 +7776,7 @@ components: example: true type: boolean required: + - compliance_host - lambda - sensitive_data - vuln_containers_os @@ -7833,6 +7842,10 @@ components: AwsScanOptionsUpdateAttributes: description: Attributes for the AWS scan options to update. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + example: false + type: boolean lambda: description: Indicates if scanning of Lambda functions is enabled. example: true @@ -7914,6 +7927,7 @@ components: example: data: attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: 12345678-90ab-cdef-1234-567890abcdef @@ -7927,6 +7941,7 @@ components: example: data: - attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: 12345678-90ab-cdef-1234-567890abcdef @@ -7958,6 +7973,9 @@ components: AzureScanOptionsDataAttributes: description: Attributes for Azure scan options configuration. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + type: boolean vuln_containers_os: description: Indicates if scanning for vulnerabilities in containers is enabled. type: boolean @@ -8002,6 +8020,9 @@ components: AzureScanOptionsInputUpdateDataAttributes: description: Attributes for updating Azure scan options configuration. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + type: boolean vuln_containers_os: description: Indicates if scanning for vulnerabilities in containers is enabled. type: boolean @@ -30081,6 +30102,7 @@ components: example: data: attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: company-project-id @@ -30094,6 +30116,7 @@ components: example: data: - attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: company-project-id @@ -30125,6 +30148,9 @@ components: GcpScanOptionsDataAttributes: description: Attributes for GCP scan options configuration. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + type: boolean vuln_containers_os: description: Indicates if scanning for vulnerabilities in containers is enabled. type: boolean @@ -30169,6 +30195,9 @@ components: GcpScanOptionsInputUpdateDataAttributes: description: Attributes for updating GCP scan options configuration. properties: + compliance_host: + description: Indicates whether host compliance scanning is enabled. + type: boolean vuln_containers_os: description: Indicates if scanning for vulnerabilities in containers is enabled. type: boolean @@ -85870,6 +85899,7 @@ paths: value: data: attributes: + compliance_host: false lambda: true sensitive_data: false vuln_containers_os: true @@ -85967,6 +85997,7 @@ paths: value: data: attributes: + compliance_host: false lambda: true sensitive_data: false vuln_containers_os: true @@ -86028,6 +86059,7 @@ paths: value: data: attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: 12345678-90ab-cdef-1234-567890abcdef @@ -86186,6 +86218,7 @@ paths: value: data: attributes: + compliance_host: false vuln_containers_os: true vuln_host_os: true id: company-project-id diff --git a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.frozen b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.frozen index 95529acf62f3..93069672a06a 100644 --- a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.frozen +++ b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-23T22:21:54.335Z \ No newline at end of file +2026-04-28T07:51:17.007Z \ No newline at end of file diff --git a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.yml b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.yml index abec460a9bb6..3a9a426533bb 100644 --- a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.yml +++ b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Thu, 23 Oct 2025 22:21:54 GMT +- recorded_at: Tue, 28 Apr 2026 07:51:17 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"lambda":true,"sensitive_data":false,"vuln_containers_os":true,"vuln_host_os":true},"id":"123","type":"aws_scan_options"}}' + string: '{"data":{"attributes":{"compliance_host":true,"lambda":true,"sensitive_data":false,"vuln_containers_os":true,"vuln_host_os":true},"id":"123","type":"aws_scan_options"}}' headers: Accept: - application/json diff --git a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.frozen b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.frozen index f60e6f4b6c7e..3fa40866030c 100644 --- a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.frozen +++ b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.frozen @@ -1 +1 @@ -2025-10-23T22:21:54.694Z \ No newline at end of file +2026-04-28T07:51:17.457Z \ No newline at end of file diff --git a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.yml b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.yml index ceb7c58635fc..6b2439eefce8 100644 --- a/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.yml +++ b/cassettes/features/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.yml @@ -1,9 +1,9 @@ http_interactions: -- recorded_at: Thu, 23 Oct 2025 22:21:54 GMT +- recorded_at: Tue, 28 Apr 2026 07:51:17 GMT request: body: encoding: UTF-8 - string: '{"data":{"attributes":{"lambda":false,"sensitive_data":false,"vuln_containers_os":true,"vuln_host_os":true},"id":"000000000002","type":"aws_scan_options"}}' + string: '{"data":{"attributes":{"compliance_host":true,"lambda":false,"sensitive_data":false,"vuln_containers_os":true,"vuln_host_os":true},"id":"000000000002","type":"aws_scan_options"}}' headers: Accept: - application/json diff --git a/examples/v2/agentless-scanning/CreateAwsScanOptions.rb b/examples/v2/agentless-scanning/CreateAwsScanOptions.rb index f1f8a872e22f..ee36253ffd18 100644 --- a/examples/v2/agentless-scanning/CreateAwsScanOptions.rb +++ b/examples/v2/agentless-scanning/CreateAwsScanOptions.rb @@ -8,6 +8,7 @@ id: "000000000003", type: DatadogAPIClient::V2::AwsScanOptionsType::AWS_SCAN_OPTIONS, attributes: DatadogAPIClient::V2::AwsScanOptionsCreateAttributes.new({ + compliance_host: true, lambda: true, sensitive_data: false, vuln_containers_os: true, diff --git a/features/v2/agentless_scanning.feature b/features/v2/agentless_scanning.feature index 919d43c75b5c..bbbf5b71f9f5 100644 --- a/features/v2/agentless_scanning.feature +++ b/features/v2/agentless_scanning.feature @@ -31,21 +31,21 @@ Feature: Agentless Scanning @skip @team:DataDog/k9-agentless Scenario: Create AWS scan options returns "Agentless scan options enabled successfully." response Given new "CreateAwsScanOptions" request - And body with value {"data": {"id": "000000000003", "type": "aws_scan_options", "attributes": {"lambda": true, "sensitive_data": false, "vuln_containers_os": true, "vuln_host_os": true}}} + And body with value {"data": {"id": "000000000003", "type": "aws_scan_options", "attributes": {"compliance_host": true, "lambda": true, "sensitive_data": false, "vuln_containers_os": true, "vuln_host_os": true}}} When the request is sent Then the response status is 201 Created @team:DataDog/k9-agentless Scenario: Create AWS scan options returns "Bad Request" response Given new "CreateAwsScanOptions" request - And body with value {"data": {"id": "123", "type": "aws_scan_options", "attributes": {"lambda": true, "sensitive_data": false, "vuln_containers_os": true, "vuln_host_os": true}}} + And body with value {"data": {"id": "123", "type": "aws_scan_options", "attributes": {"compliance_host": true, "lambda": true, "sensitive_data": false, "vuln_containers_os": true, "vuln_host_os": true}}} When the request is sent Then the response status is 400 Bad Request @team:DataDog/k9-agentless Scenario: Create AWS scan options returns "Conflict" response Given new "CreateAwsScanOptions" request - And body with value {"data":{"type":"aws_scan_options","id":"000000000002","attributes":{"vuln_host_os":true,"vuln_containers_os":true,"sensitive_data":false,"lambda":false}}} + And body with value {"data":{"type":"aws_scan_options","id":"000000000002","attributes":{"compliance_host":true,"vuln_host_os":true,"vuln_containers_os":true,"sensitive_data":false,"lambda":false}}} When the request is sent Then the response status is 409 Conflict diff --git a/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb b/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb index 9bde15c8bc44..d3c958b4770f 100644 --- a/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb +++ b/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class AwsScanOptionsAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning of Lambda functions is enabled. attr_accessor :lambda @@ -39,6 +42,7 @@ class AwsScanOptionsAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'lambda' => :'lambda', :'sensitive_data' => :'sensitive_data', :'vuln_containers_os' => :'vuln_containers_os', @@ -50,6 +54,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'lambda' => :'Boolean', :'sensitive_data' => :'Boolean', :'vuln_containers_os' => :'Boolean', @@ -75,6 +80,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'lambda') self.lambda = attributes[:'lambda'] end @@ -118,6 +127,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && lambda == o.lambda && sensitive_data == o.sensitive_data && vuln_containers_os == o.vuln_containers_os && @@ -129,7 +139,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb b/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb index ceeef4b5ba80..103563bf60b5 100644 --- a/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb +++ b/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class AwsScanOptionsCreateAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_reader :compliance_host + # Indicates if scanning of Lambda functions is enabled. attr_reader :lambda @@ -39,6 +42,7 @@ class AwsScanOptionsCreateAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'lambda' => :'lambda', :'sensitive_data' => :'sensitive_data', :'vuln_containers_os' => :'vuln_containers_os', @@ -50,6 +54,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'lambda' => :'Boolean', :'sensitive_data' => :'Boolean', :'vuln_containers_os' => :'Boolean', @@ -75,6 +80,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'lambda') self.lambda = attributes[:'lambda'] end @@ -96,6 +105,7 @@ def initialize(attributes = {}) # @return true if the model is valid # @!visibility private def valid? + return false if @compliance_host.nil? return false if @lambda.nil? return false if @sensitive_data.nil? return false if @vuln_containers_os.nil? @@ -103,6 +113,16 @@ def valid? true end + # Custom attribute writer method with validation + # @param compliance_host [Object] Object to be assigned + # @!visibility private + def compliance_host=(compliance_host) + if compliance_host.nil? + fail ArgumentError, 'invalid value for "compliance_host", compliance_host cannot be nil.' + end + @compliance_host = compliance_host + end + # Custom attribute writer method with validation # @param lambda [Object] Object to be assigned # @!visibility private @@ -169,6 +189,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && lambda == o.lambda && sensitive_data == o.sensitive_data && vuln_containers_os == o.vuln_containers_os && @@ -180,7 +201,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb b/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb index 30e26a9a25d9..8fe56dbd14de 100644 --- a/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb +++ b/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class AwsScanOptionsUpdateAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning of Lambda functions is enabled. attr_accessor :lambda @@ -39,6 +42,7 @@ class AwsScanOptionsUpdateAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'lambda' => :'lambda', :'sensitive_data' => :'sensitive_data', :'vuln_containers_os' => :'vuln_containers_os', @@ -50,6 +54,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'lambda' => :'Boolean', :'sensitive_data' => :'Boolean', :'vuln_containers_os' => :'Boolean', @@ -75,6 +80,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'lambda') self.lambda = attributes[:'lambda'] end @@ -118,6 +127,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && lambda == o.lambda && sensitive_data == o.sensitive_data && vuln_containers_os == o.vuln_containers_os && @@ -129,7 +139,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, lambda, sensitive_data, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb b/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb index 0677503b55a9..fad1b05bf4df 100644 --- a/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class AzureScanOptionsDataAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning for vulnerabilities in containers is enabled. attr_accessor :vuln_containers_os @@ -33,6 +36,7 @@ class AzureScanOptionsDataAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'vuln_containers_os' => :'vuln_containers_os', :'vuln_host_os' => :'vuln_host_os' } @@ -42,6 +46,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'vuln_containers_os' => :'Boolean', :'vuln_host_os' => :'Boolean' } @@ -65,6 +70,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'vuln_containers_os') self.vuln_containers_os = attributes[:'vuln_containers_os'] end @@ -100,6 +109,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && vuln_containers_os == o.vuln_containers_os && vuln_host_os == o.vuln_host_os && additional_properties == o.additional_properties @@ -109,7 +119,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb b/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb index 1a527de764fe..5148143e5f80 100644 --- a/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class AzureScanOptionsInputUpdateDataAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning for vulnerabilities in containers is enabled. attr_accessor :vuln_containers_os @@ -33,6 +36,7 @@ class AzureScanOptionsInputUpdateDataAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'vuln_containers_os' => :'vuln_containers_os', :'vuln_host_os' => :'vuln_host_os' } @@ -42,6 +46,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'vuln_containers_os' => :'Boolean', :'vuln_host_os' => :'Boolean' } @@ -65,6 +70,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'vuln_containers_os') self.vuln_containers_os = attributes[:'vuln_containers_os'] end @@ -100,6 +109,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && vuln_containers_os == o.vuln_containers_os && vuln_host_os == o.vuln_host_os && additional_properties == o.additional_properties @@ -109,7 +119,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb b/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb index fef9cfb0ba31..e5a65e3eadf3 100644 --- a/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class GcpScanOptionsDataAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning for vulnerabilities in containers is enabled. attr_accessor :vuln_containers_os @@ -33,6 +36,7 @@ class GcpScanOptionsDataAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'vuln_containers_os' => :'vuln_containers_os', :'vuln_host_os' => :'vuln_host_os' } @@ -42,6 +46,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'vuln_containers_os' => :'Boolean', :'vuln_host_os' => :'Boolean' } @@ -65,6 +70,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'vuln_containers_os') self.vuln_containers_os = attributes[:'vuln_containers_os'] end @@ -100,6 +109,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && vuln_containers_os == o.vuln_containers_os && vuln_host_os == o.vuln_host_os && additional_properties == o.additional_properties @@ -109,7 +119,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, vuln_containers_os, vuln_host_os, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb b/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb index 5979638d7f5d..8a47b9f4bc37 100644 --- a/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb @@ -21,6 +21,9 @@ module DatadogAPIClient::V2 class GcpScanOptionsInputUpdateDataAttributes include BaseGenericModel + # Indicates whether host compliance scanning is enabled. + attr_accessor :compliance_host + # Indicates if scanning for vulnerabilities in containers is enabled. attr_accessor :vuln_containers_os @@ -33,6 +36,7 @@ class GcpScanOptionsInputUpdateDataAttributes # @!visibility private def self.attribute_map { + :'compliance_host' => :'compliance_host', :'vuln_containers_os' => :'vuln_containers_os', :'vuln_host_os' => :'vuln_host_os' } @@ -42,6 +46,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'compliance_host' => :'Boolean', :'vuln_containers_os' => :'Boolean', :'vuln_host_os' => :'Boolean' } @@ -65,6 +70,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'compliance_host') + self.compliance_host = attributes[:'compliance_host'] + end + if attributes.key?(:'vuln_containers_os') self.vuln_containers_os = attributes[:'vuln_containers_os'] end @@ -100,6 +109,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + compliance_host == o.compliance_host && vuln_containers_os == o.vuln_containers_os && vuln_host_os == o.vuln_host_os && additional_properties == o.additional_properties @@ -109,7 +119,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [vuln_containers_os, vuln_host_os, additional_properties].hash + [compliance_host, vuln_containers_os, vuln_host_os, additional_properties].hash end end end