Skip to content

Commit 345fb9c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[docs] add integration-account and integration-webhook to restriction policy OpenAPI spec (#579)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8dda140 commit 345fb9c

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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:39.734664",
8-
"spec_repo_commit": "da94868e"
7+
"regenerated": "2025-04-04 20:19:30.053070",
8+
"spec_repo_commit": "3909ab62"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-04 16:55:39.750591",
13-
"spec_repo_commit": "da94868e"
12+
"regenerated": "2025-04-04 20:19:30.068607",
13+
"spec_repo_commit": "3909ab62"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
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`

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ impl RestrictionPoliciesAPI {
325325
/// #### Supported resources
326326
/// Restriction policies can be applied to the following resources:
327327
/// - Dashboards: `dashboard`
328+
/// - Integration Accounts: `integration-account`
329+
/// - Integration Webhooks: `integration-webhook`
328330
/// - Notebooks: `notebook`
329331
/// - Powerpacks: `powerpack`
330332
/// - Reference Tables: `reference-table`
@@ -343,6 +345,8 @@ impl RestrictionPoliciesAPI {
343345
/// Resource Type | Supported Relations
344346
/// ----------------------------|--------------------------
345347
/// Dashboards | `viewer`, `editor`
348+
/// Integration Accounts | `viewer`, `editor`
349+
/// Integration Webhooks | `viewer`, `editor`
346350
/// Notebooks | `viewer`, `editor`
347351
/// Powerpacks | `viewer`, `editor`
348352
/// Security Rules | `viewer`, `editor`
@@ -387,6 +391,8 @@ impl RestrictionPoliciesAPI {
387391
/// #### Supported resources
388392
/// Restriction policies can be applied to the following resources:
389393
/// - Dashboards: `dashboard`
394+
/// - Integration Accounts: `integration-account`
395+
/// - Integration Webhooks: `integration-webhook`
390396
/// - Notebooks: `notebook`
391397
/// - Powerpacks: `powerpack`
392398
/// - Reference Tables: `reference-table`
@@ -405,6 +411,8 @@ impl RestrictionPoliciesAPI {
405411
/// Resource Type | Supported Relations
406412
/// ----------------------------|--------------------------
407413
/// Dashboards | `viewer`, `editor`
414+
/// Integration Accounts | `viewer`, `editor`
415+
/// Integration Webhooks | `viewer`, `editor`
408416
/// Notebooks | `viewer`, `editor`
409417
/// Powerpacks | `viewer`, `editor`
410418
/// Security Rules | `viewer`, `editor`

0 commit comments

Comments
 (0)