Skip to content

Commit 56697c8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix failing tests in CI (#1829)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 1a24e18 commit 56697c8

9 files changed

+23
-23
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-05-17 20:25:17.670535",
8-
"spec_repo_commit": "77064b00"
7+
"regenerated": "2024-05-20 18:10:23.565068",
8+
"spec_repo_commit": "6340fda5"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-17 20:25:17.688122",
13-
"spec_repo_commit": "77064b00"
12+
"regenerated": "2024-05-20 18:10:23.583452",
13+
"spec_repo_commit": "6340fda5"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:35.792Z
1+
2024-05-20T17:07:03.155Z

cassettes/features/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.yml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:36.621Z
1+
2024-05-20T17:07:12.131Z

cassettes/features/v2/security_monitoring/Create-a-suppression-rule-with-an-exclusion-query-returns-OK-response.yml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
attributes: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes.new({
99
description: "This rule suppresses low-severity signals in staging environments.",
1010
enabled: true,
11-
expiration_date: 1703187336000,
11+
expiration_date: 1638443471000,
1212
name: "Example-Security-Monitoring",
1313
rule_query: "type:log_detection source:cloudtrail",
1414
suppression_query: "env:staging status:low",

examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
attributes: DatadogAPIClient::V2::SecurityMonitoringSuppressionCreateAttributes.new({
99
description: "This rule suppresses low-severity signals in staging environments.",
1010
enabled: true,
11-
expiration_date: 1703187336000,
11+
expiration_date: 1638443471000,
1212
name: "Example-Security-Monitoring",
1313
rule_query: "type:log_detection source:cloudtrail",
1414
data_exclusion_query: "account_id:12345",

features/v1/synthetics.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Feature: Synthetics
100100
When the request is sent
101101
Then the response status is 200 OK
102102

103-
@team:DataDog/synthetics-app
103+
@replay-only @team:DataDog/synthetics-app
104104
Scenario: Create a private location returns "OK" response
105105
Given there is a valid "role" in the system
106106
And new "CreatePrivateLocation" request

features/v2/security_monitoring.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Feature: Security Monitoring
174174
@skip-validation @team:DataDog/k9-cloud-security-platform
175175
Scenario: Create a suppression rule returns "OK" response
176176
Given new "CreateSecurityMonitoringSuppression" request
177-
And body with value {"data": {"attributes": {"description": "This rule suppresses low-severity signals in staging environments.", "enabled": true, "expiration_date": 1703187336000, "name": "{{ unique }}", "rule_query": "type:log_detection source:cloudtrail", "suppression_query": "env:staging status:low"}, "type": "suppressions"}}
177+
And body with value {"data": {"attributes": {"description": "This rule suppresses low-severity signals in staging environments.", "enabled": true, "expiration_date": {{ timestamp('now + 21d') }}000, "name": "{{ unique }}", "rule_query": "type:log_detection source:cloudtrail", "suppression_query": "env:staging status:low"}, "type": "suppressions"}}
178178
When the request is sent
179179
Then the response status is 200 OK
180180
And the response "data.type" is equal to "suppressions"
@@ -184,7 +184,7 @@ Feature: Security Monitoring
184184
@skip-validation @team:DataDog/k9-cloud-security-platform
185185
Scenario: Create a suppression rule with an exclusion query returns "OK" response
186186
Given new "CreateSecurityMonitoringSuppression" request
187-
And body with value {"data": {"attributes": {"description": "This rule suppresses low-severity signals in staging environments.", "enabled": true, "expiration_date": 1703187336000, "name": "{{ unique }}", "rule_query": "type:log_detection source:cloudtrail", "data_exclusion_query": "account_id:12345"}, "type": "suppressions"}}
187+
And body with value {"data": {"attributes": {"description": "This rule suppresses low-severity signals in staging environments.", "enabled": true, "expiration_date": {{ timestamp('now + 21d') }}000, "name": "{{ unique }}", "rule_query": "type:log_detection source:cloudtrail", "data_exclusion_query": "account_id:12345"}, "type": "suppressions"}}
188188
When the request is sent
189189
Then the response status is 200 OK
190190
And the response "data.type" is equal to "suppressions"

0 commit comments

Comments
 (0)