Security Rules
CBSecurity can apply security rules to incoming events.
Rule Anatomy
{
"id" : created automatically as a UUID,
// A list of white list events or Uri's
"whiteList" : "",
// A list of secured list events or Uri's
"secureList" : "",
// Match the event or a url
"match" : "event",
// Attach a list of roles to the rule
"roles" : "",
// Attach a list of permissions to the
"permissions" : "", rule
// If rule breaks, and you have a redirect it will redirect here
"redirect" : "",
// If rule breaks, and you have an event, it will override it
"overrideEvent" : "",
// Force SSL,
"useSSL" : false,
// The action to use (redirect|override|block) when no redirect or overrideEvent is defined in the rule.
"action" : "",
// metadata we can add so mark rules that come from modules
"module" : "",
// Match all HTTP methods or particular ones as a list
"httpMethods" : "*",
// The rule only matches if the IP list matches. It can be a list of IPs to match.
"allowedIPs" : "*"
}Rule Elements
Property
Type
Default
Description
Rules processing

Rule Overrides
Redirect
OverrideEvent
Action
More on White Lists
Last updated
Was this helpful?