Cisco duo collector : v1 endpoint will be deprecated on September 30, 2026, so migrated admin API v1 to V2 endpoints#423
Open
rakhimundhada15 wants to merge 3 commits into
Conversation
rakhimundhada15
requested review from
OHaganA,
imranalisyed506 and
scott-jones-AlertLogic
June 25, 2026 17:37
CI Service Job Number 1225 Logs - SUCCESS
Stages Run:
|
scott-jones-AlertLogic
approved these changes
Jul 2, 2026
scott-jones-AlertLogic
left a comment
Contributor
There was a problem hiding this comment.
Great stuff, thanks Rakhi!
CI Service Job Number 1230 Logs - SUCCESS
Stages Run:
|
CI Service Job Number 1234 Logs - SUCCESS
Stages Run:
|
Contributor
Author
|
build-collector-ciscoduo |
CI Service Job Number 1235 Logs - SUCCESS
Stages Run:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Description
Below three API are going to deprecated as per cisco duo document -Duo Admin API | Cisco Duo
Offline Enrollment Logs:(/admin/v1/logs/offline_enrollment)
This v1 endpoint will be deprecated on September 30, 2026. Migrate your use of this logging endpoint to the Activity Logs v2 endpoint before then to avoid service disruption.
Telephony Logs:(/admin/v1/logs/telephony)
This legacy v1 endpoint will be deprecated on September 30, 2026. Migrate your use of this logging endpoint to the Telephony Logs v2 endpoint before then to avoid service disruption.
Administrator Logs:( /admin/v1/logs/administrator)
This v1 endpoint will be deprecated on September 30, 2026. Migrate your use of this logging endpoint to the Activity Logs v2 endpoint before then to avoid service disruption.
Administrator, Telephony, and OfflineEnrollment streams were on Duo Admin API v1, which Duo has scheduled for deprecation. v1 used 10-digit second timestamps, different response shapes per endpoint, and offset-based paging — diverging from v2's unified [mintime]/[maxtime] + [metadata.next_offset] model.
Duo enforces ~1 request per minute per endpoint. Polling 4 streams every 60s (Administrator + OfflineEnrollment share /admin/v2/logs/activity) caused frequent 42901 throttling.
Solution Description
MIN_13_DIGIT_TIMESTAMP = 1e12guard used in both the query builder and next-state calculation.