monitoring_suppression_version_histories
Creates, updates, deletes, gets or lists a monitoring_suppression_version_histories resource.
Overview
| Name | monitoring_suppression_version_histories |
| Type | Resource |
| Id | datadog.security.monitoring_suppression_version_histories |
Fields
The following fields are returned by SELECT queries:
- get_suppression_version_history
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the suppression. |
attributes | object | Response object containing the version history of a suppression. |
type | string | Type of data. (suppression_version_history) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_suppression_version_history | select | suppression_id | page[size], page[number] | Get a suppression's version history. |
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 |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
suppression_id | string | The ID of the suppression rule |
page[number] | integer (int64) | Specific page number to return. |
page[size] | integer (int64) | Number of items to return per page. The maximum allowed value is 100. |
SELECT examples
- get_suppression_version_history
Get a suppression's version history.
SELECT
id,
attributes,
type
FROM datadog.security.monitoring_suppression_version_histories
WHERE suppression_id = '{{ suppression_id }}' -- required
AND page[size] = '{{ page[size] }}'
AND page[number] = '{{ page[number] }}'
;