From d72437ca4f3be3ac1e94f35cb370a6243f838a4c Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Wed, 14 Jun 2023 19:20:38 +0000 Subject: [PATCH] Automated commit by github action: 5271259811 --- .../beta/paths/source-accounts-schema.yaml | 4 +- .../paths/source-entitlements-schema.yaml | 6 +- .../paths/source-upload-connector-file.yaml | 4 +- static/api-specs/idn/beta/paths/source.yaml | 19 +++--- static/api-specs/idn/beta/paths/sources.yaml | 64 ++++++------------- .../idn/v3/paths/source-accounts-schema.yaml | 4 +- .../v3/paths/source-entitlements-schema.yaml | 4 +- .../api-specs/idn/v3/paths/source-health.yaml | 4 +- .../paths/source-upload-connector-file.yaml | 4 +- static/api-specs/idn/v3/paths/source.yaml | 14 ++-- static/api-specs/idn/v3/paths/sources.yaml | 61 ++++++------------ 11 files changed, 74 insertions(+), 114 deletions(-) diff --git a/static/api-specs/idn/beta/paths/source-accounts-schema.yaml b/static/api-specs/idn/beta/paths/source-accounts-schema.yaml index 69e32f369..339739d84 100644 --- a/static/api-specs/idn/beta/paths/source-accounts-schema.yaml +++ b/static/api-specs/idn/beta/paths/source-accounts-schema.yaml @@ -2,7 +2,7 @@ get: tags: - Sources summary: Downloads source accounts schema template - operationId: downloadSourceAccountsSchema + operationId: getSourceAccountsSchema parameters: - in: path name: id @@ -37,7 +37,7 @@ post: summary: Uploads source accounts schema template description: >- This API uploads a source schema template file to configure a source's account attributes. - operationId: uploadSourceAccountsSchema + operationId: importSourceAccountsSchema parameters: - in: path name: id diff --git a/static/api-specs/idn/beta/paths/source-entitlements-schema.yaml b/static/api-specs/idn/beta/paths/source-entitlements-schema.yaml index f3f549d0e..885a25f0a 100644 --- a/static/api-specs/idn/beta/paths/source-entitlements-schema.yaml +++ b/static/api-specs/idn/beta/paths/source-entitlements-schema.yaml @@ -1,8 +1,9 @@ +#No Beta endpoint found for this operation. get: tags: - Sources summary: Downloads source entitlements schema template - operationId: downloadSourceEntitlementsSchema + operationId: getSourceEntitlementsSchema parameters: - in: path name: id @@ -37,13 +38,14 @@ get: $ref: '../../v3/responses/500.yaml' security: - oauth2: [idn:source-schema:read, idn:source-schema:manage] +#No Beta endpoint found for this operation. post: tags: - Sources summary: Uploads source entitlements schema template description: >- This API uploads a source schema template file to configure a source's entitlement attributes. - operationId: uploadSourceEntitlementsSchema + operationId: importSourceEntitlementsSchema parameters: - in: path name: id diff --git a/static/api-specs/idn/beta/paths/source-upload-connector-file.yaml b/static/api-specs/idn/beta/paths/source-upload-connector-file.yaml index 6e5ed06f5..3f834183e 100644 --- a/static/api-specs/idn/beta/paths/source-upload-connector-file.yaml +++ b/static/api-specs/idn/beta/paths/source-upload-connector-file.yaml @@ -1,5 +1,7 @@ post: - operationId: uploadSourceConnectorFile + operationId: importSourceConnectorFile + security: + - oauth2: [ idn:sources-admin:manage ] tags: - Sources summary: Upload connector file to source diff --git a/static/api-specs/idn/beta/paths/source.yaml b/static/api-specs/idn/beta/paths/source.yaml index 6ea25cb78..6b637aad3 100644 --- a/static/api-specs/idn/beta/paths/source.yaml +++ b/static/api-specs/idn/beta/paths/source.yaml @@ -1,5 +1,7 @@ get: operationId: getSource + security: + - oauth2: [ idn:sources:read ] tags: - Sources summary: Get Source by ID @@ -36,6 +38,8 @@ get: $ref: '../../v3/responses/500.yaml' put: operationId: putSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Update Source (Full) @@ -62,6 +66,7 @@ put: type: string required: true description: The Source id + example: 2c9180835d191a86015d28455b4a2329 requestBody: required: true content: @@ -91,6 +96,8 @@ put: $ref: '../../v3/responses/500.yaml' patch: operationId: updateSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Update Source (Partial) @@ -99,7 +106,6 @@ patch: [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Some fields are immutable and cannot be changed, such as: - * id * type * authoritative @@ -225,7 +231,9 @@ patch: '500': $ref: '../../v3/responses/500.yaml' delete: - operationId: deleteSource + security: + - oauth2: [ idn:sources:manage ] + operationId: delete tags: - Sources summary: Delete Source by ID @@ -270,13 +278,6 @@ delete: deleteSource: summary: Response returned when deleting a source value: {"type": "TASK_RESULT", "id": "2c91808779ecf55b0179f720942f181a", "name": null} - links: - GetTaskStatusById: - operationId: getTaskStatus - parameters: - id: '$response.body#/id' - description: > - The `id` value returned in the response can be used as the `id` parameter in `GET /task-status/{id}`. '400': $ref: '../../v3/responses/400.yaml' '401': diff --git a/static/api-specs/idn/beta/paths/sources.yaml b/static/api-specs/idn/beta/paths/sources.yaml index 65218c23e..184c19e42 100644 --- a/static/api-specs/idn/beta/paths/sources.yaml +++ b/static/api-specs/idn/beta/paths/sources.yaml @@ -1,5 +1,7 @@ get: operationId: listSources + security: + - oauth2: [ idn:sources:read ] tags: - Sources summary: Lists all sources in IdentityNow. @@ -18,51 +20,22 @@ get: example: name eq "#Employees" description: >- Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) - - + Filtering is supported for the following fields and operators: - - - **id**: *eq, in* - - - **name**: *co, eq, in, sw* - - - **type**: *eq, in* - - - **owner.id**: *eq, in* - - - **features**: *ca, co* - - - **created**: *eq* - - - **modified**: *eq* - - - **managementWorkgroup.id**: *eq* - - - **description**: *eq* - - - **authoritative**: *eq* - - - **healthy**: *eq* - - - **status**: *eq, in* - - - **connectionType**: *eq* - - - **connectorName**: *eq* + **id**: *eq, in* + **name**: *co, eq, in, sw* + **type**: *eq, in* + **owner.id**: *eq, in* + **features**: *ca, co* + **created**: *eq* + **modified**: *eq* + **managementWorkgroup.id**: *eq* + **description**: *eq* + **authoritative**: *eq* + **healthy**: *eq* + **status**: *eq, in* + **connectionType**: *eq* + **connectorName**: *eq* - in: query name: sorters schema: @@ -72,7 +45,6 @@ get: description: >- Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) - Sorting is supported for the following fields: **type, created, modified, name, owner.name, healthy, status** - in: query name: for-subadmin @@ -109,6 +81,8 @@ get: $ref: '../../v3/responses/500.yaml' post: operationId: createSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Creates a source in IdentityNow. diff --git a/static/api-specs/idn/v3/paths/source-accounts-schema.yaml b/static/api-specs/idn/v3/paths/source-accounts-schema.yaml index 09cceed95..3082f975b 100644 --- a/static/api-specs/idn/v3/paths/source-accounts-schema.yaml +++ b/static/api-specs/idn/v3/paths/source-accounts-schema.yaml @@ -6,7 +6,7 @@ get: This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.** - operationId: downloadSourceAccountsSchema + operationId: getAccountsSchema parameters: - in: path name: id @@ -50,7 +50,7 @@ post: >**NOTE: This API is designated only for Delimited File sources.** - operationId: uploadSourceAccountsSchema + operationId: importAccountsSchema parameters: - in: path name: id diff --git a/static/api-specs/idn/v3/paths/source-entitlements-schema.yaml b/static/api-specs/idn/v3/paths/source-entitlements-schema.yaml index 201e32ded..2e6eda610 100644 --- a/static/api-specs/idn/v3/paths/source-entitlements-schema.yaml +++ b/static/api-specs/idn/v3/paths/source-entitlements-schema.yaml @@ -7,7 +7,7 @@ get: >**NOTE: This API is designated only for Delimited File sources.** - operationId: downloadSourceEntitlementsSchema + operationId: getEntitlementsSchema parameters: - in: path name: id @@ -57,7 +57,7 @@ post: >**NOTE: This API is designated only for Delimited File sources.** - operationId: uploadSourceEntitlementsSchema + operationId: importEntitlementsSchema parameters: - in: path name: id diff --git a/static/api-specs/idn/v3/paths/source-health.yaml b/static/api-specs/idn/v3/paths/source-health.yaml index d9a0477f7..6d852e6fc 100644 --- a/static/api-specs/idn/v3/paths/source-health.yaml +++ b/static/api-specs/idn/v3/paths/source-health.yaml @@ -1,8 +1,10 @@ get: operationId: getSourceHealth + security: + - oauth2: [ idn:sources:read ] tags: - Sources - summary: This API fetches source health by source's id + summary: Fetches source health by id description: >- This endpoint fetches source health by source's id diff --git a/static/api-specs/idn/v3/paths/source-upload-connector-file.yaml b/static/api-specs/idn/v3/paths/source-upload-connector-file.yaml index 0227f6e7f..715c7d7db 100644 --- a/static/api-specs/idn/v3/paths/source-upload-connector-file.yaml +++ b/static/api-specs/idn/v3/paths/source-upload-connector-file.yaml @@ -1,5 +1,7 @@ post: - operationId: uploadSourceConnectorFile + operationId: importConnectorFile + security: + - oauth2: [ idn:sources-admin:manage ] tags: - Sources summary: Upload connector file to source diff --git a/static/api-specs/idn/v3/paths/source.yaml b/static/api-specs/idn/v3/paths/source.yaml index 9482053ce..23b553c98 100644 --- a/static/api-specs/idn/v3/paths/source.yaml +++ b/static/api-specs/idn/v3/paths/source.yaml @@ -1,5 +1,7 @@ get: operationId: getSource + security: + - oauth2: [ idn:sources:read ] tags: - Sources summary: Get Source by ID @@ -36,6 +38,8 @@ get: $ref: '../../v3/responses/500.yaml' put: operationId: putSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Update Source (Full) @@ -92,6 +96,8 @@ put: $ref: '../../v3/responses/500.yaml' patch: operationId: updateSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Update Source (Partial) @@ -227,6 +233,8 @@ patch: $ref: '../../v3/responses/500.yaml' delete: operationId: deleteSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Delete Source by ID @@ -271,12 +279,6 @@ delete: deleteSource: summary: Response returned when deleting a source value: {"type": "TASK_RESULT", "id": "2c91808779ecf55b0179f720942f181a", "name": null} - links: - GetTaskStatusById: - parameters: - id: '$response.body#/id' - description: > - The `id` value returned in the response can be used as the `id` parameter in `GET /task-status/{id}`. '400': $ref: '../../v3/responses/400.yaml' '401': diff --git a/static/api-specs/idn/v3/paths/sources.yaml b/static/api-specs/idn/v3/paths/sources.yaml index 982159218..88c242e90 100644 --- a/static/api-specs/idn/v3/paths/sources.yaml +++ b/static/api-specs/idn/v3/paths/sources.yaml @@ -1,5 +1,7 @@ get: operationId: listSources + security: + - oauth2: [ idn:sources:read ] tags: - Sources summary: Lists all sources in IdentityNow. @@ -19,50 +21,21 @@ get: description: >- Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) - Filtering is supported for the following fields and operators: - - - **id**: *eq, in* - - - **name**: *co, eq, in, sw* - - - **type**: *eq, in* - - - **owner.id**: *eq, in* - - - **features**: *ca, co* - - - **created**: *eq* - - - **modified**: *eq* - - - **managementWorkgroup.id**: *eq* - - - **description**: *eq* - - - **authoritative**: *eq* - - - **healthy**: *eq* - - - **status**: *eq, in* - - - **connectionType**: *eq* - - - **connectorName**: *eq* + **id**: *eq, in* + **name**: *co, eq, in, sw* + **type**: *eq, in* + **owner.id**: *eq, in* + **features**: *ca, co* + **created**: *eq* + **modified**: *eq* + **managementWorkgroup.id**: *eq* + **description**: *eq* + **authoritative**: *eq* + **healthy**: *eq* + **status**: *eq, in* + **connectionType**: *eq* + **connectorName**: *eq* - in: query name: sorters schema: @@ -109,6 +82,8 @@ get: $ref: '../../v3/responses/500.yaml' post: operationId: createSource + security: + - oauth2: [ idn:sources:manage ] tags: - Sources summary: Creates a source in IdentityNow.