Skip to content

Commit 68aa745

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add disableAiaIntermediateFetching option (#2697)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5ca3520 commit 68aa745

20 files changed

+120
-82
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "bb240c6",
3-
"generated": "2025-07-14 18:16:21.671"
2+
"spec_repo_commit": "d93d991",
3+
"generated": "2025-07-15 09:31:55.997"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17197,7 +17197,7 @@ components:
1719717197
description: Object describing the extra options for a Synthetic test.
1719817198
properties:
1719917199
accept_self_signed:
17200-
description: 'For SSL test, whether or not the test should allow self signed
17200+
description: 'For SSL tests, whether or not the test should allow self signed
1720117201

1720217202
certificates.'
1720317203
type: boolean
@@ -17206,7 +17206,7 @@ components:
1720617206
test.
1720717207
type: boolean
1720817208
checkCertificateRevocation:
17209-
description: For SSL test, whether or not the test should fail on revoked
17209+
description: For SSL tests, whether or not the test should fail on revoked
1721017210
certificate in stapled OCSP.
1721117211
type: boolean
1721217212
ci:
@@ -17217,6 +17217,10 @@ components:
1721717217
items:
1721817218
$ref: '#/components/schemas/SyntheticsDeviceID'
1721917219
type: array
17220+
disableAiaIntermediateFetching:
17221+
description: For SSL tests, whether or not the test should disable fetching
17222+
intermediate certificates from AIA.
17223+
type: boolean
1722017224
disableCors:
1722117225
description: Whether or not to disable CORS mechanism.
1722217226
type: boolean
@@ -17460,6 +17464,9 @@ components:
1746017464
description: A protobuf file that needs to be gzipped first then base64
1746117465
encoded.
1746217466
type: string
17467+
disableAiaIntermediateFetching:
17468+
description: Disable fetching intermediate certificates from AIA.
17469+
type: boolean
1746317470
dnsServer:
1746417471
description: DNS server to use for DNS tests.
1746517472
type: string

examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
options=SyntheticsTestOptions(
3737
accept_self_signed=True,
3838
check_certificate_revocation=True,
39+
disable_aia_intermediate_fetching=True,
3940
tick_every=60,
4041
),
4142
subtype=SyntheticsTestDetailsSubType.SSL,

examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
],
132132
request=SyntheticsTestRequest(
133133
check_certificate_revocation=True,
134+
disable_aia_intermediate_fetching=True,
134135
host="example.org",
135136
port=443,
136137
),

