suppressions_affecting_rule
Creates, updates, deletes, gets or lists a suppressions_affecting_rule resource.
Overview
| Name | suppressions_affecting_rule | 
| Type | Resource | 
| Id | datadog.security.suppressions_affecting_rule | 
Fields
The following fields are returned by SELECT queries:
- get_suppressions_affecting_rule
| Name | Datatype | Description | 
|---|---|---|
| id | string | The ID of the suppression rule. (example: 3dd-0uc-h1s) | 
| attributes | object | The attributes of the suppression rule. | 
| type | string | The type of the resource. The value should always be suppressions. (default: suppressions, example: suppressions) | 
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description | 
|---|---|---|---|---|
| get_suppressions_affecting_rule | select | rule_id,region | Get 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.
| Name | Datatype | Description | 
|---|---|---|
| region | string | (default: datadoghq.com) | 
| rule_id | string | The ID of the rule. | 
SELECT examples
- get_suppressions_affecting_rule
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
;