Cisco Duo
This guide explains how to collect Cisco Duo logs directly from the Duo Admin API, store the raw logs in S3, and index them for search and detection.
Scanner supports two Cisco Duo log types, shown by their raw source types in the UI:
cisco_duo:admincollects Activity Logs v2, including administrator actions and configuration changes.cisco_duo:authcollects Authentication Logs v2, including user authentication attempts and outcomes.
Prerequisites
Before you begin, make sure you have:
A paid Duo plan that includes Admin API access.
A Duo administrator with the Owner role. An Owner must create or modify the Admin API application used by Scanner.
Permission in Scanner to create integrations and Collect Rules.
Create a Collect Rule
Create a New Source
In the Scanner UI, go to the Collect tab.
From the Overview page, click the + icon in the upper-right corner.
Select Collect Rule.
On Create a New Collect Rule, choose Cisco Duo.
On Select a Log Type, select:
cisco_duo:adminfor Duo Activity Logs v2.cisco_duo:authfor Duo Authentication Logs v2.
Connect a Cisco Duo Account
If you have already created a Cisco Duo connection, select it from the list and continue to the next step.
Otherwise, select New Cisco Duo Connection and enter:
Connection Name: A recognizable name for this connection.
API Hostname: The hostname assigned to the Duo Admin API application, such as
api-xxxxxxxx.duosecurity.com.Integration Key: The integration key assigned to the application.
Secret Key: The secret key assigned to the application. Scanner masks this value and does not display it after the connection is created.
To create the credentials in Duo:
Sign in to the Duo Admin Panel as an Owner.
Go to Applications > Application Catalog and add an Admin API application.
Copy the application's API hostname, integration key, and secret key into Scanner.
Enable Grant read log for the application and save the changes.
Treat the secret key like a password. Scanner validates the hostname, credentials, and log-read permission before saving the connection. See the Duo Admin API setup instructions for additional detail.
Create an Index Rule
Scanner polls the selected Duo Admin API endpoint every 5 minutes. The first pull has a 7-day lookback, and each pull uses a 5-minute safety delay so Scanner does not request logs that may still be arriving in Duo.
Create an Index Rule to index the logs for fast search and detections.
Cisco Duo Defaults
When you create an Index Rule from the Collect Rule, Scanner pre-populates:
Transformations: Add Metadata, Parse JSON Fields, ECS normalization: Cisco Duo.
Timestamp Fields:
cisco_duo:admin:.ts.cisco_duo:auth:.isotimestamp, then.timestampas a fallback.
Last updated
Was this helpful?