cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

Remediation script based on failed strings

Hello all,

 

I have a rule which searches a Cisco configuration and informs me if a particular string is missing. This rule has many search strings. Is there a way to implement a remediation script that will simply ensure that if a failed string if found then it gets placed into the configuration as part of the remediation step? 

 

Udklip.PNG

 

So for example, if the string 'ntp source' was not found in the configuration, can i make a remediation script that knows the failed strings not found and places them into the config as part of the remediation script ?

 

Thanks

 

 

0 Kudos
1 Reply

You would just want to break your rule apart, there is a 1 to 1 relationship between rules and remediations so just split them up and it's easy.

- Marc Netterfield, Github