Skip to main content

AccessProfile

Access Profile

Properties

NameTypeDescriptionNotes
idstrThe ID of the Access Profile[optional] [readonly]
namestrName of the Access Profile[required]
descriptionstrInformation about the Access Profile[optional]
createddatetimeDate the Access Profile was created[optional] [readonly]
modifieddatetimeDate the Access Profile was last modified.[optional] [readonly]
enabledboolWhether the Access Profile is enabled. If the Access Profile is enabled then you must include at least one Entitlement.[optional] [default to True]
ownerOwnerReference[required]
sourceAccessProfileSourceRef[required]
entitlements[]EntitlementRefA list of entitlements associated with the Access Profile. If enabled is false this is allowed to be empty otherwise it needs to contain at least one Entitlement.[optional]
requestableboolWhether the Access Profile is requestable via access request. Currently, making an Access Profile non-requestable is only supported for customers enabled with the new Request Center. Otherwise, attempting to create an Access Profile with a value false in this field results in a 400 error.[optional] [default to True]
access_request_configRequestability[optional]
revocation_request_configRevocability[optional]
segments[]strList of IDs of segments, if any, to which this Access Profile is assigned.[optional]
provisioning_criteriaProvisioningCriteriaLevel1[optional]
}

Example

from sailpoint.v2024.models.access_profile import AccessProfile

access_profile = AccessProfile(
id='2c91808a7190d06e01719938fcd20792',
name='Employee-database-read-write',
description='Collection of entitlements to read/write the employee database',
created='2021-03-01T22:32:58.104Z',
modified='2021-03-02T20:22:28.104Z',
enabled=True,
owner=sailpoint.v2024.models.owner_reference.OwnerReference(
type = 'IDENTITY',
id = '2c9180a46faadee4016fb4e018c20639',
name = 'support', ),
source=sailpoint.v2024.models.access_profile_source_ref.AccessProfileSourceRef(
id = '2c91809773dee3610173fdb0b6061ef4',
type = 'SOURCE',
name = 'ODS-AD-SOURCE', ),
entitlements=[
sailpoint.v2024.models.entitlement_ref.EntitlementRef(
type = 'ENTITLEMENT',
id = '2c91809773dee32014e13e122092014e',
name = 'CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local', )
],
requestable=True,
access_request_config=sailpoint.v2024.models.requestability.Requestability(
comments_required = True,
denial_comments_required = True,
approval_schemes = [
sailpoint.v2024.models.access_profile_approval_scheme.AccessProfileApprovalScheme(
approver_type = 'GOVERNANCE_GROUP',
approver_id = '46c79819-a69f-49a2-becb-12c971ae66c6', )
], ),
revocation_request_config=sailpoint.v2024.models.revocability.Revocability(
approval_schemes = [
sailpoint.v2024.models.access_profile_approval_scheme.AccessProfileApprovalScheme(
approver_type = 'GOVERNANCE_GROUP',
approver_id = '46c79819-a69f-49a2-becb-12c971ae66c6', )
], ),
segments=[f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a],
provisioning_criteria=sailpoint.v2024.models.provisioning_criteria_level1.ProvisioningCriteriaLevel1(
operation = 'EQUALS',
attribute = 'email',
value = '[email protected]',
children = [
sailpoint.v2024.models.provisioning_criteria_level2.ProvisioningCriteriaLevel2(
attribute = 'email',
value = '[email protected]', )
], )
)

[Back to top]