Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/AccessProfile.md
2025-04-01 21:14:08 +00:00

4.8 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-access-profile AccessProfile AccessProfile AccessProfile pythonsdk
python
Python
sdk
AccessProfile
V2024AccessProfile
/tools/sdk/python/v2024/models/access-profile
SDK
Software Development Kit
AccessProfile
V2024AccessProfile

AccessProfile

Access profile.

Properties

Name Type Description Notes
id str Access profile ID. [optional] [readonly]
name str Access profile name. [required]
description str Access profile description. [optional]
created datetime Date and time when the access profile was created. [optional] [readonly]
modified datetime Date and time when the access profile was last modified. [optional] [readonly]
enabled bool Indicates whether the access profile is enabled. If it's enabled, you must include at least one entitlement. [optional] [default to False]
owner OwnerReference [required]
source AccessProfileSourceRef [required]
entitlements []EntitlementRef List of entitlements associated with the access profile. If enabled is false, this can be empty. Otherwise, it must contain at least one entitlement. [optional]
requestable bool Indicates whether the access profile is requestable by 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_config Requestability [optional]
revocation_request_config Revocability [optional]
segments []str List of segment IDs, if any, that the access profile is assigned to. [optional]
provisioning_criteria ProvisioningCriteriaLevel1 [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, 
                    reauthorization_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 = 'carlee.cert1c9f9b6fd@mailinator.com', 
                    children = [
                        sailpoint.v2024.models.provisioning_criteria_level2.ProvisioningCriteriaLevel2(
                            attribute = 'email', 
                            value = 'carlee.cert1c9f9b6fd@mailinator.com', )
                        ], )
)

[Back to top]