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”.