Skip to content

Commit e74cec2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f7ed191b of spec repo
1 parent c2d8cd8 commit e74cec2

File tree

7 files changed

+483
-35
lines changed

7 files changed

+483
-35
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": "2025-08-25 18:47:02.506137",
8-
"spec_repo_commit": "1e6c3469"
7+
"regenerated": "2025-08-27 01:23:23.182670",
8+
"spec_repo_commit": "f7ed191b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-08-25 18:47:12.680271",
13-
"spec_repo_commit": "1e6c3469"
12+
"regenerated": "2025-08-27 01:23:33.257754",
13+
"spec_repo_commit": "f7ed191b"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5083,7 +5083,7 @@ menu:
50835083
operationids:
50845084
- GetAwsOnDemandTask
50855085
unstable: []
5086-
order: 6
5086+
order: 7
50875087
- name: Post an AWS on demand task
50885088
url: '#post-an-aws-on-demand-task'
50895089
identifier: agentless-scanning-post-an-aws-on-demand-task
@@ -5095,7 +5095,7 @@ menu:
50955095
operationids:
50965096
- CreateAwsOnDemandTask
50975097
unstable: []
5098-
order: 7
5098+
order: 8
50995099
- name: Get AWS On Demand tasks
51005100
url: '#get-aws-on-demand-tasks'
51015101
identifier: agentless-scanning-get-aws-on-demand-tasks
@@ -5107,7 +5107,7 @@ menu:
51075107
operationids:
51085108
- ListAwsOnDemandTasks
51095109
unstable: []
5110-
order: 5
5110+
order: 6
51115111
- name: Patch AWS Scan Options
51125112
url: '#patch-aws-scan-options'
51135113
identifier: agentless-scanning-patch-aws-scan-options
@@ -5119,7 +5119,19 @@ menu:
51195119
operationids:
51205120
- UpdateAwsScanOptions
51215121
unstable: []
5122-
order: 3
5122+
order: 4
5123+
- name: Get AWS scan options
5124+
url: '#get-aws-scan-options'
5125+
identifier: agentless-scanning-get-aws-scan-options
5126+
parent: agentless-scanning
5127+
generated: true
5128+
params:
5129+
versions:
5130+
- v2
5131+
operationids:
5132+
- GetAwsScanOptions
5133+
unstable: []
5134+
order: 2
51235135
- name: Delete AWS Scan Options
51245136
url: '#delete-aws-scan-options'
51255137
identifier: agentless-scanning-delete-aws-scan-options
@@ -5131,7 +5143,7 @@ menu:
51315143
operationids:
51325144
- DeleteAwsScanOptions
51335145
unstable: []
5134-
order: 4
5146+
order: 5
51355147
- name: Post AWS Scan Options
51365148
url: '#post-aws-scan-options'
51375149
identifier: agentless-scanning-post-aws-scan-options
@@ -5143,10 +5155,10 @@ menu:
51435155
operationids:
51445156
- CreateAwsScanOptions
51455157
unstable: []
5146-
order: 2
5147-
- name: Get AWS Scan Options
5148-
url: '#get-aws-scan-options'
5149-
identifier: agentless-scanning-get-aws-scan-options
5158+
order: 3
5159+
- name: List AWS Scan Options
5160+
url: '#list-aws-scan-options'
5161+
identifier: agentless-scanning-list-aws-scan-options
51505162
parent: agentless-scanning
51515163
generated: true
51525164
params:

