Skip to content

Commit 1d5ca26

Browse files
Automated commit by github action: 13525000627
1 parent 160da35 commit 1d5ca26

File tree

3 files changed

+114
-0
lines changed

3 files changed

+114
-0
lines changed

static/api-specs/idn/sailpoint-api.v2024.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,6 +1763,8 @@ paths:
17631763
$ref: ./v2024/paths/access-request-close.yaml
17641764
/ai-access-request-recommendations:
17651765
$ref: ./v2024/paths/ai-access-request-recommendations.yaml
1766+
/ai-access-request-recommendations/config:
1767+
$ref: ./v2024/paths/ai-access-request-recommendations-config.yaml
17661768
/ai-access-request-recommendations/ignored-items:
17671769
$ref: ./v2024/paths/ai-access-request-recommendations-ignored.yaml
17681770
/ai-access-request-recommendations/requested-items:
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
get:
2+
operationId: getAccessRequestRecommendationsConfig
3+
tags:
4+
- IAI Access Request Recommendations
5+
security:
6+
- userAuth: [ iai:configuration:read ]
7+
x-sailpoint-userLevels:
8+
- ORG_ADMIN
9+
summary: Get Access Request Recommendations config
10+
description: >-
11+
This API returns the configurations for Access Request Recommender for the tenant.
12+
parameters:
13+
- name: X-SailPoint-Experimental
14+
in: header
15+
description: Use this header to enable this experimental API.
16+
example: true
17+
schema:
18+
type: string
19+
default: true
20+
required: true
21+
responses:
22+
'200':
23+
description: Configurations for Access Request Recommender for the tenant.
24+
content:
25+
application/json:
26+
schema:
27+
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml'
28+
'400':
29+
$ref: '../../v3/responses/400.yaml'
30+
'401':
31+
$ref: '../../v3/responses/401.yaml'
32+
'403':
33+
$ref: '../../v3/responses/403.yaml'
34+
'429':
35+
$ref: '../../v3/responses/429.yaml'
36+
'500':
37+
$ref: '../../v3/responses/500.yaml'
38+
39+
put:
40+
operationId: setAccessRequestRecommendationsConfig
41+
tags:
42+
- IAI Access Request Recommendations
43+
security:
44+
- userAuth: [ iai:configuration:update ]
45+
x-sailpoint-userLevels:
46+
- ORG_ADMIN
47+
summary: Update Access Request Recommendations config
48+
description: >-
49+
This API updates the configurations for Access Request Recommender for the tenant.
50+
requestBody:
51+
description: The desired configurations for Access Request Recommender for the tenant.
52+
required: true
53+
content:
54+
application/json:
55+
schema:
56+
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml'
57+
parameters:
58+
- name: X-SailPoint-Experimental
59+
in: header
60+
description: Use this header to enable this experimental API.
61+
example: true
62+
schema:
63+
type: string
64+
default: true
65+
required: true
66+
responses:
67+
'200':
68+
description: Successfully updated configurations for Access Request Recommender for the tenant.
69+
content:
70+
application/json:
71+
schema:
72+
$ref: '../schemas/AccessRequestRecommendationConfigDto.yaml'
73+
'400':
74+
$ref: '../../v3/responses/400.yaml'
75+
'401':
76+
$ref: '../../v3/responses/401.yaml'
77+
'403':
78+
$ref: '../../v3/responses/403.yaml'
79+
'429':
80+
$ref: '../../v3/responses/429.yaml'
81+
'500':
82+
$ref: '../../v3/responses/500.yaml'
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
type: object
2+
properties:
3+
scoreThreshold:
4+
type: number
5+
format: float
6+
description: The value that internal calculations need to exceed for recommendations to be made.
7+
example: 0.5
8+
startDateAttribute:
9+
type: string
10+
description: Use to map an attribute name for determining identities' start date.
11+
example: startDate
12+
restrictionAttribute:
13+
type: string
14+
description: Use to only give recommendations based on this attribute.
15+
example: location
16+
moverAttribute:
17+
type: string
18+
description: Use to map an attribute name for determining whether identities are movers.
19+
example: isMover
20+
joinerAttribute:
21+
type: string
22+
description: Use to map an attribute name for determining whether identities are joiners.
23+
example: isJoiner
24+
useRestrictionAttribute:
25+
type: boolean
26+
description: Use only the attribute named in restrictionAttribute to make recommendations.
27+
example: true
28+
default: false
29+
required:
30+
- scoreThreshold

0 commit comments

Comments
 (0)