Checking access rights setup in SAP BusinessObjects can be challenging. You need to click on each item in the CMC to check the configuration. This process can lead to incorrect setups, a lack of security overview, and potential security issues. Security Exporter simplifies this by allowing you to easily extract the security configuration into an Excel format.
Security Exporter is a command-line program. The following options are available:
- -server=localhost:6400: BO server
- -username=Administrator: BO username (Enterprise)
- -password=: BO user password
- -includedetails=N: By default, ids and other technical details are omitted
- -output=output.xlsx: Output Excel file
If the amount of data is too large for an Excel file, you can export the result to tab-separated text files using the following options (instead of -output=)
- -outputType=txt: Format of the output (txt or xlsx)
- -outputFolder=.: Output folder where text files will be created
You can provide parameters either in the config.ini file or as command-line arguments. For instance, the server and username can be specified in the config file and the password can be provided as an argument.
securityexporter.bat -password=******
If a parameter is provided both in the config.ini file and as a command-line argument, the command-line value will take precedence and the config.ini value will be ignored.
Output
The output is an Excel workbook with the following sheets:
- Explicit Principals
- Explicit Access Levels
- Explicit Rights
- Effective Principals
- Effective Access Levels
- Effective Rights
- Access Levels Setup
If the output format is txt
, results will be saved in text files with corresponding names.
To specify particular types of information, configure the following options in the config file:
- -includeExplicitPrincipals=Y
- -includeExplicitAccessLevels=Y
- -includeExplicitRights=Y
- -includeEffectivePrincipals=Y
- -includeEffectiveAccessLevels=Y
- -includeEffectiveRights=Y
- -includeAccessLevelsSetup=Y
Since there are many different rights, you can use the -rightFilter option to filter specific rights. If the option is empty, it will be ignored. Otherwise, only the rights listed (separated by ;
) will be included in the output.
Assigned Access Levels
Assigned Rights
Assigned Principals
Access Levels Setup
Queries
You can configure the scope of extraction in the queries file.
Security is usually configured on public folders, and this is typically the main focus of analysis. Therefore the default query is:
SELECT TOP 100000 * FROM CI_INFOOBJECTS WHERE SI_ANCESTOR = 23 AND SI_KIND='Folder'
This query extracts all CMS objects of type ‘Folder’ that are subfolders of the root Public Folder with ID 23. By default, BO CMS queries return a maximum of 1000 objects. Therefore, we need to modify the query with the TOP option in case there are more than 1000 folders.
You can change or add more queries. Each query should be on a separate line. Empty lines will be ignored. Comments start with #
.
Downloads
The tool should work with any version of SAP BusinessObjects 4.x, as it uses local BO SDK libraries installed on the machine. It has been tested on BO 4.2 SP8 and BO 4.3 SP3.