Skip to content

Commit 88f977d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit af4723d of spec repo
1 parent 35fd661 commit 88f977d

51 files changed

Lines changed: 1816 additions & 159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.generator/schemas/v2/openapi.yaml

Lines changed: 196 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,9 @@ components:
11401140
schema:
11411141
type: string
11421142
PersonalAccessTokenID:
1143-
description: The ID of the personal access token.
1143+
description: The UUID of the personal access token.
11441144
in: path
1145-
name: pat_id
1145+
name: pat_uuid
11461146
required: true
11471147
schema:
11481148
example: "00000000-0000-1234-0000-000000000000"
@@ -29288,6 +29288,11 @@ components:
2928829288
FullPersonalAccessTokenAttributes:
2928929289
description: Attributes of a full personal access token, including the token key.
2929029290
properties:
29291+
alias:
29292+
description: The alias (short identifier) of the personal access token.
29293+
example: "2H9MCNMBM8FQjQ16YucXkX"
29294+
readOnly: true
29295+
type: string
2929129296
created_at:
2929229297
description: Creation date of the personal access token.
2929329298
example: "2024-01-01T00:00:00+00:00"
@@ -45004,6 +45009,123 @@ components:
4500445009
meta:
4500545010
$ref: "#/components/schemas/MonthlyCostAttributionMeta"
4500645011
type: object
45012+
MuteDataType:
45013+
default: mute
45014+
description: Mute resource type.
45015+
enum:
45016+
- mute
45017+
example: mute
45018+
type: string
45019+
x-enum-varnames:
45020+
- MUTE
45021+
MuteFindingsMuteAttributes:
45022+
description: Mute properties to apply to the findings.
45023+
properties:
45024+
description:
45025+
description: Additional information about the reason why the findings are muted or unmuted. This field has a maximum limit of 280 characters.
45026+
example: "To be resolved later."
45027+
type: string
45028+
expiration_date:
45029+
description: >-
45030+
The expiration date of the mute action (Unix ms). It must be set to a value greater than the current timestamp. If this field is not provided, the finding will be muted indefinitely.
45031+
example: 1778721573794
45032+
format: int64
45033+
type: integer
45034+
muted:
45035+
description: Whether the findings should be muted or unmuted.
45036+
example: true
45037+
type: boolean
45038+
reason:
45039+
$ref: "#/components/schemas/MuteFindingsReason"
45040+
description: The reason why the findings are muted or unmuted.
45041+
required:
45042+
- muted
45043+
- reason
45044+
type: object
45045+
MuteFindingsReason:
45046+
description: The reason why the finding is muted or unmuted.
45047+
enum:
45048+
- PENDING_FIX
45049+
- FALSE_POSITIVE
45050+
- OTHER
45051+
- NO_FIX
45052+
- DUPLICATE
45053+
- RISK_ACCEPTED
45054+
- NO_PENDING_FIX
45055+
- HUMAN_ERROR
45056+
- NO_LONGER_ACCEPTED_RISK
45057+
example: PENDING_FIX
45058+
type: string
45059+
x-enum-varnames:
45060+
- PENDING_FIX
45061+
- FALSE_POSITIVE
45062+
- OTHER
45063+
- NO_FIX
45064+
- DUPLICATE
45065+
- RISK_ACCEPTED
45066+
- NO_PENDING_FIX
45067+
- HUMAN_ERROR
45068+
- NO_LONGER_ACCEPTED_RISK
45069+
MuteFindingsRequest:
45070+
description: Request to mute or unmute security findings.
45071+
properties:
45072+
data:
45073+
$ref: "#/components/schemas/MuteFindingsRequestData"
45074+
required:
45075+
- data
45076+
type: object
45077+
MuteFindingsRequestData:
45078+
description: Data of the mute request.
45079+
properties:
45080+
attributes:
45081+
$ref: "#/components/schemas/MuteFindingsRequestDataAttributes"
45082+
id:
45083+
description: Unique identifier of the mute request.
45084+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45085+
type: string
45086+
relationships:
45087+
$ref: "#/components/schemas/MuteFindingsRequestDataRelationships"
45088+
type:
45089+
$ref: "#/components/schemas/MuteDataType"
45090+
required:
45091+
- type
45092+
type: object
45093+
MuteFindingsRequestDataAttributes:
45094+
description: Attributes of the mute request.
45095+
properties:
45096+
mute:
45097+
$ref: "#/components/schemas/MuteFindingsMuteAttributes"
45098+
required:
45099+
- mute
45100+
type: object
45101+
MuteFindingsRequestDataRelationships:
45102+
description: Relationships of the mute request.
45103+
properties:
45104+
findings:
45105+
$ref: "#/components/schemas/Findings"
45106+
description: Security findings to mute or unmute.
45107+
required:
45108+
- findings
45109+
type: object
45110+
MuteFindingsResponse:
45111+
description: Response for the mute or unmute request.
45112+
properties:
45113+
data:
45114+
$ref: "#/components/schemas/MuteFindingsResponseData"
45115+
type: object
45116+
MuteFindingsResponseData:
45117+
description: Data of the mute response.
45118+
properties:
45119+
id:
45120+
description: Unique identifier of the mute request.
45121+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45122+
type: string
45123+
type:
45124+
$ref: "#/components/schemas/MuteDataType"
45125+
required:
45126+
- type
45127+
- id
45128+
type: object
4500745129
NotebookCreateData:
4500845130
description: Notebook creation data
4500945131
properties:
@@ -53518,6 +53640,11 @@ components:
5351853640
PersonalAccessTokenAttributes:
5351953641
description: Attributes of a personal access token.
5352053642
properties:
53643+
alias:
53644+
description: The alias (short identifier) of the personal access token.
53645+
example: "2H9MCNMBM8FQjQ16YucXkX"
53646+
readOnly: true
53647+
type: string
5352153648
created_at:
5352253649
description: Creation date of the personal access token.
5352353650
example: "2024-01-01T00:00:00+00:00"
@@ -78063,10 +78190,6 @@ components:
7806378190
description: Title of the user.
7806478191
nullable: true
7806578192
type: string
78066-
uuid:
78067-
description: UUID of the user.
78068-
readOnly: true
78069-
type: string
7807078193
verified:
7807178194
description: Whether the user is verified.
7807278195
type: boolean
@@ -109759,7 +109882,7 @@ paths:
109759109882
operator: OR
109760109883
permissions:
109761109884
- user_app_keys
109762-
/api/v2/personal_access_tokens/{pat_id}:
109885+
/api/v2/personal_access_tokens/{pat_uuid}:
109763109886
delete:
109764109887
description: Revoke a specific personal access token.
109765109888
operationId: RevokePersonalAccessToken
@@ -116522,6 +116645,71 @@ paths:
116522116645
permissions:
116523116646
- security_monitoring_findings_write
116524116647
- appsec_vm_write
116648+
/api/v2/security/findings/mute:
116649+
patch:
116650+
description: >-
116651+
Mute or unmute security findings.
116652+
116653+
You can mute or unmute up to 100 security findings per request. The request body must include `muted` and `reason` attributes. The allowed reasons depend on whether the finding is being muted or unmuted:
116654+
- To mute a finding: `PENDING_FIX`, `FALSE_POSITIVE`, `OTHER`, `NO_FIX`, `DUPLICATE`, `RISK_ACCEPTED`.
116655+
- To unmute a finding: `NO_PENDING_FIX`, `HUMAN_ERROR`, `NO_LONGER_ACCEPTED_RISK`, `OTHER`.
116656+
operationId: MuteSecurityFindings
116657+
requestBody:
116658+
content:
116659+
application/json:
116660+
examples:
116661+
default:
116662+
value:
116663+
data:
116664+
attributes:
116665+
mute:
116666+
description: "To be resolved later."
116667+
expiration_date: 1778721573794
116668+
muted: true
116669+
reason: "RISK_ACCEPTED"
116670+
relationships:
116671+
findings:
116672+
data:
116673+
- id: "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="
116674+
type: "findings"
116675+
type: "mute"
116676+
schema:
116677+
$ref: "#/components/schemas/MuteFindingsRequest"
116678+
required: true
116679+
responses:
116680+
"202":
116681+
content:
116682+
application/json:
116683+
schema:
116684+
$ref: "#/components/schemas/MuteFindingsResponse"
116685+
description: Accepted
116686+
"400":
116687+
$ref: "#/components/responses/BadRequestResponse"
116688+
"401":
116689+
$ref: "#/components/responses/UnauthorizedResponse"
116690+
"404":
116691+
$ref: "#/components/responses/NotFoundResponse"
116692+
"422":
116693+
content:
116694+
application/json:
116695+
schema:
116696+
$ref: "#/components/schemas/JSONAPIErrorResponse"
116697+
description: "Unprocessable Entity"
116698+
"429":
116699+
$ref: "#/components/responses/TooManyRequestsResponse"
116700+
security:
116701+
- apiKeyAuth: []
116702+
appKeyAuth: []
116703+
- AuthZ: []
116704+
summary: Mute or unmute security findings
116705+
tags:
116706+
- "Security Monitoring"
116707+
x-codegen-request-body-name: body
116708+
"x-permission":
116709+
operator: OR
116710+
permissions:
116711+
- security_monitoring_findings_write
116712+
- appsec_vm_write
116525116713
/api/v2/security/findings/search:
116526116714
post:
116527116715
description: |-
@@ -121338,7 +121526,7 @@ paths:
121338121526
operator: OR
121339121527
permissions:
121340121528
- service_account_write
121341-
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id}:
121529+
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid}:
121342121530
delete:
121343121531
description: Revoke a specific access token for a service account.
121344121532
operationId: RevokeServiceAccountAccessToken
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-23T10:44:51.206Z

cassettes/features/v2/security_monitoring/Mute-security-findings-returns-Accepted-response.yml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-23T09:16:16.320Z

cassettes/features/v2/security_monitoring/Mute-security-findings-returns-Bad-Request-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-23T09:16:28.126Z

cassettes/features/v2/security_monitoring/Mute-security-findings-returns-Not-Found-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-23T09:16:40.868Z

cassettes/features/v2/security_monitoring/Mute-security-findings-returns-Unprocessable-Entity-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2026-04-23T10:45:08.232Z

0 commit comments

Comments
 (0)