XML Rules

If you have already an XML file with your rules, then all you need to do is add the path (relative or absolute) to that file in the rules configuration key. However, the path MUST include the keyword XML in it.

moduleSettings = {
// CB Security
cbSecurity : {
"rules" : "config/security.xml.cfm"

Then your xml file can look like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<-- <
Declare as many rule elements as you want, order is important
Remember that the securelist can contain a list of regular
expressions if you want
ex: All events in the user handler
ex: All events
ex: All events that start with admin
If you are not using regular expressions, just write the text
that can be found in an event.
<securelist>^user\..*, ^admin</securelist>