Skip to content

Commit ec93662

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 30caa666 of spec repo
1 parent 2893c7f commit ec93662

File tree

9 files changed

+2584
-454
lines changed

9 files changed

+2584
-454
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-14 15:46:38.896407",
8-
"spec_repo_commit": "64f5e7ee"
7+
"regenerated": "2025-05-15 09:28:41.815955",
8+
"spec_repo_commit": "30caa666"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-14 15:46:48.228708",
13-
"spec_repo_commit": "64f5e7ee"
12+
"regenerated": "2025-05-15 09:28:51.256652",
13+
"spec_repo_commit": "30caa666"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -2863,6 +2863,30 @@ menu:
28632863
unstable:
28642864
- v2
28652865
order: 1
2866+
- name: Update resource filters
2867+
url: '#update-resource-filters'
2868+
identifier: security-monitoring-update-resource-filters
2869+
parent: security-monitoring
2870+
generated: true
2871+
params:
2872+
versions:
2873+
- v2
2874+
operationids:
2875+
- UpdateResourceEvaluationFilters
2876+
unstable: []
2877+
order: 27
2878+
- name: List resource filters
2879+
url: '#list-resource-filters'
2880+
identifier: security-monitoring-list-resource-filters
2881+
parent: security-monitoring
2882+
generated: true
2883+
params:
2884+
versions:
2885+
- v2
2886+
operationids:
2887+
- GetResourceEvaluationFilters
2888+
unstable: []
2889+
order: 26
28662890
- name: Update a custom framework
28672891
url: '#update-a-custom-framework'
28682892
identifier: security-monitoring-update-a-custom-framework

content/en/api/v2/security-monitoring/examples.json

+140-14
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"cloud_provider": {
5+
"aws": {
6+
"123456789": [
7+
"tag1:v1"
8+
]
9+
}
10+
}
11+
},
12+
"id": "csm_resource_filter",
13+
"type": "csm_resource_filter"
14+
}
15+
}

data/api/v2/CodeExamples.json

