From a3c73ca46fe2d001dd73a372fd499f8545c01670 Mon Sep 17 00:00:00 2001 From: Jen Bammel <135041996+cisco-jbammel@users.noreply.github.com> Date: Thu, 2 May 2024 12:11:15 -0400 Subject: [PATCH] Ensuring device_health_app function is maintained for backwards compatibility --- examples/Admin/policies_advanced.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/Admin/policies_advanced.py b/examples/Admin/policies_advanced.py index 4ac1ba2..7117de0 100755 --- a/examples/Admin/policies_advanced.py +++ b/examples/Admin/policies_advanced.py @@ -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): """