08-29-2018 05:10 PM
I am having trouble getting the Rules Input variable to work correctly. I have selected Fix for the scope and included the variable in my cli fix screen but when I try to run the fix for the compliance job I just get "Fix Input not available" I have included some screenshots. Anyone ran into this or know how to fix?
07-19-2019 05:33 AM
Hi Jason,
you can use variables with input if u are using ^ in front and at the end of the variable. Example:
^<_VAR>^
As you can read in the Compliance Guide:
Fix CLI | Note This field is available only if you selected User defined Violation Message in the Violation Message Type field. Enter a relevant CLI fix if the device does not meet the condition specified. Do not enter config t , configure , and its exit commands. Rule inputs and Grep outputs can be used here. Note The exit command is allowed in main and sub-level commands. Following are the formats for the CLI fix that you enter in this field:
|
Hope that helps.
Best regards,
Jochen
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide