@@ -162,6 +162,14 @@ components:
162
162
required: true
163
163
schema:
164
164
type: string
165
+ AwsAccountId:
166
+ description: The ID of an AWS account.
167
+ example: '123456789012'
168
+ in: path
169
+ name: account_id
170
+ required: true
171
+ schema:
172
+ type: string
165
173
CaseIDPathParameter:
166
174
description: Case's UUID or key
167
175
example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504
@@ -1742,6 +1750,10 @@ components:
1742
1750
type: string
1743
1751
type: array
1744
1752
type: object
1753
+ AccountId:
1754
+ description: The ID of the AWS account.
1755
+ example: '184366314700'
1756
+ type: string
1745
1757
ActionConnectionAttributes:
1746
1758
description: The definition of `ActionConnectionAttributes` object.
1747
1759
properties:
@@ -2879,6 +2891,10 @@ components:
2879
2891
type: string
2880
2892
x-enum-varnames:
2881
2893
- AUTHN_MAPPINGS
2894
+ AwsAccountId:
2895
+ description: The ID of an AWS account.
2896
+ example: '123456789012'
2897
+ type: string
2882
2898
AwsCURConfig:
2883
2899
description: AWS CUR config.
2884
2900
properties:
@@ -3104,6 +3120,28 @@ components:
3104
3120
example: true
3105
3121
type: boolean
3106
3122
type: object
3123
+ AwsScanOptionsCreateData:
3124
+ description: Object for the scan options of a single AWS account.
3125
+ properties:
3126
+ attributes:
3127
+ $ref: '#/components/schemas/AwsScanOptionsAttributes'
3128
+ id:
3129
+ $ref: '#/components/schemas/AwsAccountId'
3130
+ type:
3131
+ $ref: '#/components/schemas/AwsScanOptionsType'
3132
+ required:
3133
+ - id
3134
+ - attributes
3135
+ - type
3136
+ type: object
3137
+ AwsScanOptionsCreateRequest:
3138
+ description: Request object that includes the scan options to create.
3139
+ properties:
3140
+ data:
3141
+ $ref: '#/components/schemas/AwsScanOptionsCreateData'
3142
+ required:
3143
+ - data
3144
+ type: object
3107
3145
AwsScanOptionsData:
3108
3146
description: Single AWS Scan Options entry.
3109
3147
properties:
@@ -3116,7 +3154,7 @@ components:
3116
3154
type:
3117
3155
$ref: '#/components/schemas/AwsScanOptionsType'
3118
3156
type: object
3119
- AwsScanOptionsResponse :
3157
+ AwsScanOptionsListResponse :
3120
3158
description: Response object that includes a list of AWS scan options.
3121
3159
properties:
3122
3160
data:
@@ -3125,6 +3163,12 @@ components:
3125
3163
$ref: '#/components/schemas/AwsScanOptionsData'
3126
3164
type: array
3127
3165
type: object
3166
+ AwsScanOptionsResponse:
3167
+ description: Response object that includes the scan options of an AWS account.
3168
+ properties:
3169
+ data:
3170
+ $ref: '#/components/schemas/AwsScanOptionsData'
3171
+ type: object
3128
3172
AwsScanOptionsType:
3129
3173
default: aws_scan_options
3130
3174
description: The type of the resource. The value should always be `aws_scan_options`.
@@ -3134,6 +3178,48 @@ components:
3134
3178
type: string
3135
3179
x-enum-varnames:
3136
3180
- AWS_SCAN_OPTIONS
3181
+ AwsScanOptionsUpdateAttributes:
3182
+ description: Attributes for the AWS scan options to update.
3183
+ properties:
3184
+ lambda:
3185
+ description: Indicates if scanning of Lambda functions is enabled.
3186
+ example: true
3187
+ type: boolean
3188
+ sensitive_data:
3189
+ description: Indicates if scanning for sensitive data is enabled.
3190
+ example: false
3191
+ type: boolean
3192
+ vuln_containers_os:
3193
+ description: Indicates if scanning for vulnerabilities in containers is
3194
+ enabled.
3195
+ example: true
3196
+ type: boolean
3197
+ vuln_host_os:
3198
+ description: Indicates if scanning for vulnerabilities in hosts is enabled.
3199
+ example: true
3200
+ type: boolean
3201
+ type: object
3202
+ AwsScanOptionsUpdateData:
3203
+ description: Object for the scan options of a single AWS account.
3204
+ properties:
3205
+ attributes:
3206
+ $ref: '#/components/schemas/AwsScanOptionsUpdateAttributes'
3207
+ id:
3208
+ $ref: '#/components/schemas/AccountId'
3209
+ type:
3210
+ $ref: '#/components/schemas/AwsScanOptionsType'
3211
+ required:
3212
+ - attributes
3213
+ - type
3214
+ type: object
3215
+ AwsScanOptionsUpdateRequest:
3216
+ description: Request object that includes the scan options to update.
3217
+ properties:
3218
+ data:
3219
+ $ref: '#/components/schemas/AwsScanOptionsUpdateData'
3220
+ required:
3221
+ - data
3222
+ type: object
3137
3223
AzureUCConfig:
3138
3224
description: Azure config.
3139
3225
properties:
@@ -32639,7 +32725,7 @@ paths:
32639
32725
content:
32640
32726
application/json:
32641
32727
schema:
32642
- $ref: '#/components/schemas/AwsScanOptionsResponse '
32728
+ $ref: '#/components/schemas/AwsScanOptionsListResponse '
32643
32729
description: OK
32644
32730
'403':
32645
32731
$ref: '#/components/responses/NotAuthorizedResponse'
@@ -32648,6 +32734,82 @@ paths:
32648
32734
summary: Get AWS Scan Options
32649
32735
tags:
32650
32736
- Agentless Scanning
32737
+ post:
32738
+ description: Activate Agentless scan options for an AWS account.
32739
+ operationId: CreateAwsScanOptions
32740
+ requestBody:
32741
+ content:
32742
+ application/json:
32743
+ schema:
32744
+ $ref: '#/components/schemas/AwsScanOptionsCreateRequest'
32745
+ description: The definition of the new scan options.
32746
+ required: true
32747
+ responses:
32748
+ '201':
32749
+ content:
32750
+ application/json:
32751
+ schema:
32752
+ $ref: '#/components/schemas/AwsScanOptionsResponse'
32753
+ description: Agentless scan options enabled successfully.
32754
+ '400':
32755
+ $ref: '#/components/responses/BadRequestResponse'
32756
+ '403':
32757
+ $ref: '#/components/responses/NotAuthorizedResponse'
32758
+ '409':
32759
+ $ref: '#/components/responses/ConflictResponse'
32760
+ '429':
32761
+ $ref: '#/components/responses/TooManyRequestsResponse'
32762
+ summary: Post AWS Scan Options
32763
+ tags:
32764
+ - Agentless Scanning
32765
+ x-codegen-request-body-name: body
32766
+ /api/v2/agentless_scanning/accounts/aws/{account_id}:
32767
+ delete:
32768
+ description: Delete Agentless scan options for an AWS account.
32769
+ operationId: DeleteAwsScanOptions
32770
+ parameters:
32771
+ - $ref: '#/components/parameters/AwsAccountId'
32772
+ responses:
32773
+ '204':
32774
+ description: No Content
32775
+ '400':
32776
+ $ref: '#/components/responses/BadRequestResponse'
32777
+ '403':
32778
+ $ref: '#/components/responses/NotAuthorizedResponse'
32779
+ '404':
32780
+ $ref: '#/components/responses/NotFoundResponse'
32781
+ '429':
32782
+ $ref: '#/components/responses/TooManyRequestsResponse'
32783
+ summary: Delete AWS Scan Options
32784
+ tags:
32785
+ - Agentless Scanning
32786
+ patch:
32787
+ description: Update the Agentless scan options for an activated account.
32788
+ operationId: UpdateAwsScanOptions
32789
+ parameters:
32790
+ - $ref: '#/components/parameters/AwsAccountId'
32791
+ requestBody:
32792
+ content:
32793
+ application/json:
32794
+ schema:
32795
+ $ref: '#/components/schemas/AwsScanOptionsUpdateRequest'
32796
+ description: New definition of the scan options.
32797
+ required: true
32798
+ responses:
32799
+ '204':
32800
+ description: No Content
32801
+ '400':
32802
+ $ref: '#/components/responses/BadRequestResponse'
32803
+ '403':
32804
+ $ref: '#/components/responses/NotAuthorizedResponse'
32805
+ '404':
32806
+ $ref: '#/components/responses/NotFoundResponse'
32807
+ '429':
32808
+ $ref: '#/components/responses/TooManyRequestsResponse'
32809
+ summary: Patch AWS Scan Options
32810
+ tags:
32811
+ - Agentless Scanning
32812
+ x-codegen-request-body-name: body
32651
32813
/api/v2/api_keys:
32652
32814
get:
32653
32815
description: List all API keys available for your account.
@@ -51408,7 +51570,7 @@ tags:
51408
51570
- description: "Datadog Agentless Scanning provides visibility into risks and vulnerabilities\nwithin
51409
51571
your hosts, running containers, and serverless functions\u2014all without\nrequiring
51410
51572
teams to install Agents on every host or where Agents cannot be installed.\nGo
51411
- to https://www.datadoghq.com/blog/agentless-scanning/ to learn more"
51573
+ to https://www.datadoghq.com/blog/agentless-scanning/ to learn more. "
51412
51574
name: Agentless Scanning
51413
51575
- description: Datadog App Builder provides a low-code solution to rapidly develop
51414
51576
and integrate secure, customized applications into your monitoring stack that
0 commit comments