Skip to main content

RequestedItemAccountSelections

Properties

NameTypeDescriptionNotes
descriptionstrThe description for this requested item[optional]
accounts_selection_blockedboolThis field indicates if account selections are not allowed for this requested item. * If true, this field indicates that account selections will not be available for this item and identity combination. In this case, no account selections should be provided in the access request for this item and identity combination, irrespective of whether the identity has single or multiple accounts on a source. * An example is where a user is requesting an access profile that is already assigned to one of their accounts. * For machine identities, this can be true with reason NO_ACCOUNT_ON_SOURCE when the machine has no account on a requested source. Empty sources[].accounts on the accounts-selection response is valid in that blocked case; submitting empty accounts on create is not valid.[optional] [default to False]
accounts_selection_blocked_reasonstrIf account selections are not allowed for an item, this field will denote the reason. * ACCESS_PROFILE_ALREADY_ASSIGNED_TO_AN_ACCOUNT - access profile already assigned on an account. * NO_ACCOUNT_ON_SOURCE - no account found on at least one requested source (only for machine identities).[optional]
typeEnum [ 'ACCESS_PROFILE', 'ROLE', 'ENTITLEMENT' ]The type of the item being requested.[optional]
idstrThe id of the requested item[optional]
namestrThe name of the requested item[optional]
sources[]SourceAccountSelectionsThe details for the sources and accounts for the requested item and identity combination[optional]
}

Example

from sailpoint.access_requests.models.requested_item_account_selections import RequestedItemAccountSelections

requested_item_account_selections = RequestedItemAccountSelections(
description='An access profile for the admins',
accounts_selection_blocked=False,
accounts_selection_blocked_reason='ACCESS_PROFILE_ALREADY_ASSIGNED_TO_AN_ACCOUNT',
type='ACCESS_PROFILE',
id='720fd239701344aea76c93ba91376aec',
name='Test Access Profile',
sources=[
sailpoint.access_requests.models.source_account_selections.SourceAccountSelections(
type = 'IDENTITY',
id = '3ac3c43785a845fa9820b0c1ac767cd5',
name = 'Test Source_Name',
accounts = [
sailpoint.access_requests.models.account_info_ref.AccountInfoRef(
uuid = '{fab7119e-004f-4822-9c33-b8d570d6c6a6}',
native_identity = 'CN=Glen 067da3248e914,OU=YOUROU,OU=org-data-service,DC=YOURDC,DC=local',
id = 'f19d168c27374fd1aff3b483573f997f',
name = 'UserAccount.761a2248b', )
], )
]
)

[Back to top]