Skip to main content
All CollectionsTemplatesBasic
Suspend Contractor Accounts in Okta with inactivity for 7 days - Workflow Template
Suspend Contractor Accounts in Okta with inactivity for 7 days - Workflow Template

Check daily for active accounts where the profile userType is "Contractor". Suspend the account if no login occurred in the past 7 days.

Updated over a week ago

This workflow template automates the process of monitoring contractor account activity within Okta to enhance security. It identifies active contractor accounts with no logins in the past 7 days, and upon approval via Slack, it can suspend these inactive accounts. The workflow is designed to keep access rights updated and minimize potential security risks caused by dormant accounts.

Trigger

Scheduled Event

Use Cases

Identity and Access Management

Workflow Breakdown

  1. Pull all active accounts where Okta profile.userType equals "Contractor"

  2. Filter the list of accounts that have no logins in the past 7 days

  3. If accounts are found, notify the Slack channel and ask for approval to suspend

  4. With approval, suspend each account

  5. Notify the channel with the results via Slack

Vendors

Slack, Utils, Okta

Workflow Output

Notification to Slack channel of Success/Failure of suspensions

Tips

Adjust the number of days in the first workflow variable step if a different duration is desired.","To change the Slack channel name, modify the first workflow variable step

Did this answer your question?