I am looking for a way to enable or disable a firewall rule depending on a successful or failed tool fetch.
When I run the tool fetch itself from the terminal I see the status: finished or status:failed response. Is there a way to get this data and use it as the trigger to enable or disable the desired firewall rule.
Thanks