You are here: Compliance Check Types > Juniper Junos Configuration > CONFIG_CHECK Examples

CONFIG_CHECK Examples

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

<custom_item>

type: CONFIG_CHECK

description: "Audit Syslog host message severity"

regex: "syslog host [0-9\.]+"

expect: "syslog host [0-9\.]+ 6 .+"

</custom_item>

<custom_item>

type: CONFIG_CHECK

description: "Audit Syslog host"

regex: "syslog host [0-9\.]+"

number_of_lines: "^1$"

</custom_item>

<custom_item>

type: CONFIG_CHECK

description: "Audit Syslog host"

regex: "syslog host [0-9\.]+"

not_expect: "syslog host 1.2.3.4"

</custom_item>

<custom_item>

type: CONFIG_CHECK

description: "Audit Syslog settings"

regex: "syslog .+"

</custom_item>

Copyright © 2017. Tenable Network Security, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are registered trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.