DUO
Duo is a comprehensive two-factor authentication (2FA) and multi-factor authentication (MFA) security platform designed to protect organizations by verifying user identities before granting access to applications and systems. This data integration provides visibility into Duo's security posture, user access patterns, administrative activities, and authentication infrastructure.
| Category | Identity |
| Direction | Query source |
| Sign-in | Duo Admin API |
| Query languages | SQLite |
| Tables | 11 |
| Query templates | 40 |
| Website | duo.com |
Before you start
Huntbase signs in to DUO with Duo Admin API. Create the credential in DUO first, then keep it to hand for the Connect step.
- Sign in to the Duo Admin Panel and go to Applications › Application Catalog.
- Find the Admin API entry and click + Add to create the application.
- Grant only the read permissions listed below, and leave the write permissions cleared.
- Copy the Integration key, Secret key and API hostname from the application page.
Permissions:
- Grant read information
- Grant read log
- Grant resource - Read
- Grant administrators - Read
- Only administrators with the Owner role can create or modify an Admin API application.
- Treat the secret key like a password. If you set allowed IP ranges on the application, requests from other networks are refused.
For the vendor's own instructions, see Duo Admin API documentation.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect DUO
- Go to Connections and click New connection, or click New connection on the DUO product page.
- On Product, pick DUO and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- On Verify, review the summary and click Create & check.
For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.
Settings
Where your DUO lives:
| Field | Required | Notes |
|---|---|---|
| API Hostname | Yes | The API hostname shown on the Admin API application, such as api-xxxxxxxx.duosecurity.com, without https://. |
Credentials
The only Method is Duo Admin API. Enter a Credential label (for example Production), then fill in:
| Field | Required | Notes |
|---|---|---|
| Integration Key | Yes | Secret — not shown again after you save it. |
| Secret Key | Yes | Secret — not shown again after you save it. |
Query it
Once connected, DUO can serve these languages in a query tab, and Scout can use it when you ask in Auto:
| Language | Use it for |
|---|---|
| SQLite | SQL over the 11 tables listed below, alongside every other connected source. |
Example: SQLite
Get account summary — Retrieve the full Duo account summary.
select
*
from
duo_account_summary;
DUO ships with 40 query templates. Find them in Library › Queries — see Query templates.
What syncs automatically
DUO comes with a content pack. These queries run on a schedule on each new connection so the entities they find appear in the Activity Feed without you asking. You can turn syncing off from the connection's Synchronisation Settings card.
| Query | Finds |
|---|---|
| Sync users | user |
| Sync groups | group |
| Sync administrators | user |
| Sync group memberships | group, user |
| Sync enrolled phones | device, user |
Tables
DUO adds 11 tables. Browse their columns from Schema in the query bar's ⋯ menu.
All 11 tables
| Table | Contains |
|---|---|
duo_account_settings | Get settings for the Duo account. |
duo_account_summary | Get summary info for the Duo account. |
duo_admin_log_record | Admin log records in the Duo account. |
duo_administrative_unit | AdministrativeUnits in the Duo account. |
duo_administrator | Administrators in the Duo account. |
duo_auth_log_record | Auth log records in the Duo account. |
duo_group | Groups in the Duo account. |
duo_integration | Integrations in the Duo account. |
duo_phone | Phones in the Duo account. |
duo_token | Tokens in the Duo account. |
duo_user | Users in the Duo account. |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog