Skip to content

Commit

Permalink
Automated commit 'Updated security schema to support improved user in…
Browse files Browse the repository at this point in the history
…terface (#1832)

* Updated security schema to support improved user interface

* Added default scope

* Fixed default auth formatting' by github action: 11059326683
  • Loading branch information
tyler-mairose-sp committed Sep 26, 2024
1 parent 1708190 commit 26b7e37
Show file tree
Hide file tree
Showing 644 changed files with 997 additions and 1,005 deletions.
2 changes: 1 addition & 1 deletion idn/beta/paths/access-model-metadata-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ get:
- Access Model Metadata
operationId: "listAccessModelMetadataAttribute"
security:
- UserContextAuth: [ 'idn:access-model-metadata:read' ]
- userAuth: [ 'idn:access-model-metadata:read' ]
parameters:
- in: query
name: filters
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/access-model-metadata-value-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ get:
- Access Model Metadata
operationId: "listAccessModelMetadataAttributeValue"
security:
- UserContextAuth: [ 'idn:access-model-metadata:read' ]
- userAuth: [ 'idn:access-model-metadata:read' ]
parameters:
- name: "key"
in: "path"
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/access-model-metadata-value.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ get:
- Access Model Metadata
operationId: "getAccessModelMetadataAttributeValue"
security:
- UserContextAuth: [ 'idn:access-model-metadata:read' ]
- userAuth: [ 'idn:access-model-metadata:read' ]
parameters:
- name: "key"
in: "path"
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/access-model-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ get:
- Access Model Metadata
operationId: "getAccessModelMetadataAttribute"
security:
- UserContextAuth: [ 'idn:access-model-metadata:read' ]
- userAuth: [ 'idn:access-model-metadata:read' ]
parameters:
- name: "key"
in: "path"
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/access-profile-bulk-delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ post:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:manage]
- userAuth: [idn:access-profile:manage]
2 changes: 1 addition & 1 deletion idn/beta/paths/access-profile-bulk-update-requestable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ post:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:manage]
- userAuth: [idn:access-profile:manage]
2 changes: 1 addition & 1 deletion idn/beta/paths/access-profile-entitlements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ get:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:read, idn:access-profile:manage]
- userAuth: [idn:access-profile:read, idn:access-profile:manage]



6 changes: 3 additions & 3 deletions idn/beta/paths/access-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:read, idn:access-profile:manage]
- userAuth: [idn:access-profile:read, idn:access-profile:manage]
patch:
operationId: patchAccessProfile
tags:
Expand Down Expand Up @@ -125,7 +125,7 @@ patch:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:manage]
- userAuth: [idn:access-profile:manage]
delete:
operationId: deleteAccessProfile
tags:
Expand Down Expand Up @@ -176,5 +176,5 @@ delete:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:manage]
- userAuth: [idn:access-profile:manage]

4 changes: 2 additions & 2 deletions idn/beta/paths/access-profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ get:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:read, idn:access-profile:manage]
- userAuth: [idn:access-profile:read, idn:access-profile:manage]
post:
operationId: createAccessProfile
tags:
Expand Down Expand Up @@ -154,4 +154,4 @@ post:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:access-profile:manage]
- userAuth: [idn:access-profile:manage]
2 changes: 1 addition & 1 deletion idn/beta/paths/access-request-approval-summary.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
get:
operationId: getAccessRequestApprovalSummary
security:
- UserContextAuth: [ idn:access-request-approvals-summary:read ]
- userAuth: [ idn:access-request-approvals-summary:read ]
summary: Get Access Requests Approvals Number
tags:
- Access Request Approvals
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/access-request-identity-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ get:
$ref: '../schemas/AccessItemRef.yaml'
example: ENTITLEMENT
security:
- UserContextAuth: [idn:access-request-approvals:read]
- userAuth: [idn:access-request-approvals:read]
responses:
'200':
description: Summary of the resource access and source activity for the direct reports of the provided manager.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ post:
$ref: '../../v3/responses/500.yaml'

