Skip to content

Commit 18eddb3

Browse files
Merge master into datadog-api-spec/test/d.marin/oncall-api
2 parents 5f722eb + c71a243 commit 18eddb3

File tree

30 files changed

+238
-106
lines changed

30 files changed

+238
-106
lines changed

Diff for: .apigentools-info

+4-4
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": "2025-04-03 16:28:02.680829",
8-
"spec_repo_commit": "4468962d"
7+
"regenerated": "2025-04-04 20:19:32.825096",
8+
"spec_repo_commit": "3909ab62"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-03 16:28:02.696576",
13-
"spec_repo_commit": "4468962d"
12+
"regenerated": "2025-04-04 20:19:32.841813",
13+
"spec_repo_commit": "3909ab62"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v2/openapi.yaml

+12-4
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ components:
654654
type: string
655655
ResourceID:
656656
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
657-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
658-
`app-builder-app`, `connection`, `connection-group`.'
657+
`dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`,
658+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.'
659659
example: dashboard:abc-def-ghi
660660
in: path
661661
name: resource_id
@@ -2864,13 +2864,13 @@ components:
28642864
enum:
28652865
- attack_attempt
28662866
- business_logic
2867-
- security_responses
2867+
- security_response
28682868
example: business_logic
28692869
type: string
28702870
x-enum-varnames:
28712871
- ATTACK_ATTEMPT
28722872
- BUSINESS_LOGIC
2873-
- SECURITY_RESPONSES
2873+
- SECURITY_RESPONSE
28742874
ApplicationSecurityWafCustomRuleType:
28752875
default: custom_rule
28762876
description: The type of the resource. The value should always be `custom_rule`.
@@ -46875,6 +46875,10 @@ paths:
4687546875

4687646876
- Dashboards: `dashboard`
4687746877

46878+
- Integration Accounts: `integration-account`
46879+
46880+
- Integration Webhooks: `integration-webhook`
46881+
4687846882
- Notebooks: `notebook`
4687946883

4688046884
- Powerpacks: `powerpack`
@@ -46910,6 +46914,10 @@ paths:
4691046914

4691146915
Dashboards | `viewer`, `editor`
4691246916

46917+
Integration Accounts | `viewer`, `editor`
46918+
46919+
Integration Webhooks | `viewer`, `editor`
46920+
4691346921
Notebooks | `viewer`, `editor`
4691446922

4691546923
Powerpacks | `viewer`, `editor`
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:35.383Z"
1+
"2025-03-26T20:24:59.622Z"

Diff for: cassettes/v2/Action-Connection_2186802177/Create-a-new-Action-Connection-returns-Bad-Request-response_1450134238/recording.har

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 574,
29+
"headersSize": 576,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
@@ -51,14 +51,14 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 666,
54+
"headersSize": 665,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-01-06T22:02:35.391Z",
61-
"time": 195
60+
"startedDateTime": "2025-03-26T20:24:59.626Z",
61+
"time": 94
6262
}
6363
],
6464
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:35.598Z"
1+
"2025-03-26T20:24:59.727Z"

Diff for: cassettes/v2/Action-Connection_2186802177/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response_1033790161/recording.har

+15-15
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "143d1c356301e638823fd266922b4a2b",
11+
"_id": "04556392bb7b98edb374d36633910050",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 210,
15+
"bodySize": 291,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 574,
29+
"headersSize": 576,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection DELETE_ME\"},\"type\":\"action_connection\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testcreateanewactionconnectionreturnssuccessfullycreatedactionconnectionresponse1743020699\"},\"type\":\"action_connection\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/actions/connections"
3939
},
4040
"response": {
41-
"bodySize": 333,
41+
"bodySize": 491,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 333,
45-
"text": "{\"data\":{\"id\":\"db41b6cb-ef93-45bd-9857-548e9474737c\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"external_id\":\"c6f62d439f14423b963e4dd4246af4a7\",\"principal_id\":\"464622532012\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection DELETE_ME\"}}}"
44+
"size": 491,
45+
"text": "{\"data\":{\"id\":\"67aa2f61-266d-48d1-a1ee-cf7c3acc6b20\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"external_id\":\"70f4660c99684420821b0c13a67eb4d1\",\"principal_id\":\"464622532012\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testcreateanewactionconnectionreturnssuccessfullycreatedactionconnectionresponse1743020699\"}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 666,
54+
"headersSize": 665,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-01-06T22:02:35.602Z",
61-
"time": 599
60+
"startedDateTime": "2025-03-26T20:24:59.729Z",
61+
"time": 482
6262
},
6363
{
64-
"_id": "bf4a679205b2404713abb319f5aac56c",
64+
"_id": "7561c857b4791fb9a51718620d730ba3",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,11 +74,11 @@
7474
"value": "*/*"
7575
}
7676
],
77-
"headersSize": 547,
77+
"headersSize": 549,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/actions/connections/db41b6cb-ef93-45bd-9857-548e9474737c"
81+
"url": "https://api.datadoghq.com/api/v2/actions/connections/67aa2f61-266d-48d1-a1ee-cf7c3acc6b20"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -94,8 +94,8 @@
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2025-01-06T22:02:36.212Z",
98-
"time": 245
97+
"startedDateTime": "2025-03-26T20:25:00.218Z",
98+
"time": 88
9999
}
100100
],
101101
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:36.467Z"
1+
"2025-03-26T20:25:00.311Z"

