Skip to content

Commit 9b04400

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2d6272d of spec repo
1 parent 35fd661 commit 9b04400

34 files changed

Lines changed: 1643 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45004,6 +45004,123 @@ components:
4500445004
meta:
4500545005
$ref: "#/components/schemas/MonthlyCostAttributionMeta"
4500645006
type: object
45007+
MuteDataType:
45008+
default: mute
45009+
description: Mute resource type.
45010+
enum:
45011+
- mute
45012+
example: mute
45013+
type: string
45014+
x-enum-varnames:
45015+
- MUTE
45016+
MuteFindingsMuteAttributes:
45017+
description: Mute properties to apply to the findings.
45018+
properties:
45019+
description:
45020+
description: Additional information about the reason why the findings are muted or unmuted. This field has a limit of 280 characters.
45021+
example: "To be resolved later."
45022+
type: string
45023+
expiration_date:
45024+
description: >-
45025+
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 findings remain muted indefinitely.
45026+
example: 1778721573794
45027+
format: int64
45028+
type: integer
45029+
muted:
45030+
description: Whether the findings should be muted or unmuted.
45031+
example: true
45032+
type: boolean
45033+
reason:
45034+
$ref: "#/components/schemas/MuteFindingsReason"
45035+
description: The reason why the findings are muted or unmuted.
45036+
required:
45037+
- muted
45038+
- reason
45039+
type: object
45040+
MuteFindingsReason:
45041+
description: The reason why the findings are muted or unmuted.
45042+
enum:
45043+
- PENDING_FIX
45044+
- FALSE_POSITIVE
45045+
- OTHER
45046+
- NO_FIX
45047+
- DUPLICATE
45048+
- RISK_ACCEPTED
45049+
- NO_PENDING_FIX
45050+
- HUMAN_ERROR
45051+
- NO_LONGER_ACCEPTED_RISK
45052+
example: PENDING_FIX
45053+
type: string
45054+
x-enum-varnames:
45055+
- PENDING_FIX
45056+
- FALSE_POSITIVE
45057+
- OTHER
45058+
- NO_FIX
45059+
- DUPLICATE
45060+
- RISK_ACCEPTED
45061+
- NO_PENDING_FIX
45062+
- HUMAN_ERROR
45063+
- NO_LONGER_ACCEPTED_RISK
45064+
MuteFindingsRequest:
45065+
description: Request to mute or unmute security findings.
45066+
properties:
45067+
data:
45068+
$ref: "#/components/schemas/MuteFindingsRequestData"
45069+
required:
45070+
- data
45071+
type: object
45072+
MuteFindingsRequestData:
45073+
description: Data of the mute request.
45074+
properties:
45075+
attributes:
45076+
$ref: "#/components/schemas/MuteFindingsRequestDataAttributes"
45077+
id:
45078+
description: Unique identifier of the mute request.
45079+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45080+
type: string
45081+
relationships:
45082+
$ref: "#/components/schemas/MuteFindingsRequestDataRelationships"
45083+
type:
45084+
$ref: "#/components/schemas/MuteDataType"
45085+
required:
45086+
- type
45087+
type: object
45088+
MuteFindingsRequestDataAttributes:
45089+
description: Attributes of the mute request.
45090+
properties:
45091+
mute:
45092+
$ref: "#/components/schemas/MuteFindingsMuteAttributes"
45093+
required:
45094+
- mute
45095+
type: object
45096+
MuteFindingsRequestDataRelationships:
45097+
description: Relationships of the mute request.
45098+
properties:
45099+
findings:
45100+
$ref: "#/components/schemas/Findings"
45101+
description: Security findings to mute or unmute.
45102+
required:
45103+
- findings
45104+
type: object
45105+
MuteFindingsResponse:
45106+
description: Response for the mute or unmute request.
45107+
properties:
45108+
data:
45109+
$ref: "#/components/schemas/MuteFindingsResponseData"
45110+
type: object
45111+
MuteFindingsResponseData:
45112+
description: Data of the mute response.
45113+
properties:
45114+
id:
45115+
description: Unique identifier of the mute request.
45116+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45117+
type: string
45118+
type:
45119+
$ref: "#/components/schemas/MuteDataType"
45120+
required:
45121+
- type
45122+
- id
45123+
type: object
4500745124
NotebookCreateData:
4500845125
description: Notebook creation data
4500945126
properties:
@@ -116522,6 +116639,71 @@ paths:
116522116639
permissions:
116523116640
- security_monitoring_findings_write
116524116641
- appsec_vm_write
116642+
/api/v2/security/findings/mute:
116643+
patch:
116644+
description: >-
116645+
Mute or unmute security findings.
116646+
116647+
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:
116648+
- To mute a finding: `PENDING_FIX`, `FALSE_POSITIVE`, `OTHER`, `NO_FIX`, `DUPLICATE`, `RISK_ACCEPTED`.
116649+
- To unmute a finding: `NO_PENDING_FIX`, `HUMAN_ERROR`, `NO_LONGER_ACCEPTED_RISK`, `OTHER`.
116650+
operationId: MuteSecurityFindings
116651+
requestBody:
116652+
content:
116653+
application/json:
116654+
examples:
116655+
default:
116656+
value:
116657+
data:
116658+
attributes:
116659+
mute:
116660+
description: "To be resolved later."
116661+
expiration_date: 1778721573794
116662+
muted: true
116663+
reason: "RISK_ACCEPTED"
116664+
relationships:
116665+
findings:
116666+
data:
116667+
- id: "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="
116668+
type: "findings"
116669+
type: "mute"
116670+
schema:
116671+
$ref: "#/components/schemas/MuteFindingsRequest"
116672+
required: true
116673+
responses:
116674+
"202":
116675+
content:
116676+
application/json:
116677+
schema:
116678+
$ref: "#/components/schemas/MuteFindingsResponse"
116679+
description: Accepted
116680+
"400":
116681+
$ref: "#/components/responses/BadRequestResponse"
116682+
"401":
116683+
$ref: "#/components/responses/UnauthorizedResponse"
116684+
"404":
116685+
$ref: "#/components/responses/NotFoundResponse"
116686+
"422":
116687+
content:
116688+
application/json:
116689+
schema:
116690+
$ref: "#/components/schemas/JSONAPIErrorResponse"
116691+
description: "Unprocessable Entity"
116692+
"429":
116693+
$ref: "#/components/responses/TooManyRequestsResponse"
116694+
security:
116695+
- apiKeyAuth: []
116696+
appKeyAuth: []
116697+
- AuthZ: []
116698+
summary: Mute or unmute security findings
116699+
tags:
116700+
- "Security Monitoring"
116701+
x-codegen-request-body-name: body
116702+
"x-permission":
116703+
operator: OR
116704+
permissions:
116705+
- security_monitoring_findings_write
116706+
- appsec_vm_write
116525116707
/api/v2/security/findings/search:
116526116708
post:
116527116709
description: |-
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)