Skip to content

Commit

Permalink
Ensuring the old device_health_app function is still there for backwa…
Browse files Browse the repository at this point in the history
…rds compatibility
  • Loading branch information
cisco-jbammel authored May 2, 2024
1 parent 6621384 commit 8c08224
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/Admin/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ def bulk_delete_section(policy_keys, print_response=False):
pretty = json.dumps(response, indent=4, sort_keys=True, default=str)
print(pretty)

def update_policy_with_device_health_app(policy_key, print_response=False):
"""
Update a given policy to include Duo Device Health App policy
settings. Requires Access or Beyond editions.
NOTE: this function is deprecated, please use update_policy_with_duo_desktop
"""
return update_policy_with_duo_desktop(policy_key, print_response)

def update_policy_with_duo_desktop(policy_key, print_response=False):
"""
Update a given policy to include Duo Desktop policy
Expand Down

0 comments on commit 8c08224

Please sign in to comment.