Diff for: cassettes/v2/Action-Connection_2186802177/Delete-an-existing-Action-Connection-returns-Not-Found-response_1976734023/recording.har

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "*/*"
2222
}
2323
],
24-
"headersSize": 547,
24+
"headersSize": 549,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "DELETE",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:36.471Z",
51-
"time": 154
50+
"startedDateTime": "2025-03-26T20:25:00.315Z",
51+
"time": 134
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-03-26T20:25:00.458Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"log": {
3+
"_recordingName": "Action Connection/Delete an existing Action Connection returns \"The resource was deleted successfully.\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d622b652bd44a22d15272fe726a42d5a",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 288,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 576,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testdeleteanexistingactionconnectionreturnstheresourcewasdeletedsuccessfullyresponse1743020700\"},\"type\":\"action_connection\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/actions/connections"
39+
},
40+
"response": {
41+
"bodySize": 488,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 488,
45+
"text": "{\"data\":{\"id\":\"c3c3d83b-c495-4c1b-bb1d-592825d21db0\",\"type\":\"action_connection\",\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"external_id\":\"6183670d1ceb4278808cf2df9aa03a07\",\"principal_id\":\"464622532012\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testdeleteanexistingactionconnectionreturnstheresourcewasdeletedsuccessfullyresponse1743020700\"}}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 666,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 201,
58+
"statusText": "Created"
59+
},
60+
"startedDateTime": "2025-03-26T20:25:00.463Z",
61+
"time": 494
62+
},
63+
{
64+
"_id": "67294d8d49a4c8c6e910111ce63e8aeb",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 0,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "*/*"
75+
}
76+
],
77+
"headersSize": 549,
78+
"httpVersion": "HTTP/1.1",
79+
"method": "DELETE",
80+
"queryString": [],
81+
"url": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0"
82+
},
83+
"response": {
84+
"bodySize": 0,
85+
"content": {
86+
"mimeType": "text/plain",
87+
"size": 0
88+
},
89+
"cookies": [],
90+
"headers": [],
91+
"headersSize": 605,
92+
"httpVersion": "HTTP/1.1",
93+
"redirectURL": "",
94+
"status": 204,
95+
"statusText": "No Content"
96+
},
97+
"startedDateTime": "2025-03-26T20:25:00.964Z",
98+
"time": 84
99+
},
100+
{
101+
"_id": "67294d8d49a4c8c6e910111ce63e8aeb",
102+
"_order": 1,
103+
"cache": {},
104+
"request": {
105+
"bodySize": 0,
106+
"cookies": [],
107+
"headers": [
108+
{
109+
"_fromType": "array",
110+
"name": "accept",
111+
"value": "*/*"
112+
}
113+
],
114+
"headersSize": 549,
115+
"httpVersion": "HTTP/1.1",
116+
"method": "DELETE",
117+
"queryString": [],
118+
"url": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0"
119+
},
120+
"response": {
121+
"bodySize": 131,
122+
"content": {
123+
"mimeType": "application/vnd.api+json",
124+
"size": 131,
125+
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"error deleting connection: rpc error: code = NotFound desc = connection not found\"}]}"
126+
},
127+
"cookies": [],
128+
"headers": [
129+
{
130+
"name": "content-type",
131+
"value": "application/vnd.api+json"
132+
}
133+
],
134+
"headersSize": 666,
135+
"httpVersion": "HTTP/1.1",
136+
"redirectURL": "",
137+
"status": 404,
138+
"statusText": "Not Found"
139+
},
140+
"startedDateTime": "2025-03-26T20:25:01.055Z",
141+
"time": 87
142+
}
143+
],
144+
"pages": [],
145+
"version": "1.2"
146+
}
147+
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:37.403Z"
1+
"2025-03-26T20:25:01.150Z"

Diff for: cassettes/v2/Action-Connection_2186802177/Get-an-existing-Action-Connection-returns-Bad-Request-response_416393223/recording.har

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 528,
24+
"headersSize": 530,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 400,
4848
"statusText": "Bad Request"
4949
},
50-
"startedDateTime": "2025-01-06T22:02:37.406Z",
51-
"time": 148
50+
"startedDateTime": "2025-03-26T20:25:01.155Z",
51+
"time": 82
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-06T22:02:37.563Z"
1+
"2025-03-26T20:25:01.247Z"

0 commit comments

Comments
 (0)