SHOW_CONFIG_CHECK Examples

The following are examples of using SHOW_CONFIG_CHECK against a Juniper device:

<custom_item>

type: SHOW_CONFIG_CHECK

description: "6.1.2 Require Accounting of Logins & Configuration Changes"

hierarchy: "system accounting"

find: "accounting"

expect: "events [change-log login];"

</custom_item>

<custom_item>

type: SHOW_CONFIG_CHECK

description: "6.2.2 Require Archive Site"

hierarchy: "system archival configuration archive-sites"

match: "scp://"

number_of_lines: "^([1-9]|[0-9][0-9]+)+$"

</custom_item>

<custom_item>

type: SHOW_CONFIG_CHECK

description: "4.7.1 Require BFD Authentication (where BFD is used)"

hierarchy: "protocols"

match: "authentication"

except: "loose"

number_of_lines: "^2$"

check_option: CAN_BE_NULL

</custom_item>

<custom_item>

type: SHOW_CONFIG_CHECK

description: "4.3.1 Require MD5 Neighbor Authentication (where OSPF is used)"

property: "ospf"

hierarchy: "interface detail"

match: "Auth type MD5"

number_of_lines: "^([1-9]|[0-9][0-9]+)+$"

check_option: CAN_BE_NULL

</custom_item>