For the complete documentation index, see llms.txt. This page is also available as Markdown.

Duo Cloud: Disable Accounts

This guide helps you set up your Duo Cloud device and grant necessary permissions so that you can enable the Disable Accounts auto remediation in Workbench.

This guide is the first step of a larger process to enable auto remediations. After completing the steps on this page, you will be instructed to return to the Enable an Auto Remediation in Workbench guide to finish your setup.

How It Works

If our SOC identifies an account (username or email address) that is compromised and must be disabled, Workbench completes the action automatically and logs the user out of their session. You have the option to restrict these actions to specific accounts by configuring an allow or deny list (the accounts must first be added as context, and then the list can be configured in Workbench; see Step 2).

Endpoints Used

Duo Admin API

/admin/v1

Method
Endpoint
Purpose

GET

/admin/v1/users?username={username}

Look up the Duo user to get user ID and current status

POST

/admin/v1/users/{user_id}

Modify user to set the status as disabled

Revert sets status=active. Endpoint paths are the Duo Admin API paths hit by the duo_client SDK (not defined in Expel's own code).

Step 1: Grant Necessary Permissions

There are two options for completing this step.

Option 1 (Refresh the Secret Key)

  1. Add Grant write resource permission to the Duo Admin API created for Expel (Expel API).

  2. Refresh the Secret Key and update this information in Expel Workbench.

Option 2 (Generate New API Credentials)

Instead of refreshing the secret key, you can generate new API credentials and replace the information in Workbench:

  1. Follow the instructions in Cisco Duo Setup for Workbench.

  2. Add Grant write resource permission to the list of required permissions.

Step 2: Update Your Context

If you do not want to specify any accounts for a "do not disable" or "always disable" list, and instead wish for Expel to automatically disable all identified accounts, skip to Step 3.

Working with your Customer Success Manager, prepare to create an allow or deny list by adding accounts as org context for your environment. You will then be able to select those accounts as "Never disable" or "Always disable" assets when you enable the auto remediation in Workbench.

If our SOC identifies an account that must be disabled and you have created either an allow ("Always disable") or deny ("Never disable") list in Workbench, any accounts falling outside of those parameters are assigned to you as actions rather than being disabled automatically.

Step 3: Return to the Main Setup Guide

Your Duo Cloud device is now ready for the Disable Accounts auto remediation. You should now do one of the following:

  • If you do not need to set up any other devices for this auto remediation, you can return to the Enable an Auto Remediation in Workbench guide to finish Step 2 of the process.

  • If you need to set up additional devices for this auto remediation, or wish to use this device with multiple auto remediations, be sure to complete those setup guides as well before returning to the Enable an Auto Remediation in Workbench guide to finish Step 2 of the process. Make sure to follow the setup guide that is specific to your auto remediation, as device setup instructions are unique to each auto remediation and device.

Last updated

Was this helpful?