Skip to content

Commit 3b40a9e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b90c5b3 of spec repo
1 parent 3caab45 commit 3b40a9e

87 files changed

Lines changed: 7193 additions & 681 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.generator/schemas/v2/openapi.yaml

Lines changed: 964 additions & 174 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-05T13:46:11.165Z"
1+
"2026-03-13T09:35:04.822Z"

cassettes/v2/Security-Monitoring_1187227211/Patch-a-signal-based-notification-rule-returns-Bad-Request-response_544384341/recording.har

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "5465fd631ad9f036d4de86a2bee8be2f",
11+
"_id": "619626c2c6bad01b598a8d559931801a",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Bad_Request_response-1738763171\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Bad_Request_response-1773394504\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/security/signals/notification_rules"
3939
},
4040
"response": {
41-
"bodySize": 505,
41+
"bodySize": 597,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 505,
45-
"text": "{\"data\":{\"id\":\"uwx-6n1-x2z\",\"type\":\"notification_rules\",\"attributes\":{\"created_at\":1738763171531,\"created_by\":{\"name\":\"\",\"handle\":\"\"},\"enabled\":true,\"modified_at\":1738763171531,\"modified_by\":{\"name\":\"\",\"handle\":\"\"},\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Bad_Request_response-1738763171\",\"selectors\":{\"severities\":[\"critical\"],\"rule_types\":[\"signal_correlation\"],\"query\":\"env:test\",\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":0,\"version\":1}}}"
44+
"size": 597,
45+
"text": "{\"data\":{\"id\":\"sa8-rjy-zkl\",\"type\":\"notification_rules\",\"attributes\":{\"created_at\":1773394506389,\"created_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"enabled\":true,\"modified_at\":1773394506389,\"modified_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Bad_Request_response-1773394504\",\"selectors\":{\"severities\":[\"critical\"],\"rule_types\":[\"signal_correlation\"],\"query\":\"env:test\",\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":0,\"version\":1}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-02-05T13:46:11.166Z",
61-
"time": 350
60+
"startedDateTime": "2026-03-13T09:35:05.725Z",
61+
"time": 695
6262
},
6363
{
64-
"_id": "e7f62ae62be60274cbac7df3efec6433",
64+
"_id": "1d3be534c21748f51e6d2e8b3300fa14",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -88,7 +88,7 @@
8888
"text": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}"
8989
},
9090
"queryString": [],
91-
"url": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/uwx-6n1-x2z"
91+
"url": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/sa8-rjy-zkl"
9292
},
9393
"response": {
9494
"bodySize": 147,
@@ -110,11 +110,11 @@
110110
"status": 400,
111111
"statusText": "Bad Request"
112112
},
113-
"startedDateTime": "2025-02-05T13:46:11.520Z",
114-
"time": 440
113+
"startedDateTime": "2026-03-13T09:35:06.426Z",
114+
"time": 77
115115
},
116116
{
117-
"_id": "4d8044656bb1f69d25143f86f04ad696",
117+
"_id": "eac455f49cd1b16e5ca4b917b482a0a9",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -131,7 +131,7 @@
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/uwx-6n1-x2z"
134+
"url": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/sa8-rjy-zkl"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -147,8 +147,8 @@
147147
"status": 204,
148148
"statusText": "No Content"
149149
},
150-
"startedDateTime": "2025-02-05T13:46:11.965Z",
151-
"time": 441
150+
"startedDateTime": "2026-03-13T09:35:06.510Z",
151+
"time": 73
152152
}
153153
],
154154
"pages": [],

features/v2/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@
10301030
],
10311031
"step": "there is a valid \"create_scorecard_rule\" in the system",
10321032
"key": "create_scorecard_rule",
1033-
"tag": "Service Scorecards",
1033+
"tag": "Scorecards",
10341034
"operationId": "CreateScorecardRule"
10351035
},
10361036
{

features/v2/reference_tables.feature

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,6 @@ Feature: Reference Tables
77
And a valid "appKeyAuth" key in the system
88
And an instance of "ReferenceTables" API
99

10-
@generated @skip @team:DataDog/redapl-experiences
11-
Scenario: Batch rows query returns "Bad Request" response
12-
Given new "BatchRowsQuery" request
13-
And body with value {"data": {"attributes": {"row_ids": ["row_id_1", "row_id_2"], "table_id": "00000000-0000-0000-0000-000000000000"}, "type": "reference-tables-batch-rows-query"}}
14-
When the request is sent
15-
Then the response status is 400 Bad Request
16-
17-
@generated @skip @team:DataDog/redapl-experiences
18-
Scenario: Batch rows query returns "Not Found" response
19-
Given new "BatchRowsQuery" request
20-
And body with value {"data": {"attributes": {"row_ids": ["row_id_1", "row_id_2"], "table_id": "00000000-0000-0000-0000-000000000000"}, "type": "reference-tables-batch-rows-query"}}
21-
When the request is sent
22-
Then the response status is 404 Not Found
23-
24-
@generated @skip @team:DataDog/redapl-experiences
25-
Scenario: Batch rows query returns "Successfully retrieved rows. Some or all requested rows were found. Response includes found rows in the included section." response
26-
Given new "BatchRowsQuery" request
27-
And body with value {"data": {"attributes": {"row_ids": ["row_id_1", "row_id_2"], "table_id": "00000000-0000-0000-0000-000000000000"}, "type": "reference-tables-batch-rows-query"}}
28-
When the request is sent
29-
Then the response status is 200 Successfully retrieved rows. Some or all requested rows were found. Response includes found rows in the included section.
30-
3110
@generated @skip @team:DataDog/redapl-experiences
3211
Scenario: Create reference table returns "Bad Request" response
3312
Given new "CreateReferenceTable" request

0 commit comments

Comments
 (0)