from sailpoint.v2024.models.access_request_config import AccessRequestConfig
access_request_config = AccessRequestConfig(
approvals_must_be_external=True,
auto_approval_enabled=True,
reauthorization_enabled=True,
request_on_behalf_of_config=sailpoint.v2024.models.request_on_behalf_of_config.Request On Behalf Of Config(
allow_request_on_behalf_of_anyone_by_anyone = True,
allow_request_on_behalf_of_employee_by_manager = True, ),
approval_reminder_and_escalation_config=sailpoint.v2024.models.approval_reminder_and_escalation_config.Approval Reminder And Escalation Config(
days_until_escalation = 0,
days_between_reminders = 0,
max_reminders = 1,
fallback_approver_ref = sailpoint.v2024.models.identity_reference_with_name_and_email.Identity Reference With Name And Email(
type = 'IDENTITY',
id = '5168015d32f890ca15812c9180835d2e',
name = 'Alison Ferguso',
email = '[email protected]', ), ),
entitlement_request_config=sailpoint.v2024.models.entitlement_request_config.Entitlement Request Config(
access_request_config = sailpoint.v2024.models.entitlement_access_request_config.Entitlement Access Request Config(
approval_schemes = [
sailpoint.v2024.models.entitlement_approval_scheme.Entitlement Approval Scheme(
approver_type = 'GOVERNANCE_GROUP',
approver_id = 'e3eab852-8315-467f-9de7-70eda97f63c8', )
],
request_comment_required = True,
denial_comment_required = False,
reauthorization_required = False, ),
revocation_request_config = sailpoint.v2024.models.entitlement_revocation_request_config.Entitlement Revocation Request Config(), )
)