TOC & Recently Viewed

Recently Viewed Topics

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 - 2018 Tenable, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc. Tenable, Tenable.io, Assure, and The Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.