Current sets of filters can be saved as a new report using the menu [Report] > [Create new report]. Reports can be exported to HTML or CSV files or can be reloaded within the program to change the filters or review results. There are two options for HTML: a simple HTML table and an option which includes search, paging and sorting options.
Permission Analyzer supports four report types, each of which displays search results differently:
- Folder and files and the sum of their permissions.
- Folder and files and their Access Control List, as they appear on the file system.
- Folder and files and matching group members to show the origin of permissions per user or group including permissions from nested group memberships. This report will show every matching member per directory or file.
- Users and groups and all their explicit permissions. This report is grouped by user or group instead of directory and it displays all the explicit permissions for each member, including permissions from nested group memberships.
The last two report types show a relatively extensive amount of information per user and group. That’s why we recommend making your filters as specific and targeted as possible, to exclude any unnecessary information. This prevents reports from being crowded with irrelevant information.
Tip: put a placeholder in the Target file path to include the current date in the path:
c:\permission reports\[date:yyy-MM-dd]_report.html. This will preserve old report files. See Java date formats.
A report can be configured with an e-mail address, allowing it to be sent to that address at every export opportunity. An SMTP server, however, must be configured to accommodate the address and can be set up in the application settings. The option will also allow you to indicate whether you want the report to be included as an attachment and to include a message in the e-mail. The e-mail template may contain the following fields: [report_name], [report_path], [report_description] en [report_threshold].
You will also be able to use modified templates to generate the report. Permission Analyzer comes with a number of default templates for HTML and CSV, which can be modified according to your specifications. The templates are located in <application dir>\plugins\Permission_Analyzer_2.xxxx.jar – the file can be opened with any ZIP application. Here are examples of the default HTML template for files and the sum of permissions or the CSV template for files and their ACL’s.
If you have selected a filter selection as a filter, then that selection will show up as an option when generating the report. Using the selection will create a reference to the filter selection within the report and any modifications to the filter selection will result in all reports automatically applying the modified selection. Unchecking the option in the report will result in the report saving a copy of the filters and not change according to the filter selection.
Running reports automatically
Use Permission Analyzer to run reports automatically using the following parameters:
- -report “myReport”: run a specific report by name. This parameter can be input a number of times.
- -allReports: run all reports.
Permission Analyzer will close automatically after all reports have been exported. See Scheduling jobs feature for more command-line options.