Skip to content

Commit bb285f1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e0c9537 of spec repo
1 parent 572f11c commit bb285f1

31 files changed

Lines changed: 0 additions & 1119 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 187 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:
@@ -119356,74 +119237,6 @@ paths:
119356119237
permissions:
119357119238
- security_monitoring_findings_write
119358119239
- 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/).
119427119240
/api/v2/security/findings/search:
119428119241
post:
119429119242
description: |-

docs/datadog_api_client.v2.model.rst

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -19716,69 +19716,6 @@ datadog\_api\_client.v2.model.ms\_teams\_integration\_metadata\_teams\_item modu
1971619716
:members:
1971719717
:show-inheritance:
1971819718

19719-
datadog\_api\_client.v2.model.mute\_data\_type module
19720-
-----------------------------------------------------
19721-
19722-
.. automodule:: datadog_api_client.v2.model.mute_data_type
19723-
:members:
19724-
:show-inheritance:
19725-
19726-
datadog\_api\_client.v2.model.mute\_findings\_mute\_attributes module
19727-
---------------------------------------------------------------------
19728-
19729-
.. automodule:: datadog_api_client.v2.model.mute_findings_mute_attributes
19730-
:members:
19731-
:show-inheritance:
19732-
19733-
datadog\_api\_client.v2.model.mute\_findings\_reason module
19734-
-----------------------------------------------------------
19735-
19736-
.. automodule:: datadog_api_client.v2.model.mute_findings_reason
19737-
:members:
19738-
:show-inheritance:
19739-
19740-
datadog\_api\_client.v2.model.mute\_findings\_request module
19741-
------------------------------------------------------------
19742-
19743-
.. automodule:: datadog_api_client.v2.model.mute_findings_request
19744-
:members:
19745-
:show-inheritance:
19746-
19747-
datadog\_api\_client.v2.model.mute\_findings\_request\_data module
19748-
------------------------------------------------------------------
19749-
19750-
.. automodule:: datadog_api_client.v2.model.mute_findings_request_data
19751-
:members:
19752-
:show-inheritance:
19753-
19754-
datadog\_api\_client.v2.model.mute\_findings\_request\_data\_attributes module
19755-
------------------------------------------------------------------------------
19756-
19757-
.. automodule:: datadog_api_client.v2.model.mute_findings_request_data_attributes
19758-
:members:
19759-
:show-inheritance:
19760-
19761-
datadog\_api\_client.v2.model.mute\_findings\_request\_data\_relationships module
19762-
---------------------------------------------------------------------------------
19763-
19764-
.. automodule:: datadog_api_client.v2.model.mute_findings_request_data_relationships
19765-
:members:
19766-
:show-inheritance:
19767-
19768-
datadog\_api\_client.v2.model.mute\_findings\_response module
19769-
-------------------------------------------------------------
19770-
19771-
.. automodule:: datadog_api_client.v2.model.mute_findings_response
19772-
:members:
19773-
:show-inheritance:
19774-
19775-
datadog\_api\_client.v2.model.mute\_findings\_response\_data module
19776-
-------------------------------------------------------------------
19777-
19778-
.. automodule:: datadog_api_client.v2.model.mute_findings_response_data
19779-
:members:
19780-
:show-inheritance:
19781-
1978219719
datadog\_api\_client.v2.model.notebook\_create\_data module
1978319720
-----------------------------------------------------------
1978419721

examples/v2/security-monitoring/MuteSecurityFindings.py

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

examples/v2/security-monitoring/MuteSecurityFindings_298521544.py

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

0 commit comments

Comments
 (0)