Skip to content

Add initial duo-cli admin support#1

Draft
cmdshftateya wants to merge 2 commits intoduosecurity:mainfrom
cmdshftateya:admin-cli-foundation
Draft

Add initial duo-cli admin support#1
cmdshftateya wants to merge 2 commits intoduosecurity:mainfrom
cmdshftateya:admin-cli-foundation

Conversation

@cmdshftateya
Copy link
Copy Markdown

What changed

This adds initial duo-cli admin support.

It covers:

  • users
  • groups
  • phones
  • integrations
  • policies
  • logs
  • raw

It also adds Admin API configuration support via duo-cli configure --api admin and DUO_ADMIN_* environment variables.

Why

This gives us a usable first milestone for Admin API coverage without trying to reach full endpoint parity in one change.

Notes

This intentionally leaves broader Admin API endpoint coverage for follow-up PRs.

Validation

  • pytest (76 passed)
  • live smoke tests against the Duo test tenant for:
    • admin check
    • auth check
    • admin users
    • admin groups
    • admin phones
    • admin integrations
    • admin policies
    • admin raw GET /admin/v1/users -p limit=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant