Skip to content

Commit ae65756

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
[docs] add integration-account and integration-webhook to restriction policy OpenAPI spec (#3006)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent bba12e9 commit ae65756

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-04 16:55:41.512615",
8-
"spec_repo_commit": "da94868e"
7+
"regenerated": "2025-04-04 20:19:32.147230",
8+
"spec_repo_commit": "3909ab62"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-04 16:55:41.529315",
13-
"spec_repo_commit": "da94868e"
12+
"regenerated": "2025-04-04 20:19:32.164476",
13+
"spec_repo_commit": "3909ab62"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ components:
654654
type: string
655655
ResourceID:
656656
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
657-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
658-
`app-builder-app`, `connection`, `connection-group`.'
657+
`dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`,
658+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.'
659659
example: dashboard:abc-def-ghi
660660
in: path
661661
name: resource_id
@@ -45734,6 +45734,10 @@ paths:
4573445734

4573545735
- Dashboards: `dashboard`
4573645736

45737+
- Integration Accounts: `integration-account`
45738+
45739+
- Integration Webhooks: `integration-webhook`
45740+
4573745741
- Notebooks: `notebook`
4573845742

4573945743
- Powerpacks: `powerpack`
@@ -45769,6 +45773,10 @@ paths:
4576945773

4577045774
Dashboards | `viewer`, `editor`
4577145775

45776+
Integration Accounts | `viewer`, `editor`
45777+
45778+
Integration Webhooks | `viewer`, `editor`
45779+
4577245780
Notebooks | `viewer`, `editor`
4577345781

4577445782
Powerpacks | `viewer`, `editor`

api/datadogV2/api_restriction_policies.go

+4
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
170170
// #### Supported resources
171171
// Restriction policies can be applied to the following resources:
172172
// - Dashboards: `dashboard`
173+
// - Integration Accounts: `integration-account`
174+
// - Integration Webhooks: `integration-webhook`
173175
// - Notebooks: `notebook`
174176
// - Powerpacks: `powerpack`
175177
// - Reference Tables: `reference-table`
@@ -188,6 +190,8 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
188190
// Resource Type | Supported Relations
189191
// ----------------------------|--------------------------
190192
// Dashboards | `viewer`, `editor`
193+
// Integration Accounts | `viewer`, `editor`
194+
// Integration Webhooks | `viewer`, `editor`
191195
// Notebooks | `viewer`, `editor`
192196
// Powerpacks | `viewer`, `editor`
193197
// Security Rules | `viewer`, `editor`

0 commit comments

Comments
 (0)