hier_config icon indicating copy to clipboard operation
hier_config copied to clipboard

Juniper Remediation Incorrect

Open jdrew82 opened this issue 3 months ago • 0 comments

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.

jdrew82 avatar Apr 03 '24 15:04 jdrew82