




Concerned that some of your production databases do not have the correct ACL settings? Or that you have some elements with the property 'Prohibit design refresh or replace to modify' set?
If you are responsible for hundreds of databases, it can be very difficult to be sure that every database has the correct security settings. Perhaps you have taken over from somebody else - did they manage ACLs properly? Perhaps an inexperienced colleague set 'Enforce a consistent ACL' incorrectly.
The Audit feature of Teamstudio Analyzer allows you to create rules (we call them filters) that can be run over one or more databases. In this example I will show you how to create a filter which tests if the ACL setting Enforce Consistent ACL has been set.
This is a very simple example of just how Analyzer's Audit function can used to automate checks over multiple databases.
You do need to understand the Domino Designer user interface, but you do not need any knowledge of LotusScript.
I'm using R6, but these instructions should work with R5 also. If you're using R4, it's time to upgrade!
The steps you need to carry out are as follows:
Create a new database based on the template Teamstudio Analyzer Filter Db (deanfltr.ntf) and give it a name e.g. MyFilters
The template was automatically created in your Notes data directory when you installed TS Analyzer
Having created the filter you *could* just run it against one or two databases manually. But a more efficient way would be to process a range of databases. To do this you write a LotusScript agent . . . or rather use one that we wrote for you. This agent (and the associated script library is in your Teamstudio Reports database. Haven't got one? No problem. The template was installed in your Notes data directory; simply create a new database based on the template Teamstudio Reports (tmslogs.ntf).
After you have customised the agent it will read all databases (not templates) in the server's data directory, including subdirectories. These databases will be analyzed & audited and the results saved to databases in your data directory.
Now, from your Teamstudio Reports database, run your Run ACL Rules agent. The analysis results will be written to a database called analysis.nsf and the audit results will be written to AuditOut.nsf. Open AuditOut.nsf and look at one of the Analyzer Auditor views to see the results.