+7
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,13 @@
12561256
"description": "Update a suppression rule returns \"OK\" response"
12571257
}
12581258
],
1259+
"UpdateResourceEvaluationFilters": [
1260+
{
1261+
"group": "security_monitoring",
1262+
"suffix": "",
1263+
"description": "Update resource filters returns \"OK\" response"
1264+
}
1265+
],
12591266
"ValidateSecurityMonitoringRule": [
12601267
{
12611268
"group": "security_monitoring",

data/api/v2/full_spec.yaml

+200-6
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,21 @@ components:
687687
required: true
688688
schema:
689689
type: string
690+
ResourceFilterAccountID:
691+
description: Filter resource filters by cloud provider account ID. This parameter
692+
is only valid when provider is specified.
693+
in: query
694+
name: account_id
695+
required: false
696+
schema:
697+
type: string
698+
ResourceFilterProvider:
699+
description: Filter resource filters by cloud provider (e.g. aws, gcp, azure).
700+
in: query
701+
name: cloud_provider
702+
required: false
703+
schema:
704+
type: string
690705
ResourceID:
691706
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
692707
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
@@ -826,6 +841,13 @@ components:
826841
required: true
827842
schema:
828843
type: string
844+
SkipCache:
845+
description: Skip cache for resource filters.
846+
in: query
847+
name: skip_cache
848+
required: false
849+
schema:
850+
type: boolean
829851
SpansMetricIDParameter:
830852
description: The name of the span-based metric.
831853
in: path
@@ -15833,6 +15855,26 @@ components:
1583315855
$ref: '#/components/schemas/GetInterfacesData'
1583415856
type: array
1583515857
type: object
15858+
GetResourceEvaluationFiltersResponse:
15859+
description: The definition of `GetResourceEvaluationFiltersResponse` object.
15860+
properties:
15861+
data:
15862+
$ref: '#/components/schemas/GetResourceEvaluationFiltersResponseData'
15863+
required:
15864+
- data
15865+
type: object
15866+
GetResourceEvaluationFiltersResponseData:
15867+
description: The definition of `GetResourceFilterResponseData` object.
15868+
properties:
15869+
attributes:
15870+
$ref: '#/components/schemas/ResourceFilterAttributes'
15871+
id:
15872+
description: The `data` `id`.
15873+
example: csm_resource_filter
15874+
type: string
15875+
type:
15876+
$ref: '#/components/schemas/ResourceFilterRequestType'
15877+
type: object
1583615878
GetRuleVersionHistoryData:
1583715879
description: Data for the rule version history.
1583815880
properties:
@@ -29747,6 +29789,35 @@ components:
2974729789
required:
2974829790
- data
2974929791
type: object
29792+
ResourceFilterAttributes:
29793+
description: Attributes of a resource filter.
29794+
properties:
29795+
cloud_provider:
29796+
additionalProperties:
29797+
additionalProperties:
29798+
items:
29799+
description: Tag filter in format "key:value"
29800+
example: environment:production
29801+
type: string
29802+
type: array
29803+
type: object
29804+
description: A map of cloud provider names (e.g., "aws", "gcp", "azure")
29805+
to a map of account/resource IDs and their associated tag filters.
29806+
type: object
29807+
uuid:
29808+
description: The UUID of the resource filter.
29809+
type: string
29810+
required:
29811+
- cloud_provider
29812+
type: object
29813+
ResourceFilterRequestType:
29814+
description: Constant string to identify the resource type.
29815+
enum:
29816+
- csm_resource_filter
29817+
example: csm_resource_filter
29818+
type: string
29819+
x-enum-varnames:
29820+
- CSM_RESOURCE_FILTER
2975029821
ResponseMetaAttributes:
2975129822
description: Object describing meta attributes of response.
2975229823
properties:
@@ -32909,9 +32980,11 @@ components:
3290932980
example: true
3291032981
type: boolean
3291132982
SecurityMonitoringRuleKeepAlive:
32912-
description: "Once a signal is generated, the signal will remain \u201Copen\u201D
32913-
if a case is matched at least once within\nthis keep alive window. For third
32914-
party detection method, this field is not used."
32983+
description: 'Once a signal is generated, the signal will remain "open" if a
32984+
case is matched at least once within
32985+
32986+
this keep alive window. For third party detection method, this field is not
32987+
used.'
3291532988
enum:
3291632989
- 0
3291732990
- 60
@@ -32941,9 +33014,10 @@ components:
3294133014
- TWELVE_HOURS
3294233015
- ONE_DAY
3294333016
SecurityMonitoringRuleMaxSignalDuration:
32944-
description: "A signal will \u201Cclose\u201D regardless of the query being
32945-
matched once the time exceeds the maximum duration.\nThis time is calculated
32946-
from the first seen timestamp."
33017+
description: 'A signal will "close" regardless of the query being matched once
33018+
the time exceeds the maximum duration.
33019+
33020+
This time is calculated from the first seen timestamp.'
3294733021
enum:
3294833022
- 0
3294933023
- 60
@@ -39352,6 +39426,52 @@ components:
3935239426
id:
3935339427
$ref: '#/components/schemas/ApiID'
3935439428
type: object
39429+
UpdateResourceEvaluationFiltersRequest:
39430+
description: Request object to update a resource filter.
39431+
properties:
39432+
data:
39433+
$ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequestData'
39434+
required:
39435+
- data
39436+
type: object
39437+
UpdateResourceEvaluationFiltersRequestData:
39438+
description: The definition of `UpdateResourceFilterRequestData` object.
39439+
properties:
39440+
attributes:
39441+
$ref: '#/components/schemas/ResourceFilterAttributes'
39442+
id:
39443+
description: The `UpdateResourceEvaluationFiltersRequestData` `id`.
39444+
example: csm_resource_filter
39445+
type: string
39446+
type:
39447+
$ref: '#/components/schemas/ResourceFilterRequestType'
39448+
required:
39449+
- attributes
39450+
- type
39451+
type: object
39452+
UpdateResourceEvaluationFiltersResponse:
39453+
description: The definition of `UpdateResourceEvaluationFiltersResponse` object.
39454+
properties:
39455+
data:
39456+
$ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponseData'
39457+
required:
39458+
- data
39459+
type: object
39460+
UpdateResourceEvaluationFiltersResponseData:
39461+
description: The definition of `UpdateResourceFilterResponseData` object.
39462+
properties:
39463+
attributes:
39464+
$ref: '#/components/schemas/ResourceFilterAttributes'
39465+
id:
39466+
description: The `data` `id`.
39467+
example: csm_resource_filter
39468+
type: string
39469+
type:
39470+
$ref: '#/components/schemas/ResourceFilterRequestType'
39471+
required:
39472+
- attributes
39473+
- type
39474+
type: object
3935539475
UpdateRuleRequest:
3935639476
description: Request to update a scorecard rule.
3935739477
properties:
@@ -44746,6 +44866,80 @@ paths:
4474644866
- security_monitoring_rules_write
4474744867
x-undo:
4474844868
type: idempotent
44869+
/api/v2/cloud_security_management/resource_filters:
44870+
get:
44871+
description: List resource filters.
44872+
operationId: GetResourceEvaluationFilters
44873+
parameters:
44874+
- $ref: '#/components/parameters/ResourceFilterProvider'
44875+
- $ref: '#/components/parameters/ResourceFilterAccountID'
44876+
- $ref: '#/components/parameters/SkipCache'
44877+
responses:
44878+
'200':
44879+
content:
44880+
application/json:
44881+
schema:
44882+
$ref: '#/components/schemas/GetResourceEvaluationFiltersResponse'
44883+
description: OK
44884+
'400':
44885+
$ref: '#/components/responses/BadRequestResponse'
44886+
'403':
44887+
$ref: '#/components/responses/NotAuthorizedResponse'
44888+
'429':
44889+
$ref: '#/components/responses/TooManyRequestsResponse'
44890+
security:
44891+
- apiKeyAuth: []
44892+
appKeyAuth: []
44893+
- AuthZ:
44894+
- security_monitoring_filters_read
44895+
summary: List resource filters
44896+
tags:
44897+
- Security Monitoring
44898+
x-menu-order: 26
44899+
x-permission:
44900+
operator: OR
44901+
permissions:
44902+
- security_monitoring_filters_read
44903+
x-undo:
44904+
type: safe
44905+
put:
44906+
description: Update resource filters.
44907+
operationId: UpdateResourceEvaluationFilters
44908+
requestBody:
44909+
content:
44910+
application/json:
44911+
schema:
44912+
$ref: '#/components/schemas/UpdateResourceEvaluationFiltersRequest'
44913+
required: true
44914+
responses:
44915+
'201':
44916+
content:
44917+
application/json:
44918+
schema:
44919+
$ref: '#/components/schemas/UpdateResourceEvaluationFiltersResponse'
44920+
description: OK
44921+
'400':
44922+
$ref: '#/components/responses/BadRequestResponse'
44923+
'403':
44924+
$ref: '#/components/responses/NotAuthorizedResponse'
44925+
'429':
44926+
$ref: '#/components/responses/TooManyRequestsResponse'
44927+
security:
44928+
- apiKeyAuth: []
44929+
appKeyAuth: []
44930+
- AuthZ:
44931+
- security_monitoring_filters_write
44932+
summary: Update resource filters
44933+
tags:
44934+
- Security Monitoring
44935+
x-codegen-request-body-name: body
44936+
x-menu-order: 27
44937+
x-permission:
44938+
operator: OR
44939+
permissions:
44940+
- security_monitoring_filters_write
44941+
x-undo:
44942+
type: idempotent
4474944943
/api/v2/container_images:
4475044944
get:
4475144945
description: Get all Container Images for your organization.

0 commit comments

Comments
 (0)