Sun Identity Manager 8.1 Business Administrator's Guide

Troubleshooting Audit Policies

Problems with your audit policy typically are best addressed through policy rule debugging.

To debug a rule, add the following trace elements to the rule code.

<block trace=’true’>
<and>
    <contains>
        <ref>accounts[AD].firstname</ref>
        <s>Sam</s>
    </contains>
    <contains>
        <ref>accounts[AD].lastname</ref>
        <s>Smith</s>
    </contains>
</and>
</block>