-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit by github action: 13525000627
- Loading branch information
1 parent
160da35
commit 1d5ca26
Showing
3 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
static/api-specs/idn/v2024/paths/ai-access-request-recommendations-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
get: | ||
operationId: getAccessRequestRecommendationsConfig | ||
tags: | ||
- IAI Access Request Recommendations | ||
security: | ||
- userAuth: [ iai:configuration:read ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
summary: Get Access Request Recommendations config | ||
description: >- | ||
This API returns the configurations for Access Request Recommender for the tenant. | ||
parameters: | ||
- name: X-SailPoint-Experimental | ||
in: header | ||
description: Use this header to enable this experimental API. | ||
example: true | ||
schema: | ||
type: string | ||
default: true | ||
required: true | ||
responses: | ||
'200': | ||
description: Configurations for Access Request Recommender for the tenant. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' | ||
'400': | ||
$ref: '../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../v3/responses/403.yaml' | ||
'429': | ||
$ref: '../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../v3/responses/500.yaml' | ||
|
||
put: | ||
operationId: setAccessRequestRecommendationsConfig | ||
tags: | ||
- IAI Access Request Recommendations | ||
security: | ||
- userAuth: [ iai:configuration:update ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
summary: Update Access Request Recommendations config | ||
description: >- | ||
This API updates the configurations for Access Request Recommender for the tenant. | ||
requestBody: | ||
description: The desired configurations for Access Request Recommender for the tenant. | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' | ||
parameters: | ||
- name: X-SailPoint-Experimental | ||
in: header | ||
description: Use this header to enable this experimental API. | ||
example: true | ||
schema: | ||
type: string | ||
default: true | ||
required: true | ||
responses: | ||
'200': | ||
description: Successfully updated configurations for Access Request Recommender for the tenant. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml' | ||
'400': | ||
$ref: '../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../v3/responses/403.yaml' | ||
'429': | ||
$ref: '../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../v3/responses/500.yaml' |
30 changes: 30 additions & 0 deletions
30
static/api-specs/idn/v2024/schemas/AccessRequestRecommendationConfigDto.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
type: object | ||
properties: | ||
scoreThreshold: | ||
type: number | ||
format: float | ||
description: The value that internal calculations need to exceed for recommendations to be made. | ||
example: 0.5 | ||
startDateAttribute: | ||
type: string | ||
description: Use to map an attribute name for determining identities' start date. | ||
example: startDate | ||
restrictionAttribute: | ||
type: string | ||
description: Use to only give recommendations based on this attribute. | ||
example: location | ||
moverAttribute: | ||
type: string | ||
description: Use to map an attribute name for determining whether identities are movers. | ||
example: isMover | ||
joinerAttribute: | ||
type: string | ||
description: Use to map an attribute name for determining whether identities are joiners. | ||
example: isJoiner | ||
useRestrictionAttribute: | ||
type: boolean | ||
description: Use only the attribute named in restrictionAttribute to make recommendations. | ||
example: true | ||
default: false | ||
required: | ||
- scoreThreshold |