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.
59787
59734
properties:
@@ -60015,18 +59962,18 @@ components:
60015
59962
- attributes
60016
59963
type: object
60017
59964
OrgGroupPolicyEnforcementTier:
60018
-
default: DEFAULT
59965
+
default: OVERRIDE_ALLOWED
60019
59966
description: >-
60020
-
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.
59967
+
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.
60021
59968
enum:
60022
-
- DEFAULT
60023
-
- ENFORCE
59969
+
- OVERRIDE_ALLOWED
59970
+
- GROUP_MANAGED
60024
59971
- DELEGATE
60025
-
example: DEFAULT
59972
+
example: OVERRIDE_ALLOWED
60026
59973
type: string
60027
59974
x-enum-varnames:
60028
-
- DEFAULT
60029
-
- ENFORCE
59975
+
- OVERRIDE_ALLOWED
59976
+
- GROUP_MANAGED
60030
59977
- DELEGATE
60031
59978
OrgGroupPolicyListResponse:
60032
59979
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