Skip to content

Commit 4812ab9

Browse files
api-clients-generation-pipeline[bot]k3nz0ci.datadog-api-spec
authored
Add endpoints to configure Security Filters (#132)
* [K9] Update cassettes * [K9] Update cassettes * Regenerate client from commit e34c19d of spec repo Co-authored-by: Moez Ezzeddine <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent cb77c02 commit 4812ab9

37 files changed

+4040
-5
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.4.1.dev6",
7-
"regenerated": "2021-05-14 17:14:04.125117",
8-
"spec_repo_commit": "a1af0e0"
7+
"regenerated": "2021-05-17 13:51:56.851506",
8+
"spec_repo_commit": "e34c19d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-14 17:14:09.394910",
13-
"spec_repo_commit": "a1af0e0"
12+
"regenerated": "2021-05-17 13:52:02.727705",
13+
"spec_repo_commit": "e34c19d"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-11T16:46:29.111Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Create a security filter returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "5.1.0"
8+
},
9+
"entries": [
10+
{
11+
"_id": "88eeb38cf60d63fcee7bbe5a8bf80cda",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 312,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "user-agent",
21+
"value": "datadog-api-client-typescript/0.1.0 (node 14.16.1; os Linux; arch x64)"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "accept",
26+
"value": "application/json, */*;q=0.8"
27+
},
28+
{
29+
"_fromType": "array",
30+
"name": "content-type",
31+
"value": "application/json"
32+
},
33+
{
34+
"_fromType": "array",
35+
"name": "x-datadog-parent-id",
36+
"value": "5020426605146906579"
37+
},
38+
{
39+
"_fromType": "array",
40+
"name": "x-datadog-trace-id",
41+
"value": "6436630674961443633"
42+
},
43+
{
44+
"_fromType": "array",
45+
"name": "content-length",
46+
"value": "312"
47+
},
48+
{
49+
"_fromType": "array",
50+
"name": "connection",
51+
"value": "close"
52+
},
53+
{
54+
"name": "host",
55+
"value": "api.datadoghq.com"
56+
}
57+
],
58+
"headersSize": 510,
59+
"httpVersion": "HTTP/1.1",
60+
"method": "POST",
61+
"postData": {
62+
"mimeType": "application/json",
63+
"params": [],
64+
"text": "{\"data\":{\"attributes\":{\"exclusion_filters\":[{\"name\":\"Exclude staging\",\"query\":\"source:staging\"}],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Create_a_security_filter_returns_OK_response-1620751589\",\"query\":\"service:TestCreateasecurityfilterreturnsOKresponse1620751589\"},\"type\":\"security_filters\"}}"
65+
},
66+
"queryString": [],
67+
"url": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters"
68+
},
69+
"response": {
70+
"bodySize": 362,
71+
"content": {
72+
"mimeType": "application/json;charset=utf-8",
73+
"size": 362,
74+
"text": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Create_a_security_filter_returns_OK_response-1620751589\",\"filtered_data_type\":\"logs\",\"exclusion_filters\":[{\"query\":\"source:staging\",\"name\":\"Exclude staging\"}],\"version\":1,\"query\":\"service:TestCreateasecurityfilterreturnsOKresponse1620751589\",\"is_builtin\":false},\"type\":\"security_filters\",\"id\":\"tuz-sj9-ft0\"}}"
75+
},
76+
"cookies": [],
77+
"headers": [
78+
{
79+
"name": "date",
80+
"value": "Wed, 12 May 2021 07:50:04 GMT"
81+
},
82+
{
83+
"name": "content-type",
84+
"value": "application/json;charset=utf-8"
85+
},
86+
{
87+
"name": "content-length",
88+
"value": "362"
89+
},
90+
{
91+
"name": "connection",
92+
"value": "close"
93+
},
94+
{
95+
"name": "vary",
96+
"value": "Accept-Encoding"
97+
},
98+
{
99+
"name": "pragma",
100+
"value": "no-cache"
101+
},
102+
{
103+
"name": "cache-control",
104+
"value": "no-cache"
105+
},
106+
{
107+
"name": "x-dd-version",
108+
"value": "35.4512853"
109+
},
110+
{
111+
"name": "content-disposition",
112+
"value": "inline"
113+
},
114+
{
115+
"name": "x-dd-debug",
116+
"value": "2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+"
117+
},
118+
{
119+
"name": "x-content-type-options",
120+
"value": "nosniff"
121+
},
122+
{
123+
"name": "strict-transport-security",
124+
"value": "max-age=15724800;"
125+
},
126+
{
127+
"name": "content-security-policy",
128+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
129+
},
130+
{
131+
"name": "x-frame-options",
132+
"value": "SAMEORIGIN"
133+
}
134+
],
135+
"headersSize": 530,
136+
"httpVersion": "HTTP/1.1",
137+
"redirectURL": "",
138+
"status": 200,
139+
"statusText": "OK"
140+
},
141+
"startedDateTime": "2021-05-12T07:50:04.388Z",
142+
"time": 118,
143+
"timings": {
144+
"blocked": -1,
145+
"connect": -1,
146+
"dns": -1,
147+
"receive": 0,
148+
"send": 0,
149+
"ssl": -1,
150+
"wait": 118
151+
}
152+
},
153+
{
154+
"_id": "1ffb91ea97a936a52d80c7f3f7b9f2cc",
155+
"_order": 0,
156+
"cache": {},
157+
"request": {
158+
"bodySize": 0,
159+
"cookies": [],
160+
"headers": [
161+
{
162+
"_fromType": "array",
163+
"name": "user-agent",
164+
"value": "datadog-api-client-typescript/0.1.0 (node 14.16.1; os Linux; arch x64)"
165+
},
166+
{
167+
"_fromType": "array",
168+
"name": "accept",
169+
"value": "application/json, */*;q=0.8"
170+
},
171+
{
172+
"_fromType": "array",
173+
"name": "x-datadog-parent-id",
174+
"value": "297466005658640111"
175+
},
176+
{
177+
"_fromType": "array",
178+
"name": "x-datadog-trace-id",
179+
"value": "6436630674961443633"
180+
},
181+
{
182+
"_fromType": "array",
183+
"name": "connection",
184+
"value": "close"
185+
},
186+
{
187+
"name": "host",
188+
"value": "api.datadoghq.com"
189+
}
190+
],
191+
"headersSize": 470,
192+
"httpVersion": "HTTP/1.1",
193+
"method": "DELETE",
194+
"queryString": [],
195+
"url": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/tuz-sj9-ft0"
196+
},
197+
"response": {
198+
"bodySize": 0,
199+
"content": {
200+
"mimeType": "text/plain",
201+
"size": 0
202+
},
203+
"cookies": [],
204+
"headers": [
205+
{
206+
"name": "date",
207+
"value": "Wed, 12 May 2021 07:50:04 GMT"
208+
},
209+
{
210+
"name": "content-length",
211+
"value": "0"
212+
},
213+
{
214+
"name": "connection",
215+
"value": "close"
216+
},
217+
{
218+
"name": "pragma",
219+
"value": "no-cache"
220+
},
221+
{
222+
"name": "cache-control",
223+
"value": "no-cache"
224+
},
225+
{
226+
"name": "x-dd-version",
227+
"value": "35.4512853"
228+
},
229+
{
230+
"name": "content-disposition",
231+
"value": "inline"
232+
},
233+
{
234+
"name": "x-dd-debug",
235+
"value": "dPySkcOzIZtKyMKDAAzuysY3gNGGj6RtYogGuSb76E8mPvoqzREyRp6lPYm91hQU"
236+
},
237+
{
238+
"name": "x-content-type-options",
239+
"value": "nosniff"
240+
},
241+
{
242+
"name": "strict-transport-security",
243+
"value": "max-age=15724800;"
244+
},
245+
{
246+
"name": "content-security-policy",
247+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
248+
},
249+
{
250+
"name": "x-frame-options",
251+
"value": "SAMEORIGIN"
252+
}
253+
],
254+
"headersSize": 459,
255+
"httpVersion": "HTTP/1.1",
256+
"redirectURL": "",
257+
"status": 204,
258+
"statusText": "No Content"
259+
},
260+
"startedDateTime": "2021-05-12T07:50:04.513Z",
261+
"time": 101,
262+
"timings": {
263+
"blocked": -1,
264+
"connect": -1,
265+
"dns": -1,
266+
"receive": 0,
267+
"send": 0,
268+
"ssl": -1,
269+
"wait": 101
270+
}
271+
}
272+
],
273+
"pages": [],
274+
"version": "1.2"
275+
}
276+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-11T16:47:12.260Z"

0 commit comments

Comments
 (0)