Skip to main content

resource_evaluation_filters

Creates, updates, deletes, gets or lists a resource_evaluation_filters resource.

Overview

Nameresource_evaluation_filters
TypeResource
Iddatadog.security.resource_evaluation_filters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe data id. (example: csm_resource_filter)
attributesobjectAttributes of a resource filter.
typestringConstant string to identify the request type. (example: csm_resource_filter)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resource_evaluation_filtersselectregioncloud_provider, account_id, skip_cacheList resource filters.
update_resource_evaluation_filtersreplaceregion, data__dataUpdate resource filters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstring(default: datadoghq.com)
account_idstringFilter resource filters by cloud provider account ID. This parameter is only valid when provider is specified.
cloud_providerstringFilter resource filters by cloud provider (e.g. aws, gcp, azure).
skip_cachebooleanSkip cache for resource filters.

SELECT examples

List resource filters.

SELECT
id,
attributes,
type
FROM datadog.security.resource_evaluation_filters
WHERE region = '{{ region }}' -- required
AND cloud_provider = '{{ cloud_provider }}'
AND account_id = '{{ account_id }}'
AND skip_cache = '{{ skip_cache }}'
;

REPLACE examples

Update resource filters.

REPLACE datadog.security.resource_evaluation_filters
SET
data__data = '{{ data }}'
WHERE
region = '{{ region }}' --required
AND data__data = '{{ data }}' --required
RETURNING
data;