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.RequestOnBehalfOfConfig(
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.ApprovalReminderAndEscalationConfig(
days_until_escalation = 0,
days_between_reminders = 0,
max_reminders = 1,
fallback_approver_ref = sailpoint.v2024.models.identity_reference_with_name_and_email.IdentityReferenceWithNameAndEmail(
type = 'IDENTITY',
id = '5168015d32f890ca15812c9180835d2e',
name = 'Alison Ferguso',
email = '[email protected]', ), ),
entitlement_request_config=sailpoint.v2024.models.entitlement_request_config.EntitlementRequestConfig(
access_request_config = sailpoint.v2024.models.entitlement_access_request_config.EntitlementAccessRequestConfig(
approval_schemes = [
sailpoint.v2024.models.entitlement_approval_scheme.EntitlementApprovalScheme(
approver_type = 'GOVERNANCE_GROUP',
approver_id = 'e3eab852-8315-467f-9de7-70eda97f63c8', )
],
request_comment_required = True,
denial_comment_required = False, ), )
)