@@ -1324,6 +1324,13 @@ components:
13241324 example: "9f8e7d6c-5b4a-3210-fedc-ba0987654321"
13251325 format: uuid
13261326 type: string
1327+ OrgGroupPolicySuggestionFilterConfigTier:
1328+ description: Filter policy suggestions by config tier. Defaults to `all`.
1329+ in: query
1330+ name: filter[config_tier]
1331+ required: false
1332+ schema:
1333+ $ref: "#/components/schemas/OrgGroupPolicySuggestionConfigTier"
13271334 OrgGroupSort:
13281335 description: >-
13291336 Field to sort org groups by. Supported values: `name`, `uuid`, `-name`, `-uuid`. Defaults to `uuid`.
@@ -72977,6 +72984,79 @@ components:
7297772984 - MINUS_ID
7297872985 - NAME
7297972986 - MINUS_NAME
72987+ OrgGroupPolicySuggestionAttributes:
72988+ description: Attributes of an org group policy suggestion.
72989+ properties:
72990+ consensus_ratio:
72991+ description: The ratio of member orgs whose configuration agrees on the recommended value.
72992+ example: 0.75
72993+ format: double
72994+ type: number
72995+ policy_name:
72996+ description: The name of the suggested policy.
72997+ example: "monitor_timezone"
72998+ type: string
72999+ recommended_value:
73000+ description: The recommended value for the policy, based on member org consensus.
73001+ example: "UTC"
73002+ status:
73003+ description: The status of the policy suggestion.
73004+ example: "pending"
73005+ type: string
73006+ required:
73007+ - policy_name
73008+ - status
73009+ - consensus_ratio
73010+ - recommended_value
73011+ type: object
73012+ OrgGroupPolicySuggestionConfigTier:
73013+ default: all
73014+ description: The config tier to filter policy suggestions by.
73015+ enum:
73016+ - preview
73017+ - ga
73018+ - all
73019+ example: all
73020+ type: string
73021+ x-enum-varnames:
73022+ - PREVIEW
73023+ - GA
73024+ - ALL
73025+ OrgGroupPolicySuggestionData:
73026+ description: An org group policy suggestion resource.
73027+ properties:
73028+ attributes:
73029+ $ref: "#/components/schemas/OrgGroupPolicySuggestionAttributes"
73030+ id:
73031+ description: The ID of the org group policy suggestion.
73032+ example: "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
73033+ type: string
73034+ type:
73035+ $ref: "#/components/schemas/OrgGroupPolicySuggestionType"
73036+ required:
73037+ - id
73038+ - type
73039+ - attributes
73040+ type: object
73041+ OrgGroupPolicySuggestionListResponse:
73042+ description: Response containing a list of org group policy suggestions.
73043+ properties:
73044+ data:
73045+ description: An array of org group policy suggestions.
73046+ items:
73047+ $ref: "#/components/schemas/OrgGroupPolicySuggestionData"
73048+ type: array
73049+ required:
73050+ - data
73051+ type: object
73052+ OrgGroupPolicySuggestionType:
73053+ description: Org group policy suggestions resource type.
73054+ enum:
73055+ - org_group_policy_suggestions
73056+ example: org_group_policy_suggestions
73057+ type: string
73058+ x-enum-varnames:
73059+ - ORG_GROUP_POLICY_SUGGESTIONS
7298073060 OrgGroupPolicyType:
7298173061 description: Org group policies resource type.
7298273062 enum:
@@ -163544,6 +163624,53 @@ paths:
163544163624 x-unstable: |-
163545163625 **Note**: This endpoint is in preview and is subject to change.
163546163626 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
163627+ /api/v2/org_group_policy_suggestions:
163628+ get:
163629+ description: List suggested organization group policies. Requires a filter on org group ID.
163630+ operationId: ListOrgGroupPolicySuggestions
163631+ parameters:
163632+ - $ref: "#/components/parameters/OrgGroupPolicyFilterOrgGroupId"
163633+ - $ref: "#/components/parameters/OrgGroupPolicySuggestionFilterConfigTier"
163634+ responses:
163635+ "200":
163636+ content:
163637+ application/json:
163638+ examples:
163639+ default:
163640+ value:
163641+ data: []
163642+ schema:
163643+ $ref: "#/components/schemas/OrgGroupPolicySuggestionListResponse"
163644+ description: OK
163645+ "400":
163646+ content:
163647+ application/json:
163648+ schema:
163649+ $ref: "#/components/schemas/JSONAPIErrorResponse"
163650+ description: Bad Request
163651+ "401":
163652+ content:
163653+ application/json:
163654+ schema:
163655+ $ref: "#/components/schemas/JSONAPIErrorResponse"
163656+ description: Unauthorized
163657+ "403":
163658+ content:
163659+ application/json:
163660+ schema:
163661+ $ref: "#/components/schemas/JSONAPIErrorResponse"
163662+ description: Forbidden
163663+ "429":
163664+ $ref: "#/components/responses/TooManyRequestsResponse"
163665+ summary: List org group policy suggestions
163666+ tags: [Org Groups]
163667+ "x-permission":
163668+ operator: OR
163669+ permissions:
163670+ - org_group_read
163671+ x-unstable: |-
163672+ **Note**: This endpoint is in preview and is subject to change.
163673+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
163547163674 /api/v2/org_groups:
163548163675 get:
163549163676 description: List all organization groups that the requesting organization has access to.
0 commit comments