duosecurity / duo_client_python

Python library for interacting with the Duo Auth, Admin, and Accounts APIs
https://duo.com/docs/
Other
136 stars 136 forks source link

Adding policy v2 helpers & example script #210

Closed nomadmtb closed 1 year ago

nomadmtb commented 1 year ago

Adding the following policy api v2 helper methods to duo_client.Admin:

  1. duo_client.Admin.get_policies_v2_iterator.
  2. duo_client.Admin.get_policies_v2.
  3. duo_client.Admin.delete_policy_v2.
  4. duo_client.Admin.update_policy_v2.
  5. duo_client.Admin.create_policy_v2.
  6. duo_client.Admin.get_policy_v2.
AaronAtDuo commented 1 year ago

@nomadmtb looks good to me. You'll need to rebase; I'll try to get a second reviewer in the meantime

nomadmtb commented 1 year ago

thanks @AaronAtDuo! I just rebased and pushed an update to this branch 😄