@@ -213,6 +213,27 @@ components:
213
213
required: true
214
214
schema:
215
215
type: string
216
+ CustomFrameworkHandle:
217
+ description: The framework handle.
218
+ in: path
219
+ name: handle
220
+ required: true
221
+ schema:
222
+ type: string
223
+ CustomFrameworkOrgID:
224
+ description: The ID of the organization.
225
+ in: path
226
+ name: org_id
227
+ required: true
228
+ schema:
229
+ type: string
230
+ CustomFrameworkVersion:
231
+ description: The framework version.
232
+ in: path
233
+ name: version
234
+ required: true
235
+ schema:
236
+ type: string
216
237
EntityID:
217
238
description: UUID or Entity Ref.
218
239
in: path
@@ -8375,6 +8396,54 @@ components:
8375
8396
$ref: '#/components/schemas/CustomDestinationResponseDefinition'
8376
8397
type: array
8377
8398
type: object
8399
+ CustomFrameworkMetadata:
8400
+ description: Response object for an organization's custom frameworks.
8401
+ properties:
8402
+ created_at:
8403
+ description: Framework Creation Date
8404
+ format: int64
8405
+ type: integer
8406
+ created_by:
8407
+ description: Framework Creator
8408
+ type: string
8409
+ description:
8410
+ description: Framework Description
8411
+ type: string
8412
+ handle:
8413
+ description: Framework Handle
8414
+ example: ''
8415
+ type: string
8416
+ icon_url:
8417
+ description: Framework Icon URL
8418
+ type: string
8419
+ id:
8420
+ description: Custom Framework ID
8421
+ example: ''
8422
+ type: string
8423
+ name:
8424
+ description: Framework Name
8425
+ example: ''
8426
+ type: string
8427
+ org_id:
8428
+ description: Org ID
8429
+ example: 0
8430
+ format: int64
8431
+ type: integer
8432
+ updated_at:
8433
+ description: Framework Update Date
8434
+ format: int64
8435
+ type: integer
8436
+ version:
8437
+ description: Framework Version
8438
+ example: ''
8439
+ type: string
8440
+ required:
8441
+ - id
8442
+ - org_id
8443
+ - handle
8444
+ - version
8445
+ - name
8446
+ type: object
8378
8447
DORADeploymentRequest:
8379
8448
description: Request to create a DORA deployment event.
8380
8449
properties:
@@ -9015,6 +9084,12 @@ components:
9015
9084
type: string
9016
9085
x-enum-varnames:
9017
9086
- APPDEFINITIONS
9087
+ DeleteCustomFrameworkResponse:
9088
+ description: Delete a custom framework.
9089
+ properties:
9090
+ data:
9091
+ $ref: '#/components/schemas/CustomFrameworkMetadata'
9092
+ type: object
9018
9093
DependencyLocation:
9019
9094
description: Static library vulnerability location.
9020
9095
properties:
@@ -40135,6 +40210,39 @@ paths:
40135
40210
operator: OR
40136
40211
permissions:
40137
40212
- org_management
40213
+ /api/v2/orgs/{org_id}/cloud_security_management/custom_frameworks/{handle}/{version}:
40214
+ get:
40215
+ description: Delete a custom framework.
40216
+ operationId: DeleteCustomFramework
40217
+ parameters:
40218
+ - $ref: '#/components/parameters/CustomFrameworkOrgID'
40219
+ - $ref: '#/components/parameters/CustomFrameworkHandle'
40220
+ - $ref: '#/components/parameters/CustomFrameworkVersion'
40221
+ responses:
40222
+ '200':
40223
+ content:
40224
+ application/json:
40225
+ schema:
40226
+ $ref: '#/components/schemas/DeleteCustomFrameworkResponse'
40227
+ description: OK
40228
+ '400':
40229
+ $ref: '#/components/responses/BadRequestResponse'
40230
+ '429':
40231
+ $ref: '#/components/responses/TooManyRequestsResponse'
40232
+ '500':
40233
+ $ref: '#/components/responses/BadRequestResponse'
40234
+ security:
40235
+ - apiKeyAuth: []
40236
+ appKeyAuth: []
40237
+ - AuthZ:
40238
+ - security_monitoring_rules_read
40239
+ summary: Delete a custom framework
40240
+ tags:
40241
+ - Security Monitoring
40242
+ x-permission:
40243
+ operator: OR
40244
+ permissions:
40245
+ - security_monitoring_rules_read
40138
40246
/api/v2/permissions:
40139
40247
get:
40140
40248
description: Returns a list of all permissions, including name, description,
0 commit comments