Skip to main content

ApprovalConfig

Approval config Object

Properties​

NameTypeDescriptionNotes
reminder_configApprovalConfigReminderConfig[optional]
escalation_configApprovalConfigEscalationConfig[optional]
timeout_configApprovalConfigTimeoutConfig[optional]
cron_timezoneApprovalConfigCronTimezone[optional]
serial_chain[]ApprovalConfigSerialChainInnerIf the approval request has an approvalCriteria of SERIAL this chain will be used to determine the assignment order.[optional]
requires_commentEnum [ 'APPROVAL', 'REJECTION', 'ALL', 'OFF' ]Determines whether a comment is required when approving or rejecting the approval request.[optional]
fallback_approverApprovalConfigFallbackApprover[optional]
machine_identity_manager_assignmentEnum [ 'MANAGER_OF_REQUESTER', 'MACHINE_IDENTITY_OWNER', 'MANAGER_OF_MACHINE_IDENTITY_OWNER', 'REQUESTED_TARGET_OWNER', 'MANAGER_OF_REQUESTED_TARGET_OWNER', 'ACCOUNT_OWNER', 'MANAGER_OF_ACCOUNT_OWNER' ]Specifies how to treat the identity type "MANAGER_OF" when the requestee is a machine identity.[optional] [default to 'MANAGER_OF_REQUESTER']
circumvent_approval_processboolWhen true, all approvals will be created with the status "PASSED" effectively skipping the approval process. Note this field should only be used for Machine Account or Machine related approvals.[optional] [default to False]
auto_approveEnum [ 'OFF', 'DIRECT', 'INDIRECT', 'SELF_REQUEST' ]OFF will prevent the approval request from being assigned to the requester or requestee by assigning it to their manager instead. DIRECT when the requester != requestee this will cause steps assigned directly to the requester to be auto-approved. INDIRECT when the requester != requestee this will cause steps assigned to the requester or a group containing the requester to be auto-approved. SELF_REQUEST will cause steps assigned to the requester or a group containing the requester to be auto-approved whether or not the requester is the same as the requestee. This field will only be effective if requestedTarget.reauthRequired is set to false, otherwise the approval will have to be manually approved.[optional]
}

Example​

from sailpoint.approvals.models.approval_config import ApprovalConfig

approval_config = ApprovalConfig(
reminder_config=sailpoint.approvals.models.approval_config_reminder_config.ApprovalConfig_reminderConfig(
enabled = False,
days_until_first_reminder = 0,
reminder_cron_schedule = '@every 24h',
max_reminders = 5, ),
escalation_config=sailpoint.approvals.models.approval_config_escalation_config.ApprovalConfig_escalationConfig(
enabled = True,
days_until_first_escalation = 2,
escalation_cron_schedule = '@every 72h',
escalation_chain = [
sailpoint.approvals.models.approval_config_escalation_config_escalation_chain_inner.ApprovalConfig_escalationConfig_escalationChain_inner(
identity_id = 'fdfda352157d4cc79bb749953131b457',
identity_type = 'IDENTITY', )
], ),
timeout_config=sailpoint.approvals.models.approval_config_timeout_config.ApprovalConfig_timeoutConfig(
enabled = True,
days_until_timeout = 2,
timeout_result = 'EXPIRED', ),
cron_timezone=sailpoint.approvals.models.approval_config_cron_timezone.ApprovalConfig_cronTimezone(
location = 'America/New_York',
offset = '', ),
serial_chain=[
sailpoint.approvals.models.approval_config_serial_chain_inner.ApprovalConfig_serialChain_inner(
identity_id = '2c9180858090ea8801809a0465e829da',
identity_type = 'IDENTITY', )
],
requires_comment='ALL',
fallback_approver=sailpoint.approvals.models.approval_config_fallback_approver.ApprovalConfig_fallbackApprover(
identity_id = 'fdfda352157d4cc79bb749953131b457',
type = 'MANAGER_OF', ),
machine_identity_manager_assignment='MANAGER_OF_REQUESTER',
circumvent_approval_process=False,
auto_approve='OFF'
)

[Back to top]