Citrix Application Delivery Audit Containers
An audit file contains one or more containers that can control the flow of the audit that is executed. The containers are methods to encapsulate audit items or other containers. For more information, see Citrix Application Delivery Audit Items.
-
check_type — The top level container that must exist in every audit.
-
if — The container to define conditional auditing.
-
condition — Contains audit items to define the conditional requirements.
-
then — Contains the checks that will be evaluated if the conditional audit items are PASSED.
-
else — Contains the checks that will be evaluated if the conditional audit items are FAILED or WARNING.
-
All compliance checks must be bracketed with the check_type encapsulation. The value of the check_type is used to identify what plugins are used to evaluate the audit.
The check_type encapsulation supports if containers and all Citrix Application Discovery audit items.
<check_type:"[Plugin_Designation]">
...
</check_type>
The if is a wrapper around the conditional containers. Based on the result of the condition, one of the following occurs:
-
If the condition passes, the audit content in the then will be evaluated.
-
If the condition fails, the audit content in the else will be evaluated.
The if container supports condition, then, and else containers.
<if>
[condition]
[then]
[else]
</if>
The condition defines the audit items to evaluate and if one or all must pass:
-
If you specify AND, all audit items must pass in order to evaluate the then.
-
If you specify OR, only one audit item must pass in order to evaluate the then.
The condition container supports all Citrix Application Discovery audit items.
<condition type:"[AND|OR]">
...audit content...
</condition>
The then and else are generic containers of other audit content, and are only differentiated in the context of an if.
The then and else containers support if containers and all Citrix Application Discovery audit items.
<then>
...audit content...
</then>
<else>
...audit content...
</else>