In Identity Manager there are two types of reporting, "Audit" and "Reporting". These source their data from their own databases and while "Audit" is internal to Identity Manager, "Reporting" is made available via JasperServer. To facilitate JasperServer reporting a snapshot database is used.
Is there a way to check and configure the database settings for Identity Manager Reporting and Auditing functions?
By default the "Audit" connection is created during installation and can be identified by reviewing the "ca-standaline-full-ha.xml" file. Simply search for "auditDbDataSource" and you should see an entry like the one below:
<datasource enabled="true" use-java-context="true" pool-name"="iam_im-imauditdb-ds" jndi-name="java:/iam/im/jdbc/auditDbDataSource" jta="false">
<connection-url>jdbc:sqlserver://mssql1.<domain>.com:1433;selectMethod=cursor;DatabaseName=IM</connection-url>
<driver>sqljdbc</driver>
Reporting Server Connection
The "Reporting" database connection is defined via the Identity Management User Console.
This is where you enter the connection details for the JasperServer reporting server.
For example:
Report Server URL: http://###.###.#.##:8080/jasperserver-pro
User ID: <user, default is imuser per our documentation>
Password: <password>
Snapshot Database Connection
The "Snapshot Database Connection" database connection is defined in the Identity Management User Console.
The connection definition will have the following attributes:
Connection Name
Connection Type
Description
Host Name
Port #
For example:
Connection Name: rptParamConn
Connection Type: Snapshot
Description: Derrived from rptParamConn
Host Name: mssql1.<domain>.com
Port #: 1433
Audit Database Connection
The "Audit" database connection is made via JDBC connection. You can maintain this connection via the Identity Management User Console.
If you select "Create" you are prompted to select a creation option. In this instance you should select "Create a new object of the type Connection based on the JNDI Audit data source"
The connection definition will have the following attributes:
Connection Name
Connection Type
Description
JDBC Driver Class
Database Name
Host Name
Port #
User ID
Password
JDBC Select Method (Cursor)
Default Connection
For example:
Connection Name: Audit data source
Connection Type: audit
Description: Derrived from Audit data source
JDBC Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
Database Name: im
Host Name: mssql1.<domain>.com
Port # 1433
User ID: sa
Password: <password
JDBC Select Method (Cursor): Cursor
Default Connection: ticked
Connection objects for Audit Reports
You should then check that the Connection object is configured for the audit reports.
For example;