Skip to main content

governance_notification_settings

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

Overview

Namegovernance_notification_settings
TypeResource
Iddatadog.organization.governance_notification_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the organization the notification settings apply to. (example: 11111111-2222-3333-4444-555555555555)
attributesobjectThe attributes of the organization-wide governance notification settings.
typestringGovernance notification settings resource type. (governance_notification_settings) (example: governance_notification_settings)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_governance_notification_settingsselectRetrieve the organization-wide governance notification settings, including whether users are<br />notified when detections are assigned to them.
update_governance_notification_settingsupdatedataUpdate the organization-wide governance notification settings. Only the attributes present in<br />the request are modified.

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.

SELECT examples

Retrieve the organization-wide governance notification settings, including whether users are<br />notified when detections are assigned to them.

SELECT
id,
attributes,
type
FROM datadog.organization.governance_notification_settings
;

UPDATE examples

Update the organization-wide governance notification settings. Only the attributes present in<br />the request are modified.

UPDATE datadog.organization.governance_notification_settings
SET
data = '{{ data }}'
WHERE
data = '{{ data }}' --required
RETURNING
data;