Interrelated Policies - Linking Together

  • 17 October 2021
  • 1 reply
  • 36 views

Badge

Hi All,


I have a question about setting up a run book with possible mutiple stages.


Is it possible to chain dependent policies?


For example I want to do the following as a single workflow:


1 - Run Worklet, if it unsuccessfull - STOP send notification 1, if it successful, CONTINUE

2 - Run Policy, if it unsuccessfull - STOP send notification 2, if it successful, CONTINUE

3 - Run Another Worklet


1 reply

Userlevel 2
Badge

While I think ideally, you would want some invoke-able agent command-line option, like the options here, I don’t see this as a currently available option. You might want to post this as a feature request.


So the only way I can think of how to do this would be to invoke the API’s immediate remediation endpoint to invoke the action directly on your client (ensuring you’re not storing any api tokens in plain text).


Then you could monitor the output of the worklet by making a secondary API call to gather device details. If the status indicated a success, you could proceed with whatever other actions you want. Rinse and repeat.


Kinda complicated, but doable!

Reply