Skip to content

Commit c77c499

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 092c127 of spec repo (#2696)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1693749 commit c77c499

File tree

16 files changed

+429
-9
lines changed

16 files changed

+429
-9
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46152,7 +46152,7 @@ paths:
4615246152
$ref: '#/components/responses/NotAuthorizedResponse'
4615346153
'429':
4615446154
$ref: '#/components/responses/TooManyRequestsResponse'
46155-
summary: Get AWS Scan Options
46155+
summary: List AWS Scan Options
4615646156
tags:
4615746157
- Agentless Scanning
4615846158
post:
@@ -46204,6 +46204,29 @@ paths:
4620446204
summary: Delete AWS Scan Options
4620546205
tags:
4620646206
- Agentless Scanning
46207+
get:
46208+
description: Fetches the Agentless scan options for an activated account.
46209+
operationId: GetAwsScanOptions
46210+
parameters:
46211+
- $ref: '#/components/parameters/AwsAccountId'
46212+
responses:
46213+
'200':
46214+
content:
46215+
application/json:
46216+
schema:
46217+
$ref: '#/components/schemas/AwsScanOptionsResponse'
46218+
description: OK
46219+
'400':
46220+
$ref: '#/components/responses/BadRequestResponse'
46221+
'403':
46222+
$ref: '#/components/responses/NotAuthorizedResponse'
46223+
'404':
46224+
$ref: '#/components/responses/NotFoundResponse'
46225+
'429':
46226+
$ref: '#/components/responses/TooManyRequestsResponse'
46227+
summary: Get AWS scan options
46228+
tags:
46229+
- Agentless Scanning
4620746230
patch:
4620846231
description: Update the Agentless scan options for an activated account.
4620946232
operationId: UpdateAwsScanOptions

cassettes/v2/Agentless-Scanning_730042230/Get-AWS-Scan-Options-returns-OK-response_2545056747/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-08-27T13:04:35.618Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Agentless Scanning/Get AWS scan options returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "e0c25b77c22953c70beda56c6aa3ad6a",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 547,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/not-an-account-id"
29+
},
30+
"response": {
31+
"bodySize": 135,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 135,
35+
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"missing or invalid url parameter 'accountId', expected 12 digit format '123456789012'\"}]}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 525,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 400,
48+
"statusText": "Bad Request"
49+
},
50+
"startedDateTime": "2025-08-27T13:04:35.622Z",
51+
"time": 531
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-08-27T01:14:07.103Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Agentless Scanning/Get AWS scan options returns \"Not Found\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "0cd547be937c79e1e846205b41a28975",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 542,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/404404404404"
29+
},
30+
"response": {
31+
"bodySize": 96,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 96,
35+
"text": "{\"errors\":[{\"status\":\"404\",\"detail\":\"no aws scan options found for subscription 404404404404\"}]}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 524,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 404,
48+
"statusText": "Not Found"
49+
},
50+
"startedDateTime": "2025-08-27T01:14:07.108Z",
51+
"time": 523
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-08-27T01:14:24.197Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"log": {
3+
"_recordingName": "Agentless Scanning/Get AWS scan options returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "2cb6ecfe386c3349268926da480a6b5d",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 530,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws"
29+
},
30+
"response": {
31+
"bodySize": 302,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 302,
35+
"text": "{\"data\":[{\"id\":\"000000000002\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true}},{\"id\":\"123456789012\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":true,\"sensitive_data\":true,\"vuln_containers_os\":true,\"vuln_host_os\":true}}]}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 525,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2025-08-27T01:14:24.201Z",
51+
"time": 455
52+
},
53+
{
54+
"_id": "007e9c6b9af2f95aa4e9fccd2a3dc23b",
55+
"_order": 0,
56+
"cache": {},
57+
"request": {
58+
"bodySize": 0,
59+
"cookies": [],
60+
"headers": [
61+
{
62+
"_fromType": "array",
63+
"name": "accept",
64+
"value": "application/json"
65+
}
66+
],
67+
"headersSize": 542,
68+
"httpVersion": "HTTP/1.1",
69+
"method": "GET",
70+
"queryString": [],
71+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000002"
72+
},
73+
"response": {
74+
"bodySize": 155,
75+
"content": {
76+
"mimeType": "application/vnd.api+json",
77+
"size": 155,
78+
"text": "{\"data\":{\"id\":\"000000000002\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true}}}"
79+
},
80+
"cookies": [],
81+
"headers": [
82+
{
83+
"name": "content-type",
84+
"value": "application/vnd.api+json"
85+
}
86+
],
87+
"headersSize": 571,
88+
"httpVersion": "HTTP/1.1",
89+
"redirectURL": "",
90+
"status": 200,
91+
"statusText": "OK"
92+
},
93+
"startedDateTime": "2025-08-27T01:14:24.667Z",
94+
"time": 464
95+
}
96+
],
97+
"pages": [],
98+
"version": "1.2"
99+
}
100+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-08-24T22:53:40.600Z"
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"log": {
3-
"_recordingName": "Agentless Scanning/Get AWS Scan Options returns \"OK\" response",
3+
"_recordingName": "Agentless Scanning/List AWS Scan Options returns \"OK\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
@@ -28,11 +28,11 @@
2828
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws"
2929
},
3030
"response": {
31-
"bodySize": 157,
31+
"bodySize": 302,
3232
"content": {
3333
"mimeType": "application/vnd.api+json",
34-
"size": 157,
35-
"text": "{\"data\":[{\"id\":\"000000000002\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true}}]}"
34+
"size": 302,
35+
"text": "{\"data\":[{\"id\":\"000000000002\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true}},{\"id\":\"123456789012\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":true,\"sensitive_data\":true,\"vuln_containers_os\":true,\"vuln_host_os\":true}}]}"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -47,8 +47,8 @@
4747
"status": 200,
4848
"statusText": "OK"
4949
},
50-
"startedDateTime": "2025-03-01T20:02:08.558Z",
51-
"time": 323
50+
"startedDateTime": "2025-08-24T22:53:40.604Z",
51+
"time": 554
5252
}
5353
],
5454
"pages": [],

0 commit comments

Comments
 (0)