Skip to main content

suppressions_affecting_rule

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

Overview

Namesuppressions_affecting_rule
TypeResource
Iddatadog.security.suppressions_affecting_rule

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the suppression rule. (example: 3dd-0uc-h1s)
attributesobjectThe attributes of the suppression rule.
typestringThe type of the resource. The value should always be suppressions. (default: suppressions, example: suppressions)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_suppressions_affecting_ruleselectrule_id, regionGet the list of suppressions that affect a specific existing rule by its ID.

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)
rule_idstringThe ID of the rule.

SELECT examples

Get the list of suppressions that affect a specific existing rule by its ID.

SELECT
id,
attributes,
type
FROM datadog.security.suppressions_affecting_rule
WHERE rule_id = '{{ rule_id }}' -- required
AND region = '{{ region }}' -- required
;