Skip to content

Commit f84a43a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add blockedRequestPatterns to synthetics browser test options (#2696)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ce45a5c commit f84a43a

File tree

5 files changed

+30
-11
lines changed

5 files changed

+30
-11
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17343,6 +17343,11 @@ components:
1734317343
description: Allows loading insecure content for an HTTP request in an API
1734417344
test.
1734517345
type: boolean
17346+
blockedRequestPatterns:
17347+
description: Array of URL patterns to block.
17348+
items:
17349+
type: string
17350+
type: array
1734617351
checkCertificateRevocation:
1734717352
description: For SSL tests, whether or not the test should fail on revoked
1734817353
certificate in stapled OCSP.

examples/v1/synthetics/CreateSyntheticsAPITest.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
message: "Notification message",
2424
name: "Example test name",
2525
options: DatadogAPIClient::V1::SyntheticsTestOptions.new({
26+
blocked_request_patterns: [],
2627
ci: DatadogAPIClient::V1::SyntheticsTestCiOptions.new({
2728
execution_rule: DatadogAPIClient::V1::SyntheticsTestExecutionRule::BLOCKING,
2829
}),

examples/v1/synthetics/UpdateBrowserTest.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
message: "",
5050
name: "Example test name",
5151
options: DatadogAPIClient::V1::SyntheticsTestOptions.new({
52+
blocked_request_patterns: [],
5253
ci: DatadogAPIClient::V1::SyntheticsTestCiOptions.new({
5354
execution_rule: DatadogAPIClient::V1::SyntheticsTestExecutionRule::BLOCKING,
5455
}),

0 commit comments

Comments
 (0)