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: "2.6 Install and configure Encrypted Connections to devices - 'telnet'"

regex: "set net-access telnet"

expect: "set net-access telnet off"

info: "Do not use plain-text protocols."

</custom_item>

</condition>

<then>

<report type: "PASSED">

description: "Telnet is disabled"

</report>

</then>

<else>

<report type: "FAILED">

description: "Telnet is disabled"

</report>

</else>

</if>

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