Skip to main content

monitoring_suppression_version_histories

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

Overview

Namemonitoring_suppression_version_histories
TypeResource
Iddatadog.security.monitoring_suppression_version_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the suppression.
attributesobjectResponse object containing the version history of a suppression.
typestringType of data. (suppression_version_history)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_suppression_version_historyselectsuppression_idpage[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.

NameDatatypeDescription
sitestringThe 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_idstringThe 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 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] }}'
;