content/en/api/v2/agentless-scanning/examples.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,54 @@
160160
"html": ""
161161
}
162162
},
163+
"GetAwsScanOptions": {
164+
"responses": {
165+
"200": {
166+
"json": {
167+
"data": {
168+
"attributes": {
169+
"lambda": true,
170+
"sensitive_data": false,
171+
"vuln_containers_os": true,
172+
"vuln_host_os": true
173+
},
174+
"id": "184366314700",
175+
"type": "aws_scan_options"
176+
}
177+
},
178+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>Single AWS Scan Options entry.</p></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>Attributes for the AWS scan options.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">lambda</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"><p>Indicates if scanning of Lambda functions is enabled.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">sensitive_data</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"><p>Indicates if scanning for sensitive data is enabled.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">vuln_containers_os</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"><p>Indicates if scanning for vulnerabilities in containers is enabled.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">vuln_host_os</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"><p>Indicates if scanning for vulnerabilities in hosts is enabled.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">id</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>The ID of the AWS account.</p></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">type</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>The type of the resource. The value should always be <code>aws_scan_options</code>. \nAllowed enum values: <code>aws_scan_options</code></p><p>default: <code>aws_scan_options</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
179+
},
180+
"403": {
181+
"json": {
182+
"errors": [
183+
"Bad Request"
184+
]
185+
},
186+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
187+
},
188+
"404": {
189+
"json": {
190+
"errors": [
191+
"Bad Request"
192+
]
193+
},
194+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
195+
},
196+
"429": {
197+
"json": {
198+
"errors": [
199+
"Bad Request"
200+
]
201+
},
202+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
203+
}
204+
},
205+
"request": {
206+
"json_curl": {},
207+
"json": {},
208+
"html": ""
209+
}
210+
},
163211
"UpdateAwsScanOptions": {
164212
"responses": {
165213
"400": {

data/api/v2/full_spec.yaml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46819,9 +46819,13 @@ paths:
4681946819
$ref: '#/components/responses/NotAuthorizedResponse'
4682046820
'429':
4682146821
$ref: '#/components/responses/TooManyRequestsResponse'
46822-
summary: Get AWS Scan Options
46822+
summary: List AWS Scan Options
4682346823
tags:
4682446824
- Agentless Scanning
46825+
x-given:
46826+
aws_scan_options:
46827+
source: data[0]
46828+
step: there is a valid "aws_scan_options" in the system
4682546829
x-menu-order: 1
4682646830
x-undo:
4682746831
type: safe
@@ -46854,7 +46858,7 @@ paths:
4685446858
tags:
4685546859
- Agentless Scanning
4685646860
x-codegen-request-body-name: body
46857-
x-menu-order: 2
46861+
x-menu-order: 3
4685846862
x-undo:
4685946863
operationId: DeleteAwsScanOptions
4686046864
parameters:
@@ -46881,9 +46885,33 @@ paths:
4688146885
summary: Delete AWS Scan Options
4688246886
tags:
4688346887
- Agentless Scanning
46884-
x-menu-order: 4
46888+
x-menu-order: 5
4688546889
x-undo:
4688646890
type: idempotent
46891+
get:
46892+
description: Fetches the Agentless scan options for an activated account.
46893+
operationId: GetAwsScanOptions
46894+
parameters:
46895+
- $ref: '#/components/parameters/AwsAccountId'
46896+
responses:
46897+
'200':
46898+
content:
46899+
application/json:
46900+
schema:
46901+
$ref: '#/components/schemas/AwsScanOptionsResponse'
46902+
description: OK
46903+
'403':
46904+
$ref: '#/components/responses/NotAuthorizedResponse'
46905+
'404':
46906+
$ref: '#/components/responses/NotFoundResponse'
46907+
'429':
46908+
$ref: '#/components/responses/TooManyRequestsResponse'
46909+
summary: Get AWS scan options
46910+
tags:
46911+
- Agentless Scanning
46912+
x-menu-order: 2
46913+
x-undo:
46914+
type: safe
4688746915
patch:
4688846916
description: Update the Agentless scan options for an activated account.
4688946917
operationId: UpdateAwsScanOptions
@@ -46911,7 +46939,7 @@ paths:
4691146939
tags:
4691246940
- Agentless Scanning
4691346941
x-codegen-request-body-name: body
46914-
x-menu-order: 3
46942+
x-menu-order: 4
4691546943
x-undo:
4691646944
type: idempotent
4691746945
/api/v2/agentless_scanning/ondemand/aws:
@@ -46932,7 +46960,7 @@ paths:
4693246960
summary: Get AWS On Demand tasks
4693346961
tags:
4693446962
- Agentless Scanning
46935-
x-menu-order: 5
46963+
x-menu-order: 6
4693646964
x-permission:
4693746965
operator: OR
4693846966
permissions:
@@ -46968,7 +46996,7 @@ paths:
4696846996
tags:
4696946997
- Agentless Scanning
4697046998
x-codegen-request-body-name: body
46971-
x-menu-order: 7
46999+
x-menu-order: 8
4697247000
x-permission:
4697347001
operator: OR
4697447002
permissions:
@@ -46999,7 +47027,7 @@ paths:
4699947027
summary: Get AWS On Demand task by id
4700047028
tags:
4700147029
- Agentless Scanning
47002-
x-menu-order: 6
47030+
x-menu-order: 7
4700347031
x-permission:
4700447032
operator: OR
4700547033
permissions:

0 commit comments

Comments
 (0)