Skip to content

[GRACE-2200] Add cross-org-connection to restriction policy #2471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ components:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
`connection`, `connection-group`, `rum-application`.'
`connection`, `connection-group`, `rum-application`, `cross-org-connection`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -58677,6 +58677,8 @@ paths:

- RUM Applications: `rum-application`

- Cross Org Connections: `cross-org-connection`


#### Supported relations for resources

Expand Down Expand Up @@ -58718,7 +58720,9 @@ paths:

Connection Groups | `viewer`, `editor`

RUM Application | `viewer`, `editor`'
RUM Application | `viewer`, `editor`

Cross Org Connections | `viewer`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,23 +370,23 @@ export class RestrictionPoliciesApiResponseProcessor {

export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
* Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
* @type string
*/
resourceId: string;
Expand Down Expand Up @@ -489,6 +489,7 @@ export class RestrictionPoliciesApi {
* - Connections: `connection`
* - Connection Groups: `connection-group`
* - RUM Applications: `rum-application`
* - Cross Org Connections: `cross-org-connection`
*
* #### Supported relations for resources
* Resource Type | Supported Relations
Expand All @@ -511,6 +512,7 @@ export class RestrictionPoliciesApi {
* Connections | `viewer`, `resolver`, `editor`
* Connection Groups | `viewer`, `editor`
* RUM Application | `viewer`, `editor`
* Cross Org Connections | `viewer`, `editor`
* @param param The request object
*/
public updateRestrictionPolicy(
Expand Down
Loading