@@ -213,6 +213,13 @@ components:
213
213
required: true
214
214
schema:
215
215
type: string
216
+ CustomFrameworkOrgID:
217
+ description: The ID of the organization.
218
+ in: path
219
+ name: org_id
220
+ required: true
221
+ schema:
222
+ type: string
216
223
EntityID:
217
224
description: UUID or Entity Ref.
218
225
in: path
@@ -7145,6 +7152,44 @@ components:
7145
7152
type: string
7146
7153
x-enum-varnames:
7147
7154
- APPDEFINITIONS
7155
+ CreateCustomFrameworkRequest:
7156
+ description: Create a custom framework.
7157
+ properties:
7158
+ description:
7159
+ description: Framework Description
7160
+ type: string
7161
+ handle:
7162
+ description: Framework Handle
7163
+ example: ''
7164
+ type: string
7165
+ icon_url:
7166
+ description: Framework Icon URL
7167
+ type: string
7168
+ id:
7169
+ description: Custom Framework ID
7170
+ type: string
7171
+ name:
7172
+ description: Framework Name
7173
+ example: ''
7174
+ type: string
7175
+ requirements:
7176
+ description: Framework Requirements
7177
+ items:
7178
+ $ref: '#/components/schemas/FrameworkRequirement'
7179
+ type: array
7180
+ user_email:
7181
+ description: Framework Creator
7182
+ type: string
7183
+ version:
7184
+ description: Framework Version
7185
+ example: ''
7186
+ type: string
7187
+ required:
7188
+ - handle
7189
+ - version
7190
+ - name
7191
+ - requirements
7192
+ type: object
7148
7193
CreateDataDeletionRequestBody:
7149
7194
description: Object needed to create a data deletion request.
7150
7195
properties:
@@ -11936,6 +11981,40 @@ components:
11936
11981
order:
11937
11982
$ref: '#/components/schemas/QuerySortOrder'
11938
11983
type: object
11984
+ FrameworkControl:
11985
+ description: Framework Control.
11986
+ properties:
11987
+ name:
11988
+ description: Control Name.
11989
+ example: ''
11990
+ type: string
11991
+ rule_ids:
11992
+ description: Rule IDs.
11993
+ example:
11994
+ - ''
11995
+ items:
11996
+ type: string
11997
+ type: array
11998
+ required:
11999
+ - name
12000
+ - rule_ids
12001
+ type: object
12002
+ FrameworkRequirement:
12003
+ description: Framework Requirement.
12004
+ properties:
12005
+ controls:
12006
+ description: Requirement Controls.
12007
+ items:
12008
+ $ref: '#/components/schemas/FrameworkControl'
12009
+ type: array
12010
+ name:
12011
+ description: Requirement Name.
12012
+ example: ''
12013
+ type: string
12014
+ required:
12015
+ - name
12016
+ - controls
12017
+ type: object
11939
12018
FullAPIKey:
11940
12019
description: Datadog API key.
11941
12020
properties:
@@ -30263,6 +30342,12 @@ components:
30263
30342
scheme: bearer
30264
30343
type: http
30265
30344
x-env-name: DD_BEARER_TOKEN
30345
+ userAuth:
30346
+ description: Your Datadog User ID.
30347
+ in: header
30348
+ name: X-Datadog-UserId
30349
+ type: http
30350
+ x-env-name: X_Datadog_UserId
30266
30351
info:
30267
30352
contact:
30268
30353
@@ -40135,6 +40220,43 @@ paths:
40135
40220
operator: OR
40136
40221
permissions:
40137
40222
- org_management
40223
+ /api/v2/orgs/{org_id}/cloud_security_management/custom_frameworks:
40224
+ post:
40225
+ description: Create a custom framework.
40226
+ operationId: CreateCustomFramework
40227
+ parameters:
40228
+ - $ref: '#/components/parameters/CustomFrameworkOrgID'
40229
+ requestBody:
40230
+ content:
40231
+ application/json:
40232
+ schema:
40233
+ $ref: '#/components/schemas/CreateCustomFrameworkRequest'
40234
+ required: true
40235
+ responses:
40236
+ '200':
40237
+ description: OK
40238
+ '400':
40239
+ $ref: '#/components/responses/BadRequestResponse'
40240
+ '429':
40241
+ $ref: '#/components/responses/TooManyRequestsResponse'
40242
+ '500':
40243
+ $ref: '#/components/responses/BadRequestResponse'
40244
+ security:
40245
+ - apiKeyAuth: []
40246
+ appKeyAuth: []
40247
+ userAuth: []
40248
+ - AuthZ:
40249
+ - security_monitoring_rules_read
40250
+ - security_monitoring_rules_write
40251
+ summary: Create a custom framework
40252
+ tags:
40253
+ - Security Monitoring
40254
+ x-codegen-request-body-name: body
40255
+ x-permission:
40256
+ operator: AND
40257
+ permissions:
40258
+ - security_monitoring_rules_read
40259
+ - security_monitoring_rules_write
40138
40260
/api/v2/permissions:
40139
40261
get:
40140
40262
description: Returns a list of all permissions, including name, description,
0 commit comments