Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20355,6 +20355,10 @@ components:
ignoreServerCertificateError:
description: Ignore server certificate error for browser tests.
type: boolean
ignore_certificate_validation:
description: |-
For SSL tests, whether or not the test should ignore certificate validation.
type: boolean
initialNavigationTimeout:
description: Timeout before declaring the initial step as failed (in seconds) for browser tests.
format: int64
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-07-11T17:23:57.607Z
2026-07-10T09:46:57.309Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
accept_self_signed: true,
check_certificate_revocation: true,
disable_aia_intermediate_fetching: true,
ignore_certificate_validation: true,
tick_every: 60,
}),
subtype: DatadogAPIClient::V1::SyntheticsTestDetailsSubType::SSL,
Expand Down
1 change: 1 addition & 0 deletions features/v1/synthetics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ Feature: Synthetics
When the request is sent
Then the response status is 200 OK - Returns the created test details.
And the response "name" is equal to "{{ unique }}"
And the response "options.ignore_certificate_validation" is equal to true

@generated @skip @team:DataDog/synthetics-orchestrating-managing
Scenario: Create an API test returns "- JSON format is wrong" response
Expand Down
1 change: 1 addition & 0 deletions features/v1/synthetics_api_ssl_test_payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"accept_self_signed": true,
"checkCertificateRevocation": true,
"disableAiaIntermediateFetching": true,
"ignore_certificate_validation": true,
"tick_every": 60
},
"subtype": "ssl",
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_test_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ class SyntheticsTestOptions
# Ignore server certificate error for browser tests.
attr_accessor :ignore_server_certificate_error

# For SSL tests, whether or not the test should ignore certificate validation.
attr_accessor :ignore_certificate_validation

# Timeout before declaring the initial step as failed (in seconds) for browser tests.
attr_accessor :initial_navigation_timeout

Expand Down Expand Up @@ -136,6 +139,7 @@ def self.attribute_map
:'follow_redirects' => :'follow_redirects',
:'http_version' => :'httpVersion',
:'ignore_server_certificate_error' => :'ignoreServerCertificateError',
:'ignore_certificate_validation' => :'ignore_certificate_validation',
:'initial_navigation_timeout' => :'initialNavigationTimeout',
:'min_failure_duration' => :'min_failure_duration',
:'min_location_failed' => :'min_location_failed',
Expand Down Expand Up @@ -170,6 +174,7 @@ def self.openapi_types
:'follow_redirects' => :'Boolean',
:'http_version' => :'SyntheticsTestOptionsHTTPVersion',
:'ignore_server_certificate_error' => :'Boolean',
:'ignore_certificate_validation' => :'Boolean',
:'initial_navigation_timeout' => :'Integer',
:'min_failure_duration' => :'Integer',
:'min_location_failed' => :'Integer',
Expand Down Expand Up @@ -267,6 +272,10 @@ def initialize(attributes = {})
self.ignore_server_certificate_error = attributes[:'ignore_server_certificate_error']
end

if attributes.key?(:'ignore_certificate_validation')
self.ignore_certificate_validation = attributes[:'ignore_certificate_validation']
end

if attributes.key?(:'initial_navigation_timeout')
self.initial_navigation_timeout = attributes[:'initial_navigation_timeout']
end
Expand Down Expand Up @@ -396,6 +405,7 @@ def ==(o)
follow_redirects == o.follow_redirects &&
http_version == o.http_version &&
ignore_server_certificate_error == o.ignore_server_certificate_error &&
ignore_certificate_validation == o.ignore_certificate_validation &&
initial_navigation_timeout == o.initial_navigation_timeout &&
min_failure_duration == o.min_failure_duration &&
min_location_failed == o.min_location_failed &&
Expand All @@ -415,7 +425,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[accept_self_signed, allow_insecure, blocked_request_patterns, capture_network_payloads, check_certificate_revocation, ci, device_ids, disable_aia_intermediate_fetching, disable_cors, disable_csp, enable_profiling, enable_security_testing, follow_redirects, http_version, ignore_server_certificate_error, initial_navigation_timeout, min_failure_duration, min_location_failed, monitor_name, monitor_options, monitor_priority, no_screenshot, restricted_roles, _retry, rum_settings, scheduling, tick_every, additional_properties].hash
[accept_self_signed, allow_insecure, blocked_request_patterns, capture_network_payloads, check_certificate_revocation, ci, device_ids, disable_aia_intermediate_fetching, disable_cors, disable_csp, enable_profiling, enable_security_testing, follow_redirects, http_version, ignore_server_certificate_error, ignore_certificate_validation, initial_navigation_timeout, min_failure_duration, min_location_failed, monitor_name, monitor_options, monitor_priority, no_screenshot, restricted_roles, _retry, rum_settings, scheduling, tick_every, additional_properties].hash
end
end
end
Loading