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.
59480
59427
properties:
@@ -59708,18 +59655,18 @@ components:
59708
59655
- attributes
59709
59656
type: object
59710
59657
OrgGroupPolicyEnforcementTier:
59711
-
default: DEFAULT
59658
+
default: OVERRIDE_ALLOWED
59712
59659
description: >-
59713
-
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.
59660
+
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.
59714
59661
enum:
59715
-
- DEFAULT
59716
-
- ENFORCE
59662
+
- OVERRIDE_ALLOWED
59663
+
- GROUP_MANAGED
59717
59664
- DELEGATE
59718
-
example: DEFAULT
59665
+
example: OVERRIDE_ALLOWED
59719
59666
type: string
59720
59667
x-enum-varnames:
59721
-
- DEFAULT
59722
-
- ENFORCE
59668
+
- OVERRIDE_ALLOWED
59669
+
- GROUP_MANAGED
59723
59670
- DELEGATE
59724
59671
OrgGroupPolicyListResponse:
59725
59672
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