You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Pagination links for navigating between pages of an org group list response.
59368
59315
properties:
@@ -59596,18 +59543,18 @@ components:
59596
59543
- attributes
59597
59544
type: object
59598
59545
OrgGroupPolicyEnforcementTier:
59599
-
default: DEFAULT
59546
+
default: OVERRIDE_ALLOWED
59600
59547
description: >-
59601
-
The enforcement tier of the policy. `DEFAULT` means the policy is set but member orgs may mutate it. `ENFORCE` means the policy is strictly controlled and mutations are blocked for affected orgs. `DELEGATE` means each member org controls its own value.
59548
+
The enforcement tier of the policy. `OVERRIDE_ALLOWED` means the policy is set but member orgs may mutate it. `GROUP_MANAGED` means the policy is strictly controlled and mutations are blocked for affected orgs. `DELEGATE` means each member org controls its own value.
59602
59549
enum:
59603
-
- DEFAULT
59604
-
- ENFORCE
59550
+
- OVERRIDE_ALLOWED
59551
+
- GROUP_MANAGED
59605
59552
- DELEGATE
59606
-
example: DEFAULT
59553
+
example: OVERRIDE_ALLOWED
59607
59554
type: string
59608
59555
x-enum-varnames:
59609
-
- DEFAULT
59610
-
- ENFORCE
59556
+
- OVERRIDE_ALLOWED
59557
+
- GROUP_MANAGED
59611
59558
- DELEGATE
59612
59559
OrgGroupPolicyListResponse:
59613
59560
description: Response containing a list of org group policies.
Copy file name to clipboardExpand all lines: features/v2/org_groups.feature
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -60,23 +60,23 @@ Feature: Org Groups
60
60
Scenario: Create an org group policy returns "Bad Request" response
61
61
Given operation "CreateOrgGroupPolicy" enabled
62
62
And new "CreateOrgGroupPolicy" request
63
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
63
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
64
64
When the request is sent
65
65
Then the response status is 400 Bad Request
66
66
67
67
@generated@skip@team:DataDog/org-management
68
68
Scenario: Create an org group policy returns "Conflict" response
69
69
Given operation "CreateOrgGroupPolicy" enabled
70
70
And new "CreateOrgGroupPolicy" request
71
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
71
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
72
72
When the request is sent
73
73
Then the response status is 409 Conflict
74
74
75
75
@generated@skip@team:DataDog/org-management
76
76
Scenario: Create an org group policy returns "Created" response
77
77
Given operation "CreateOrgGroupPolicy" enabled
78
78
And new "CreateOrgGroupPolicy" request
79
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
79
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}}
80
80
When the request is sent
81
81
Then the response status is 201 Created
82
82
@@ -398,7 +398,7 @@ Feature: Org Groups
398
398
Given operation "UpdateOrgGroupPolicy" enabled
399
399
And new "UpdateOrgGroupPolicy" request
400
400
And request contains "org_group_policy_id" parameter from "REPLACE.ME"
401
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
401
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
402
402
When the request is sent
403
403
Then the response status is 400 Bad Request
404
404
@@ -407,7 +407,7 @@ Feature: Org Groups
407
407
Given operation "UpdateOrgGroupPolicy" enabled
408
408
And new "UpdateOrgGroupPolicy" request
409
409
And request contains "org_group_policy_id" parameter from "REPLACE.ME"
410
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
410
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
411
411
When the request is sent
412
412
Then the response status is 404 Not Found
413
413
@@ -416,7 +416,7 @@ Feature: Org Groups
416
416
Given operation "UpdateOrgGroupPolicy" enabled
417
417
And new "UpdateOrgGroupPolicy" request
418
418
And request contains "org_group_policy_id" parameter from "REPLACE.ME"
419
-
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
419
+
And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "OVERRIDE_ALLOWED"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}
0 commit comments