Skip to content

Commit a3fec5d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 51ffff4 of spec repo
1 parent 63def9b commit a3fec5d

33 files changed

Lines changed: 14 additions & 1517 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 191 deletions
Original file line numberDiff line numberDiff line change
@@ -45082,125 +45082,6 @@ 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
4520445085
NotebookCreateData:
4520545086
description: Notebook creation data
4520645087
properties:
@@ -106976,6 +106857,8 @@ paths:
106976106857
get:
106977106858
description: |-
106978106859
Get a list of actively reporting metrics for your organization. Pagination is optional using the `page[cursor]` and `page[size]` query parameters.
106860+
106861+
Query parameters use bracket notation (for example, `filter[tags]`, `filter[queried][window][seconds]`). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: `GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500`.
106979106862
operationId: ListTagConfigurations
106980106863
parameters:
106981106864
- description: Only return custom metrics that have been configured with Metrics Without Limits.
@@ -107015,7 +106898,7 @@ paths:
107015106898
schema:
107016106899
type: boolean
107017106900
- description: |-
107018-
Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with `filter[queried]`. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
106901+
This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
107019106902
example: 15552000
107020106903
in: query
107021106904
name: filter[queried][window][seconds]
@@ -107027,7 +106910,7 @@ paths:
107027106910
minimum: 1
107028106911
type: integer
107029106912
- description: |-
107030-
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
106913+
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
107031106914
example: "env IN (staging,test) AND service:web*"
107032106915
in: query
107033106916
name: filter[tags]
@@ -107054,7 +106937,8 @@ paths:
107054106937
maximum: 2592000
107055106938
minimum: 1
107056106939
type: integer
107057-
- description: Maximum number of results per page. Use with `page[cursor]` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
106940+
- description: |-
106941+
Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination; on each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
107058106942
in: query
107059106943
name: page[size]
107060106944
required: false
@@ -107458,7 +107342,8 @@ paths:
107458107342
operationId: EstimateMetricsOutputSeries
107459107343
parameters:
107460107344
- $ref: "#/components/parameters/MetricName"
107461-
- description: Filtered tag keys that the metric is configured to query with.
107345+
- description: |-
107346+
Comma-separated list of tag keys that the metric is configured to query with. For example: `filter[groups]=app,host`.
107462107347
example: "app,host"
107463107348
in: query
107464107349
name: filter[groups]
@@ -119356,74 +119241,6 @@ paths:
119356119241
permissions:
119357119242
- security_monitoring_findings_write
119358119243
- appsec_vm_write
119359-
/api/v2/security/findings/mute:
119360-
patch:
119361-
description: >-
119362-
Mute or unmute security findings.
119363-
119364-
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:
119365-
- To mute a finding: `PENDING_FIX`, `FALSE_POSITIVE`, `OTHER`, `NO_FIX`, `DUPLICATE`, `RISK_ACCEPTED`.
119366-
- To unmute a finding: `NO_PENDING_FIX`, `HUMAN_ERROR`, `NO_LONGER_ACCEPTED_RISK`, `OTHER`.
119367-
operationId: MuteSecurityFindings
119368-
requestBody:
119369-
content:
119370-
application/json:
119371-
examples:
119372-
default:
119373-
value:
119374-
data:
119375-
attributes:
119376-
mute:
119377-
description: "To be resolved later."
119378-
expire_at: 1778721573794
119379-
is_muted: true
119380-
reason: "RISK_ACCEPTED"
119381-
relationships:
119382-
findings:
119383-
data:
119384-
- id: "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw=="
119385-
type: "findings"
119386-
type: "mute"
119387-
schema:
119388-
$ref: "#/components/schemas/MuteFindingsRequest"
119389-
required: true
119390-
responses:
119391-
"202":
119392-
content:
119393-
application/json:
119394-
schema:
119395-
$ref: "#/components/schemas/MuteFindingsResponse"
119396-
description: Accepted
119397-
"400":
119398-
$ref: "#/components/responses/BadRequestResponse"
119399-
"401":
119400-
$ref: "#/components/responses/UnauthorizedResponse"
119401-
"404":
119402-
$ref: "#/components/responses/NotFoundResponse"
119403-
"422":
119404-
content:
119405-
application/json:
119406-
schema:
119407-
$ref: "#/components/schemas/JSONAPIErrorResponse"
119408-
description: "Unprocessable Entity"
119409-
"429":
119410-
$ref: "#/components/responses/TooManyRequestsResponse"
119411-
security:
119412-
- apiKeyAuth: []
119413-
appKeyAuth: []
119414-
- AuthZ: []
119415-
summary: Mute or unmute security findings
119416-
tags:
119417-
- "Security Monitoring"
119418-
x-codegen-request-body-name: body
119419-
"x-permission":
119420-
operator: OR
119421-
permissions:
119422-
- security_monitoring_findings_write
119423-
- appsec_vm_write
119424-
x-unstable: |-
119425-
**Note**: This endpoint is in preview and is subject to change.
119426-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
119427119244
/api/v2/security/findings/search:
119428119245
post:
119429119246
description: |-

cassettes/v2/Security-Monitoring_1187227211/Mute-security-findings-returns-Accepted-response_1335830985/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

cassettes/v2/Security-Monitoring_1187227211/Mute-security-findings-returns-Accepted-response_1335830985/recording.har

Lines changed: 0 additions & 67 deletions
This file was deleted.

cassettes/v2/Security-Monitoring_1187227211/Mute-security-findings-returns-Not-Found-response_3588221619/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

cassettes/v2/Security-Monitoring_1187227211/Mute-security-findings-returns-Not-Found-response_3588221619/recording.har

Lines changed: 0 additions & 67 deletions
This file was deleted.

cassettes/v2/Security-Monitoring_1187227211/Mute-security-findings-returns-Unprocessable-Entity-response_2493527119/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)