hier_config
hier_config copied to clipboard
Juniper Remediation Incorrect
After testing the Juniper remediation feature with the following options:
{
"full_text_sub": [],
"idempotent_commands": [],
"idempotent_commands_blacklist": [],
"indent_adjust": [],
"negation": "delete",
"negation_default_when": [],
"negation_negate_with": [],
"ordering": [],
"parent_allows_duplicate_child": [],
"per_line_sub": [],
"sectional_exiting": [],
"sectional_overwrite": [],
"sectional_overwrite_no_negate": [],
"style": "junos",
"syntax_style": "juniper"
}
I found that the returned remediation simply appends the negation word to the start of the configuration lines instead of replacing the set keyword.