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
3 changes: 3 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19795,6 +19795,9 @@ components:
description: A URL pattern to block during the Synthetic test.
type: string
type: array
captureNetworkPayloads:
description: Capture HTTP request/response headers and bodies for Fetch/XHR calls made during browser tests.
type: boolean
checkCertificateRevocation:
description: |-
For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/synthetics_test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def openapi_types(_):
"accept_self_signed": (bool,),
"allow_insecure": (bool,),
"blocked_request_patterns": ([str],),
"capture_network_payloads": (bool,),
"check_certificate_revocation": (bool,),
"ci": (SyntheticsTestCiOptions,),
"device_ids": ([str],),
Expand Down Expand Up @@ -80,6 +81,7 @@ def openapi_types(_):
"accept_self_signed": "accept_self_signed",
"allow_insecure": "allow_insecure",
"blocked_request_patterns": "blockedRequestPatterns",
"capture_network_payloads": "captureNetworkPayloads",
"check_certificate_revocation": "checkCertificateRevocation",
"ci": "ci",
"device_ids": "device_ids",
Expand Down Expand Up @@ -110,6 +112,7 @@ def __init__(
accept_self_signed: Union[bool, UnsetType] = unset,
allow_insecure: Union[bool, UnsetType] = unset,
blocked_request_patterns: Union[List[str], UnsetType] = unset,
capture_network_payloads: Union[bool, UnsetType] = unset,
check_certificate_revocation: Union[bool, UnsetType] = unset,
ci: Union[SyntheticsTestCiOptions, UnsetType] = unset,
device_ids: Union[List[str], UnsetType] = unset,
Expand Down Expand Up @@ -148,6 +151,9 @@ def __init__(
:param blocked_request_patterns: Array of URL patterns to block.
:type blocked_request_patterns: [str], optional

:param capture_network_payloads: Capture HTTP request/response headers and bodies for Fetch/XHR calls made during browser tests.
:type capture_network_payloads: bool, optional

:param check_certificate_revocation: For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
:type check_certificate_revocation: bool, optional

Expand Down Expand Up @@ -235,6 +241,8 @@ def __init__(
kwargs["allow_insecure"] = allow_insecure
if blocked_request_patterns is not unset:
kwargs["blocked_request_patterns"] = blocked_request_patterns
if capture_network_payloads is not unset:
kwargs["capture_network_payloads"] = capture_network_payloads
if check_certificate_revocation is not unset:
kwargs["check_certificate_revocation"] = check_certificate_revocation
if ci is not unset:
Expand Down
Loading