src/datadog_api_client/v1/model/synthetics_test_options.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def openapi_types(_):
5353
"check_certificate_revocation": (bool,),
5454
"ci": (SyntheticsTestCiOptions,),
5555
"device_ids": ([str],),
56+
"disable_aia_intermediate_fetching": (bool,),
5657
"disable_cors": (bool,),
5758
"disable_csp": (bool,),
5859
"enable_profiling": (bool,),
@@ -80,6 +81,7 @@ def openapi_types(_):
8081
"check_certificate_revocation": "checkCertificateRevocation",
8182
"ci": "ci",
8283
"device_ids": "device_ids",
84+
"disable_aia_intermediate_fetching": "disableAiaIntermediateFetching",
8385
"disable_cors": "disableCors",
8486
"disable_csp": "disableCsp",
8587
"enable_profiling": "enableProfiling",
@@ -108,6 +110,7 @@ def __init__(
108110
check_certificate_revocation: Union[bool, UnsetType] = unset,
109111
ci: Union[SyntheticsTestCiOptions, UnsetType] = unset,
110112
device_ids: Union[List[str], UnsetType] = unset,
113+
disable_aia_intermediate_fetching: Union[bool, UnsetType] = unset,
111114
disable_cors: Union[bool, UnsetType] = unset,
112115
disable_csp: Union[bool, UnsetType] = unset,
113116
enable_profiling: Union[bool, UnsetType] = unset,
@@ -132,14 +135,14 @@ def __init__(
132135
"""
133136
Object describing the extra options for a Synthetic test.
134137
135-
:param accept_self_signed: For SSL test, whether or not the test should allow self signed
138+
:param accept_self_signed: For SSL tests, whether or not the test should allow self signed
136139
certificates.
137140
:type accept_self_signed: bool, optional
138141
139142
:param allow_insecure: Allows loading insecure content for an HTTP request in an API test.
140143
:type allow_insecure: bool, optional
141144
142-
:param check_certificate_revocation: For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
145+
:param check_certificate_revocation: For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
143146
:type check_certificate_revocation: bool, optional
144147
145148
:param ci: CI/CD options for a Synthetic test.
@@ -148,6 +151,9 @@ def __init__(
148151
:param device_ids: For browser test, array with the different device IDs used to run the test.
149152
:type device_ids: [str], optional
150153
154+
:param disable_aia_intermediate_fetching: For SSL tests, whether or not the test should disable fetching intermediate certificates from AIA.
155+
:type disable_aia_intermediate_fetching: bool, optional
156+
151157
:param disable_cors: Whether or not to disable CORS mechanism.
152158
:type disable_cors: bool, optional
153159
@@ -227,6 +233,8 @@ def __init__(
227233
kwargs["ci"] = ci
228234
if device_ids is not unset:
229235
kwargs["device_ids"] = device_ids
236+
if disable_aia_intermediate_fetching is not unset:
237+
kwargs["disable_aia_intermediate_fetching"] = disable_aia_intermediate_fetching
230238
if disable_cors is not unset:
231239
kwargs["disable_cors"] = disable_cors
232240
if disable_csp is not unset:

src/datadog_api_client/v1/model/synthetics_test_request.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def openapi_types(_):
6868
"check_certificate_revocation": (bool,),
6969
"compressed_json_descriptor": (str,),
7070
"compressed_proto_file": (str,),
71+
"disable_aia_intermediate_fetching": (bool,),
7172
"dns_server": (str,),
7273
"dns_server_port": (SyntheticsTestRequestDNSServerPort,),
7374
"files": ([SyntheticsTestRequestBodyFile],),
@@ -104,6 +105,7 @@ def openapi_types(_):
104105
"check_certificate_revocation": "checkCertificateRevocation",
105106
"compressed_json_descriptor": "compressedJsonDescriptor",
106107
"compressed_proto_file": "compressedProtoFile",
108+
"disable_aia_intermediate_fetching": "disableAiaIntermediateFetching",
107109
"dns_server": "dnsServer",
108110
"dns_server_port": "dnsServerPort",
109111
"files": "files",
@@ -150,6 +152,7 @@ def __init__(
150152
check_certificate_revocation: Union[bool, UnsetType] = unset,
151153
compressed_json_descriptor: Union[str, UnsetType] = unset,
152154
compressed_proto_file: Union[str, UnsetType] = unset,
155+
disable_aia_intermediate_fetching: Union[bool, UnsetType] = unset,
153156
dns_server: Union[str, UnsetType] = unset,
154157
dns_server_port: Union[SyntheticsTestRequestDNSServerPort, int, str, UnsetType] = unset,
155158
files: Union[List[SyntheticsTestRequestBodyFile], UnsetType] = unset,
@@ -208,6 +211,9 @@ def __init__(
208211
:param compressed_proto_file: A protobuf file that needs to be gzipped first then base64 encoded.
209212
:type compressed_proto_file: str, optional
210213
214+
:param disable_aia_intermediate_fetching: Disable fetching intermediate certificates from AIA.
215+
:type disable_aia_intermediate_fetching: bool, optional
216+
211217
:param dns_server: DNS server to use for DNS tests.
212218
:type dns_server: str, optional
213219
@@ -299,6 +305,8 @@ def __init__(
299305
kwargs["compressed_json_descriptor"] = compressed_json_descriptor
300306
if compressed_proto_file is not unset:
301307
kwargs["compressed_proto_file"] = compressed_proto_file
308+
if disable_aia_intermediate_fetching is not unset:
309+
kwargs["disable_aia_intermediate_fetching"] = disable_aia_intermediate_fetching
302310
if dns_server is not unset:
303311
kwargs["dns_server"] = dns_server
304312
if dns_server_port is not unset:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-06-02T14:06:04.761Z
1+
2025-07-11T17:23:47.597Z

0 commit comments

Comments
 (0)