Skip to main content

org_group_policy_suggestions

Creates, updates, deletes, gets or lists an org_group_policy_suggestions resource.

Overview

Nameorg_group_policy_suggestions
TypeResource
Iddatadog.organization.org_group_policy_suggestions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the org group policy suggestion. (example: 1a2b3c4d-5e6f-7890-abcd-ef0123456789)
attributesobjectAttributes of an org group policy suggestion.
relationshipsobjectRelationships of an org group policy suggestion.
typestringOrg group policy suggestions resource type. (org_group_policy_suggestions) (example: org_group_policy_suggestions)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_org_group_policy_suggestionsselectfilter[org_group_id]List suggested organization group policies. Requires a filter on org group 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.

NameDatatypeDescription
filter[org_group_id]string (uuid)Filter policies by org group ID.
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

List suggested organization group policies. Requires a filter on org group ID.

SELECT
id,
attributes,
relationships,
type
FROM datadog.organization.org_group_policy_suggestions
WHERE filter[org_group_id] = '{{ filter[org_group_id] }}' -- required
;