Skip to main content

Requestabilityforrole

Properties

NameTypeDescriptionNotes
comments_requiredboolWhether the requester of the containing object must provide comments justifying the request[optional] [default to False]
denial_comments_requiredboolWhether an approver must provide comments when denying the request[optional] [default to False]
reauthorization_requiredboolIndicates whether reauthorization is required for the request.[optional] [default to False]
require_end_dateboolIndicates whether the requester of the containing object must provide access end date.[optional] [default to False]
max_permitted_access_durationAccessduration[optional]
approval_schemes[]ApprovalschemeforroleList describing the steps in approving the request[optional]
dimension_schemaDimensionschema[optional]
form_definition_idstrThe ID of the form definition used for the access request. If specified, the form is presented to the requester during the access request process.[optional]
}

Example

from sailpoint.roles.models.requestabilityforrole import Requestabilityforrole

requestabilityforrole = Requestabilityforrole(
comments_required=True,
denial_comments_required=True,
reauthorization_required=True,
require_end_date=True,
max_permitted_access_duration=sailpoint.roles.models.accessduration.accessduration(
value = 6,
time_unit = 'MONTHS', ),
approval_schemes=[
sailpoint.roles.models.approvalschemeforrole.approvalschemeforrole(
approver_type = 'GOVERNANCE_GROUP',
approver_id = '46c79819-a69f-49a2-becb-12c971ae66c6', )
],
dimension_schema=sailpoint.roles.models.dimensionschema.dimensionschema(
dimension_attributes = [
sailpoint.roles.models.dimensionattribute.dimensionattribute(
name = 'city',
display_name = 'City',
derived = True, )
], ),
form_definition_id='78258e80-e9e2-4e1a-a11f-ce0b7c62f25d'
)

[Back to top]