Reporting

Can be performed in a <then> or <else> to achieve a desired PASSED/FAILED condition.

<if>

<condition type: "OR">

<custom_item>

type: CONFIG_CHECK

description: "Configure Syslog Host"

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

not_expect: "syslog host 1.2.3.4"

</custom_item>

</condition>

<then>

<report type: "PASSED">

description: "Configure Syslog host"

</report>

</then>

<else>

<report type: "FAILED">

description: "Configure Syslog host"

</report>

</else>

</if>

PASSED, WARNING, and FAILED are acceptable values for “report type”.

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.