This plugin can be used to check a DevOps file.
Just enable it in manager (“plugins” section).
When enabled, /checkdevops URL path is handled by this plugin. Then, you can paste a file to test your rules and headers or provide an URL to download the rules.json file.
DevOps handler requires a rules.json file to define access rules and headers:
{
"rules": {
"^/admin": "$uid eq 'admin'",
"default": "accept"
},
"headers": {
"Auth-User": "$uid"
}
}
Note
This plugin displays ALL user session attributes except the hidden ones.
You have to restrict access to specific users like DevOps teams by setting an access rule like other VirtualHosts.
By example: $groups =~ /\bdevops\b/
Danger
Be careful to not display secret attributes.
checkDevOps plugin takes hidden attributes into account.