@@ -50670,11 +50670,8 @@ components:
5067050670 example:
5067150671 value: "UTC"
5067250672 type: object
50673- enforced_at:
50674- description: Timestamp when the policy was enforced.
50675- example: "2024-01-15T10:30:00Z"
50676- format: date-time
50677- type: string
50673+ enforcement_tier:
50674+ $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier"
5067850675 modified_at:
5067950676 description: Timestamp when the policy was last modified.
5068050677 example: "2024-01-15T10:30:00Z"
@@ -50684,9 +50681,12 @@ components:
5068450681 description: The name of the policy.
5068550682 example: "monitor_timezone"
5068650683 type: string
50684+ policy_type:
50685+ $ref: "#/components/schemas/OrgGroupPolicyPolicyType"
5068750686 required:
5068850687 - policy_name
50689- - enforced_at
50688+ - policy_type
50689+ - enforcement_tier
5069050690 - modified_at
5069150691 type: object
5069250692 OrgGroupPolicyConfigAttributes:
@@ -50757,18 +50757,23 @@ components:
5075750757 x-enum-varnames:
5075850758 - ORG_GROUP_POLICY_CONFIGS
5075950759 OrgGroupPolicyCreateAttributes:
50760- description: Attributes for creating an org group policy.
50760+ description: >-
50761+ Attributes for creating an org group policy. When omitted, `policy_type` defaults to `org_config` and `enforcement_tier` defaults to `DEFAULT`.
5076150762 properties:
5076250763 content:
5076350764 additionalProperties: {}
5076450765 description: The policy content as key-value pairs.
5076550766 example:
5076650767 value: "UTC"
5076750768 type: object
50769+ enforcement_tier:
50770+ $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier"
5076850771 policy_name:
5076950772 description: The name of the policy.
5077050773 example: "monitor_timezone"
5077150774 type: string
50775+ policy_type:
50776+ $ref: "#/components/schemas/OrgGroupPolicyPolicyType"
5077250777 required:
5077350778 - policy_name
5077450779 - content
@@ -50822,6 +50827,19 @@ components:
5082250827 - type
5082350828 - attributes
5082450829 type: object
50830+ OrgGroupPolicyEnforcementTier:
50831+ description: >-
50832+ 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.
50833+ enum:
50834+ - DEFAULT
50835+ - ENFORCE
50836+ - DELEGATE
50837+ example: DEFAULT
50838+ type: string
50839+ x-enum-varnames:
50840+ - DEFAULT
50841+ - ENFORCE
50842+ - DELEGATE
5082550843 OrgGroupPolicyListResponse:
5082650844 description: Response containing a list of org group policies.
5082750845 properties:
@@ -50854,7 +50872,7 @@ components:
5085450872 type: string
5085550873 org_site:
5085650874 description: The site of the organization that has the override.
50857- example: "datadoghq.com "
50875+ example: "us1 "
5085850876 type: string
5085950877 org_uuid:
5086050878 description: The UUID of the organization that has the override.
@@ -50872,7 +50890,7 @@ components:
5087250890 properties:
5087350891 org_site:
5087450892 description: The site of the organization.
50875- example: "datadoghq.com "
50893+ example: "us1 "
5087650894 type: string
5087750895 org_uuid:
5087850896 description: The UUID of the organization to grant the override.
@@ -50992,7 +51010,7 @@ components:
5099251010 properties:
5099351011 org_site:
5099451012 description: The site of the organization.
50995- example: "datadoghq.com "
51013+ example: "us1 "
5099651014 type: string
5099751015 org_uuid:
5099851016 description: The UUID of the organization.
@@ -51028,6 +51046,14 @@ components:
5102851046 required:
5102951047 - data
5103051048 type: object
51049+ OrgGroupPolicyPolicyType:
51050+ description: The type of the policy.
51051+ enum:
51052+ - org_config
51053+ example: org_config
51054+ type: string
51055+ x-enum-varnames:
51056+ - ORG_CONFIG
5103151057 OrgGroupPolicyRelationshipToOne:
5103251058 description: Relationship to a single org group policy.
5103351059 properties:
@@ -51096,6 +51122,8 @@ components:
5109651122 example:
5109751123 value: "UTC"
5109851124 type: object
51125+ enforcement_tier:
51126+ $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier"
5109951127 type: object
5110051128 OrgGroupPolicyUpdateData:
5110151129 description: Data for updating an org group policy.
@@ -103762,9 +103790,10 @@ paths:
103762103790 - attributes:
103763103791 content:
103764103792 value: "UTC"
103765- enforced_at : "2024-01-15T10:30:00Z "
103793+ enforcement_tier : "DEFAULT "
103766103794 modified_at: "2024-01-15T10:30:00Z"
103767103795 policy_name: "monitor_timezone"
103796+ policy_type: "org_config"
103768103797 id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
103769103798 relationships:
103770103799 org_group:
@@ -103820,7 +103849,9 @@ paths:
103820103849 attributes:
103821103850 content:
103822103851 value: "UTC"
103852+ enforcement_tier: "DEFAULT"
103823103853 policy_name: "monitor_timezone"
103854+ policy_type: "org_config"
103824103855 relationships:
103825103856 org_group:
103826103857 data:
@@ -103841,9 +103872,10 @@ paths:
103841103872 attributes:
103842103873 content:
103843103874 value: "UTC"
103844- enforced_at : "2024-01-15T10:30:00Z "
103875+ enforcement_tier : "DEFAULT "
103845103876 modified_at: "2024-01-15T10:30:00Z"
103846103877 policy_name: "monitor_timezone"
103878+ policy_type: "org_config"
103847103879 id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
103848103880 relationships:
103849103881 org_group:
@@ -103933,8 +103965,73 @@ paths:
103933103965 x-unstable: |-
103934103966 **Note**: This endpoint is in preview and is subject to change.
103935103967 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
103968+ get:
103969+ description: Get a specific organization group policy by its ID.
103970+ operationId: GetOrgGroupPolicy
103971+ parameters:
103972+ - $ref: "#/components/parameters/OrgGroupPolicyId"
103973+ responses:
103974+ "200":
103975+ content:
103976+ application/json:
103977+ examples:
103978+ default:
103979+ value:
103980+ data:
103981+ attributes:
103982+ content:
103983+ value: "UTC"
103984+ enforcement_tier: "DEFAULT"
103985+ modified_at: "2024-01-15T10:30:00Z"
103986+ policy_name: "monitor_timezone"
103987+ policy_type: "org_config"
103988+ id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
103989+ relationships:
103990+ org_group:
103991+ data:
103992+ id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789"
103993+ type: org_groups
103994+ type: org_group_policies
103995+ schema:
103996+ $ref: "#/components/schemas/OrgGroupPolicyResponse"
103997+ description: OK
103998+ "400":
103999+ content:
104000+ application/json:
104001+ schema:
104002+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104003+ description: Bad Request
104004+ "401":
104005+ content:
104006+ application/json:
104007+ schema:
104008+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104009+ description: Unauthorized
104010+ "403":
104011+ content:
104012+ application/json:
104013+ schema:
104014+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104015+ description: Forbidden
104016+ "404":
104017+ content:
104018+ application/json:
104019+ schema:
104020+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104021+ description: Not Found
104022+ "429":
104023+ $ref: "#/components/responses/TooManyRequestsResponse"
104024+ summary: Get an org group policy
104025+ tags: [Org Groups]
104026+ "x-permission":
104027+ operator: OR
104028+ permissions:
104029+ - org_group_read
104030+ x-unstable: |-
104031+ **Note**: This endpoint is in preview and is subject to change.
104032+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
103936104033 patch:
103937- description: Update the content of an existing organization group policy.
104034+ description: Update an existing organization group policy.
103938104035 operationId: UpdateOrgGroupPolicy
103939104036 parameters:
103940104037 - $ref: "#/components/parameters/OrgGroupPolicyId"
@@ -103964,9 +104061,10 @@ paths:
103964104061 attributes:
103965104062 content:
103966104063 value: "US/Eastern"
103967- enforced_at : "2024-01-15T10:30:00Z "
104064+ enforcement_tier : "DEFAULT "
103968104065 modified_at: "2024-01-16T14:00:00Z"
103969104066 policy_name: "monitor_timezone"
104067+ policy_type: "org_config"
103970104068 id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
103971104069 relationships:
103972104070 org_group:
@@ -104080,7 +104178,7 @@ paths:
104080104178 - attributes:
104081104179 created_at: "2024-01-15T10:30:00Z"
104082104180 modified_at: "2024-01-15T10:30:00Z"
104083- org_site: "datadoghq.com "
104181+ org_site: "us1 "
104084104182 org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104085104183 id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
104086104184 relationships:
@@ -104139,7 +104237,7 @@ paths:
104139104237 value:
104140104238 data:
104141104239 attributes:
104142- org_site: "datadoghq.com "
104240+ org_site: "us1 "
104143104241 org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104144104242 relationships:
104145104243 org_group:
@@ -104165,7 +104263,7 @@ paths:
104165104263 attributes:
104166104264 created_at: "2024-01-15T10:30:00Z"
104167104265 modified_at: "2024-01-15T10:30:00Z"
104168- org_site: "datadoghq.com "
104266+ org_site: "us1 "
104169104267 org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104170104268 id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
104171104269 relationships:
@@ -104260,6 +104358,73 @@ paths:
104260104358 x-unstable: |-
104261104359 **Note**: This endpoint is in preview and is subject to change.
104262104360 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
104361+ get:
104362+ description: Get a specific organization group policy override by its ID.
104363+ operationId: GetOrgGroupPolicyOverride
104364+ parameters:
104365+ - $ref: "#/components/parameters/OrgGroupPolicyOverrideId"
104366+ responses:
104367+ "200":
104368+ content:
104369+ application/json:
104370+ examples:
104371+ default:
104372+ value:
104373+ data:
104374+ attributes:
104375+ created_at: "2024-01-15T10:30:00Z"
104376+ modified_at: "2024-01-15T10:30:00Z"
104377+ org_site: "us1"
104378+ org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104379+ id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
104380+ relationships:
104381+ org_group:
104382+ data:
104383+ id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789"
104384+ type: org_groups
104385+ org_group_policy:
104386+ data:
104387+ id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
104388+ type: org_group_policies
104389+ type: org_group_policy_overrides
104390+ schema:
104391+ $ref: "#/components/schemas/OrgGroupPolicyOverrideResponse"
104392+ description: OK
104393+ "400":
104394+ content:
104395+ application/json:
104396+ schema:
104397+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104398+ description: Bad Request
104399+ "401":
104400+ content:
104401+ application/json:
104402+ schema:
104403+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104404+ description: Unauthorized
104405+ "403":
104406+ content:
104407+ application/json:
104408+ schema:
104409+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104410+ description: Forbidden
104411+ "404":
104412+ content:
104413+ application/json:
104414+ schema:
104415+ $ref: "#/components/schemas/JSONAPIErrorResponse"
104416+ description: Not Found
104417+ "429":
104418+ $ref: "#/components/responses/TooManyRequestsResponse"
104419+ summary: Get an org group policy override
104420+ tags: [Org Groups]
104421+ "x-permission":
104422+ operator: OR
104423+ permissions:
104424+ - org_group_read
104425+ x-unstable: |-
104426+ **Note**: This endpoint is in preview and is subject to change.
104427+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
104263104428 patch:
104264104429 description: Update an existing organization group policy override.
104265104430 operationId: UpdateOrgGroupPolicyOverride
@@ -104273,7 +104438,7 @@ paths:
104273104438 value:
104274104439 data:
104275104440 attributes:
104276- org_site: "datadoghq.com "
104441+ org_site: "us1 "
104277104442 org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104278104443 id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
104279104444 type: org_group_policy_overrides
@@ -104291,7 +104456,7 @@ paths:
104291104456 attributes:
104292104457 created_at: "2024-01-15T10:30:00Z"
104293104458 modified_at: "2024-01-16T14:00:00Z"
104294- org_site: "datadoghq.com "
104459+ org_site: "us1 "
104295104460 org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901"
104296104461 id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
104297104462 relationships:
0 commit comments