Browse Snap-ins
inactive-users-deactivator-snapin
Inactive Users Deactivator
by DevRev

The Inactive DevUser Deactivator is an automated snap-in designed to help organizations maintain clean user management by automatically deactivating DevUsers who have been inactive for a specified period. This snap-in runs on a daily schedule and identifies users based on their last activity date, then deactivates them to improve security and resource management.

Features

  • Automated Daily Execution: Runs automatically every day at 8:00 AM UTC via a cron job
  • Configurable Inactivity Period: Set custom number of days after which users should be deactivated (default: 30 days)
  • Data-Driven Identification: Uses DuckDB queries to identify inactive users from system activity logs
  • Bulk Processing: Efficiently processes multiple inactive users in a single execution
  • Manual Trigger: Supports manual execution via slash command for immediate processing

Installation

Installation Steps
1. Install the Snap-in: Deploy the snap-in from the DevRev marketplace or via manual installation
2. Configure Inactivity Period: During installation, set the inactive_user_days parameter:

  • Field Name: Inactive Days
  • Description: Number of days after which a user is deactivated
  • Type: Integer
  • Default Value: 30
  • Required: Yes

Automatic Execution
The snap-in automatically runs daily at 8:00 AM UTC. No manual intervention is required for regular operation.

Manual Execution
You can manually trigger the deactivation process using the slash command:
1. Go to the snap-in's discussion page
2. Use the command: /deactivate_inactive_users
3. The snap-in will immediately process and deactivate any users meeting the inactivity criteria