Skip to content

Commit

Permalink
Regenerate client from commit ccbf738c of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 13, 2025
1 parent 0b804af commit 15fd106
Show file tree
Hide file tree
Showing 7 changed files with 931 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-13 18:29:31.920694",
"spec_repo_commit": "3517c947"
"regenerated": "2025-01-13 21:39:14.736919",
"spec_repo_commit": "ccbf738c"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-13 18:29:39.772020",
"spec_repo_commit": "3517c947"
"regenerated": "2025-01-13 21:39:22.732790",
"spec_repo_commit": "ccbf738c"
}
}
}
12 changes: 12 additions & 0 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2640,6 +2640,18 @@ menu:
unstable:
- v2
order: 1
- name: Delete a custom framework
url: '#delete-a-custom-framework'
identifier: security-monitoring-delete-a-custom-framework
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- DeleteCustomFramework
unstable: []
order: 4
- name: Change the triage state of a security signal
url: '#change-the-triage-state-of-a-security-signal'
identifier: security-monitoring-change-the-triage-state-of-a-security-signal
Expand Down
50 changes: 50 additions & 0 deletions content/en/api/v2/security-monitoring/examples.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
{
"DeleteCustomFramework": {
"responses": {
"200": {
"json": {
"data": {
"created_at": "integer",
"created_by": "string",
"description": "string",
"handle": "",
"icon_url": "string",
"id": "",
"name": "",
"org_id": 0,
"updated_at": "integer",
"version": ""
}
},
"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>Response object for an organization&#39;s custom frameworks.</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\">created_at</p>\n </div>\n <div class=\"col-2 column\"><p>int64</p></div>\n <div class=\"col-6 column\"><p>Framework Creation Date</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\">created_by</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Creator</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\">description</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Description</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\">handle&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Handle</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\">icon_url</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Icon URL</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\">id&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Custom Framework ID</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\">name&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Name</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\">org_id&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>int64</p></div>\n <div class=\"col-6 column\"><p>Org ID</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\">updated_at</p>\n </div>\n <div class=\"col-2 column\"><p>int64</p></div>\n <div class=\"col-6 column\"><p>Framework Update Date</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\">version&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Framework Version</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
},
"400": {
"json": {
"errors": [
"Bad Request"
]
},
"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>"
},
"429": {
"json": {
"errors": [
"Bad Request"
]
},
"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>"
},
"500": {
"json": {
"errors": [
"Bad Request"
]
},
"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>"
}
},
"request": {
"json_curl": {},
"json": {},
"html": ""
}
},
"ListFindings": {
"responses": {
"200": {
Expand Down
111 changes: 111 additions & 0 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,27 @@ components:
required: true
schema:
type: string
CustomFrameworkHandle:
description: The framework handle.
in: path
name: handle
required: true
schema:
type: string
CustomFrameworkOrgID:
description: The ID of the organization.
in: path
name: org_id
required: true
schema:
type: string
CustomFrameworkVersion:
description: The framework version.
in: path
name: version
required: true
schema:
type: string
EntityID:
description: UUID or Entity Ref.
in: path
Expand Down Expand Up @@ -7964,6 +7985,54 @@ components:
$ref: '#/components/schemas/CustomDestinationResponseDefinition'
type: array
type: object
CustomFrameworkMetadata:
description: Response object for an organization's custom frameworks.
properties:
created_at:
description: Framework Creation Date
format: int64
type: integer
created_by:
description: Framework Creator
type: string
description:
description: Framework Description
type: string
handle:
description: Framework Handle
example: ''
type: string
icon_url:
description: Framework Icon URL
type: string
id:
description: Custom Framework ID
example: ''
type: string
name:
description: Framework Name
example: ''
type: string
org_id:
description: Org ID
example: 0
format: int64
type: integer
updated_at:
description: Framework Update Date
format: int64
type: integer
version:
description: Framework Version
example: ''
type: string
required:
- id
- org_id
- handle
- version
- name
type: object
DORADeploymentRequest:
description: Request to create a DORA deployment event.
properties:
Expand Down Expand Up @@ -8370,6 +8439,12 @@ components:
type: number
type: array
type: object
DeleteCustomFrameworkResponse:
description: Delete a custom framework.
properties:
data:
$ref: '#/components/schemas/CustomFrameworkMetadata'
type: object
DependencyLocation:
description: Static library vulnerability location.
properties:
Expand Down Expand Up @@ -40660,6 +40735,42 @@ paths:
- org_management
x-undo:
type: idempotent
/api/v2/orgs/{org_id}/cloud_security_management/custom_frameworks/{handle}/{version}:
get:
description: Delete a custom framework.
operationId: DeleteCustomFramework
parameters:
- $ref: '#/components/parameters/CustomFrameworkOrgID'
- $ref: '#/components/parameters/CustomFrameworkHandle'
- $ref: '#/components/parameters/CustomFrameworkVersion'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteCustomFrameworkResponse'
description: OK
'400':
$ref: '#/components/responses/BadRequestResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
'500':
$ref: '#/components/responses/BadRequestResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- security_monitoring_rules_read
summary: Delete a custom framework
tags:
- Security Monitoring
x-menu-order: 4
x-permission:
operator: OR
permissions:
- security_monitoring_rules_read
x-undo:
type: safe
/api/v2/permissions:
get:
description: Returns a list of all permissions, including name, description,
Expand Down
Loading

0 comments on commit 15fd106

Please sign in to comment.