Skip to content

Commit

Permalink
Ensuring device_health_app function is maintained for backwards compa…
Browse files Browse the repository at this point in the history
…tibility
  • Loading branch information
cisco-jbammel authored May 2, 2024
1 parent 8c08224 commit a3c73ca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/Admin/policies_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ 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):
"""
Expand Down

0 comments on commit a3c73ca

Please sign in to comment.