governance_notification_settings
Creates, updates, deletes, gets or lists a governance_notification_settings resource.
Overview
| Name | governance_notification_settings |
| Type | Resource |
| Id | datadog.organization.governance_notification_settings |
Fields
The following fields are returned by SELECT queries:
- get_governance_notification_settings
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the organization the notification settings apply to. (example: 11111111-2222-3333-4444-555555555555) |
attributes | object | The attributes of the organization-wide governance notification settings. |
type | string | Governance notification settings resource type. (governance_notification_settings) (example: governance_notification_settings) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_governance_notification_settings | select | Retrieve the organization-wide governance notification settings, including whether users are<br />notified when detections are assigned to them. | ||
update_governance_notification_settings | update | data | Update 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.
| 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. |
SELECT examples
- get_governance_notification_settings
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_governance_notification_settings
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;