Skip to content

Commit f9d0399

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 671c6a4 of spec repo
1 parent 2287ef2 commit f9d0399

32 files changed

Lines changed: 1509 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45082,6 +45082,125 @@ components:
4508245082
meta:
4508345083
$ref: "#/components/schemas/MonthlyCostAttributionMeta"
4508445084
type: object
45085+
MuteDataType:
45086+
default: mute
45087+
description: Mute resource type.
45088+
enum:
45089+
- mute
45090+
example: mute
45091+
type: string
45092+
x-enum-varnames:
45093+
- MUTE
45094+
MuteFindingsMuteAttributes:
45095+
description: Mute properties to apply to the findings.
45096+
properties:
45097+
description:
45098+
description: Additional information about the reason why the findings are muted or unmuted. This field has a limit of 280 characters.
45099+
example: "To be resolved later."
45100+
type: string
45101+
expire_at:
45102+
description: >-
45103+
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.
45104+
example: 1778721573794
45105+
format: int64
45106+
type: integer
45107+
is_muted:
45108+
description: Whether the findings should be muted or unmuted.
45109+
example: true
45110+
type: boolean
45111+
reason:
45112+
$ref: "#/components/schemas/MuteFindingsReason"
45113+
description: The reason why the findings are muted or unmuted.
45114+
required:
45115+
- is_muted
45116+
- reason
45117+
type: object
45118+
MuteFindingsReason:
45119+
description: The reason why the findings are muted or unmuted.
45120+
enum:
45121+
- PENDING_FIX
45122+
- FALSE_POSITIVE
45123+
- OTHER
45124+
- NO_FIX
45125+
- DUPLICATE
45126+
- RISK_ACCEPTED
45127+
- NO_PENDING_FIX
45128+
- HUMAN_ERROR
45129+
- NO_LONGER_ACCEPTED_RISK
45130+
example: PENDING_FIX
45131+
type: string
45132+
x-enum-varnames:
45133+
- PENDING_FIX
45134+
- FALSE_POSITIVE
45135+
- OTHER
45136+
- NO_FIX
45137+
- DUPLICATE
45138+
- RISK_ACCEPTED
45139+
- NO_PENDING_FIX
45140+
- HUMAN_ERROR
45141+
- NO_LONGER_ACCEPTED_RISK
45142+
MuteFindingsRequest:
45143+
description: Request to mute or unmute security findings.
45144+
properties:
45145+
data:
45146+
$ref: "#/components/schemas/MuteFindingsRequestData"
45147+
required:
45148+
- data
45149+
type: object
45150+
MuteFindingsRequestData:
45151+
description: Data of the mute request.
45152+
properties:
45153+
attributes:
45154+
$ref: "#/components/schemas/MuteFindingsRequestDataAttributes"
45155+
id:
45156+
description: Unique identifier of the mute request.
45157+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45158+
type: string
45159+
relationships:
45160+
$ref: "#/components/schemas/MuteFindingsRequestDataRelationships"
45161+
type:
45162+
$ref: "#/components/schemas/MuteDataType"
45163+
required:
45164+
- attributes
45165+
- relationships
45166+
- type
45167+
type: object
45168+
MuteFindingsRequestDataAttributes:
45169+
description: Attributes of the mute request.
45170+
properties:
45171+
mute:
45172+
$ref: "#/components/schemas/MuteFindingsMuteAttributes"
45173+
required:
45174+
- mute
45175+
type: object
45176+
MuteFindingsRequestDataRelationships:
45177+
description: Relationships of the mute request.
45178+
properties:
45179+
findings:
45180+
$ref: "#/components/schemas/Findings"
45181+
description: Security findings to mute or unmute.
45182+
required:
45183+
- findings
45184+
type: object
45185+
MuteFindingsResponse:
45186+
description: Response for the mute or unmute request.
45187+
properties:
45188+
data:
45189+
$ref: "#/components/schemas/MuteFindingsResponseData"
45190+
type: object
45191+
MuteFindingsResponseData:
45192+
description: Data of the mute response.
45193+
properties:
45194+
id:
45195+
description: Unique identifier of the mute request.
45196+
example: "93bfeb70-af47-424d-908a-948d3f08e37f"
45197+
type: string
45198+
type:
45199+
$ref: "#/components/schemas/MuteDataType"
45200+
required:
45201+
- type
45202+
- id
45203+
type: object
4508545204
NotebookCreateData:
4508645205
description: Notebook creation data
4508745206
properties:
@@ -118827,6 +118946,74 @@ paths:
118827118946
permissions:
118828118947
- security_monitoring_findings_write
118829118948
- appsec_vm_write
118949+
/api/v2/security/findings/mute:
118950+
patch:
118951+
description: >-
118952+
Mute or unmute security findings.
118953+
118954+
You can mute or unmute up to 100 security findings per request. The request body must include `is_muted` and `reason` attributes. The allowed reasons depend on whether the finding is being muted or unmuted:
118955+
- To mute a finding: `PENDING_FIX`, `FALSE_POSITIVE`, `OTHER`, `NO_FIX`, `DUPLICATE`, `RISK_ACCEPTED`.
118956+
- To unmute a finding: `NO_PENDING_FIX`, `HUMAN_ERROR`, `NO_LONGER_ACCEPTED_RISK`, `OTHER`.
118957+
operationId: MuteSecurityFindings
118958+
requestBody:
118959+
content:
118960+
application/json:
118961+
examples:
118962+
default:
118963+
value:
118964+
data:
118965+
attributes:
118966+
mute:
118967+
description: "To be resolved later."
118968+
expire_at: 1778721573794
118969+
is_muted: true
118970+
reason: "RISK_ACCEPTED"
118971+
relationships:
118972+
findings:
118973+
data:
118974+
- id: "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="
118975+
type: "findings"
118976+
type: "mute"
118977+
schema:
118978+
$ref: "#/components/schemas/MuteFindingsRequest"
118979+
required: true
118980+
responses:
118981+
"202":
118982+
content:
118983+
application/json:
118984+
schema:
118985+
$ref: "#/components/schemas/MuteFindingsResponse"
118986+
description: Accepted
118987+
"400":
118988+
$ref: "#/components/responses/BadRequestResponse"
118989+
"401":
118990+
$ref: "#/components/responses/UnauthorizedResponse"
118991+
"404":
118992+
$ref: "#/components/responses/NotFoundResponse"
118993+
"422":
118994+
content:
118995+
application/json:
118996+
schema:
118997+
$ref: "#/components/schemas/JSONAPIErrorResponse"
118998+
description: "Unprocessable Entity"
118999+
"429":
119000+
$ref: "#/components/responses/TooManyRequestsResponse"
119001+
security:
119002+
- apiKeyAuth: []
119003+
appKeyAuth: []
119004+
- AuthZ: []
119005+
summary: Mute or unmute security findings
119006+
tags:
119007+
- "Security Monitoring"
119008+
x-codegen-request-body-name: body
119009+
"x-permission":
119010+
operator: OR
119011+
permissions:
119012+
- security_monitoring_findings_write
119013+
- appsec_vm_write
119014+
x-unstable: |-
119015+
**Note**: This endpoint is in preview and is subject to change.
119016+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
118830119017
/api/v2/security/findings/search:
118831119018
post:
118832119019
description: |-
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-04-27T16:46:59.369Z"
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Mute security findings returns \"Accepted\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "9b3f208c877ac59268532ef78dd43be3",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 281,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 578,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "PATCH",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"To be resolved later.\",\"expire_at\":1778721573794,\"is_muted\":true,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/security/findings/mute"
39+
},
40+
"response": {
41+
"bodySize": 68,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 68,
45+
"text": "{\"data\":{\"id\":\"7a0bd082-5c8a-4ea3-a8a5-c5036e083ddb\",\"type\":\"mute\"}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 665,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 202,
58+
"statusText": "Accepted"
59+
},
60+
"startedDateTime": "2026-04-27T16:46:59.374Z",
61+
"time": 951
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-04-27T16:13:25.084Z"
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Mute security findings returns \"Not Found\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d1f8f2d176e86c8042eccaaaa6aa0d5c",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 265,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 603,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "PATCH",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"To be resolved later.\",\"expire_at\":1778721573794,\"is_muted\":true,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/security/findings/mute"
39+
},
40+
"response": {
41+
"bodySize": 78,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 78,
45+
"text": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"finding not found\"}]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 666,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 404,
58+
"statusText": "Not Found"
59+
},
60+
"startedDateTime": "2026-04-27T16:13:25.090Z",
61+
"time": 3930
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-04-27T16:19:46.205Z"

0 commit comments

Comments
 (0)