security:
- UserContextAuth: [idn:segments:manage]
- userAuth: [idn:segments:manage]
2 changes: 1 addition & 1 deletion idn/beta/paths/account-usages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ get:
Sorting is supported for the following fields: **date**
example: -date
security:
- UserContextAuth: [ idn:accounts:read ]
- userAuth: [ idn:accounts:read ]
responses:
'200':
description: Summary of account usage insights for past 12 months.
Expand Down
8 changes: 4 additions & 4 deletions idn/beta/paths/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts:read, idn:accounts:manage]
- userAuth: [idn:accounts:read, idn:accounts:manage]
parameters:
- in: path
name: id
Expand Down Expand Up @@ -54,7 +54,7 @@ patch:
>**Note:** The `attributes` field can only be modified for flat file accounts.
security:
- UserContextAuth: [idn:accounts:manage]
- userAuth: [idn:accounts:manage]
parameters:
- in: path
name: id
Expand Down Expand Up @@ -133,7 +133,7 @@ put:
>**Note: You can only use this PUT endpoint to update accounts from flat file sources.**
security:
- UserContextAuth: [idn:accounts:manage]
- userAuth: [idn:accounts:manage]
parameters:
- in: path
name: id
Expand Down Expand Up @@ -184,7 +184,7 @@ delete:
>**NOTE:** You can only delete accounts from sources of the "DelimitedFile" type.**
security:
- UserContextAuth: [idn:accounts:manage]
- userAuth: [idn:accounts:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/accounts-id-disable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ post:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts-state:manage]
- userAuth: [idn:accounts-state:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/accounts-id-enable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ post:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts-state:manage]
- userAuth: [idn:accounts-state:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/accounts-id-entitlements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts:read]
- userAuth: [idn:accounts:read]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/accounts-id-reload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ post:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts-state:manage]
- userAuth: [idn:accounts-state:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/accounts-id-unlock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ post:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts-state:manage, idn:accounts-provisioning:manage]
- userAuth: [idn:accounts-state:manage, idn:accounts-provisioning:manage]
parameters:
- in: path
name: id
Expand Down
4 changes: 2 additions & 2 deletions idn/beta/paths/accounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ get:
A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [idn:accounts:read, idn:accounts:manage]
- userAuth: [idn:accounts:read, idn:accounts:manage]
parameters:
- in: query
name: detailLevel
Expand Down Expand Up @@ -171,7 +171,7 @@ post:
A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:accounts:manage]
- userAuth: [idn:accounts:manage]
requestBody:
required: true
content:
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/approval.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get:
security:
- UserContextAuth: [ sp:approvals:read ]
- userAuth: [ sp:approvals:read ]
operationId: getApproval
tags:
- Approvals
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/approvals.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get:
security:
- UserContextAuth: [ sp:approvals:read ]
- userAuth: [ sp:approvals:read ]
operationId: getApprovals
tags:
- Approvals
Expand Down
4 changes: 2 additions & 2 deletions idn/beta/paths/attr-sync-config-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ get:
A token with ORG_ADMIN or HELPDESK authority is required to call this API.
security:
- UserContextAuth: [ "idn:attr-sync-source-config:read", "idn:attr-sync-source-config:manage" ]
- userAuth: [ "idn:attr-sync-source-config:read", "idn:attr-sync-source-config:manage" ]
parameters:
- in: path
name: id
Expand Down Expand Up @@ -52,7 +52,7 @@ put:
A token with ORG_ADMIN authority is required to call this API.
security:
- UserContextAuth:
- userAuth:
- "idn:attr-sync-source-config:manage"
parameters:
- in: path
Expand Down
4 changes: 2 additions & 2 deletions idn/beta/paths/auth-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ get:
description: >-
This API returns auth profile information.
security:
- UserContextAuth: [sp:auth-profile:read]
- userAuth: [sp:auth-profile:read]
responses:
'200':
description: Auth Profile
Expand Down Expand Up @@ -69,4 +69,4 @@ patch:
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [sp:auth-profile:update]
- userAuth: [sp:auth-profile:update]
2 changes: 1 addition & 1 deletion idn/beta/paths/auth-profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ get:
description: >-
This API returns a list of auth profiles.
security:
- UserContextAuth: [sp:auth-profile:read]
- userAuth: [sp:auth-profile:read]
responses:
'200':
description: List of Auth Profiles
Expand Down
4 changes: 2 additions & 2 deletions idn/beta/paths/auth-user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ put:
summary: Auth User Update - Overwrite
description: Update an existing user in the authentication system by over overwriting the information with new information.
security:
- UserContextAuth: [sp:auth-user-internal:update]
- userAuth: [sp:auth-user-internal:update]
parameters:
- in: path
name: id
Expand Down Expand Up @@ -50,7 +50,7 @@ delete:
summary: Delete an Auth User
description: Delete an existing user in the authentication system.
security:
- UserContextAuth: [sp:auth-user:delete]
- userAuth: [sp:auth-user:delete]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/bulk-add-tagged-objects.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
post:
operationId: setTagsToManyObjects
security:
- UserContextAuth: [ idn:tag:manage ]
- userAuth: [ idn:tag:manage ]
tags:
- Tagged Objects
summary: Tag Multiple Objects
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/bulk-remove-tagged-objects.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
post:
operationId: deleteTagsToManyObject
security:
- UserContextAuth: [ idn:tag:manage ]
- userAuth: [ idn:tag:manage ]
tags:
- Tagged Objects
summary: Remove Tags from Multiple Objects
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-activate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ post:
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:campaign:manage]
- userAuth: [idn:campaign:manage]
deprecated: true
requestBody:
description:
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-admin-cert-reassign.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
post:
security:
- UserContextAuth: [idn:campaign:manage]
- userAuth: [idn:campaign:manage]
operationId: move
tags:
- Certification Campaigns
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ post:
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
deprecated: true
security:
- UserContextAuth: [idn:campaign:manage]
- userAuth: [idn:campaign:manage]
requestBody:
description:
Optional. Default behavior is for the campaign to auto-approve upon completion,
Expand Down
4 changes: 2 additions & 2 deletions idn/beta/paths/campaign-reports-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ get:
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:campaign:read, idn:campaign:manage]
- userAuth: [idn:campaign:read, idn:campaign:manage]
responses:
'200':
description: Campaign report configuration.
Expand Down Expand Up @@ -40,7 +40,7 @@ put:
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:campaign:manage]
- userAuth: [idn:campaign:manage]
requestBody:
required: true
description: Campaign report configuration.
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-reports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ get:
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:campaign-report:read, idn:campaign-report:manage]
- userAuth: [idn:campaign-report:read, idn:campaign-report:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-run-remediation-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ post:
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
deprecated: true
security:
- UserContextAuth: [idn:campaign-report:manage]
- userAuth: [idn:campaign-report:manage]
parameters:
- in: path
name: id
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/paths/campaign-run-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ post:
A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API.
security:
- UserContextAuth: [idn:campaign-report:manage]
- userAuth: [idn:campaign-report:manage]
parameters:
- in: path
name: id
Expand Down
Loading

0 comments on commit 26b7e37

Please sign in to comment.