Configure Audit 0.4.0
The goal of this document is to provide technical information regarding the installation and configuration to use the Auditing function (Audit), version 0.4.0 (itsm-audit-0.4.0) of 4biz Tracker 8.
Before getting started
Check out the new features of version 0.4.0
- It is not required to have active external AcitiveMQ;
- It is not necessary to have a service executing the audit .jar;
- Audit is now .war and it is executed inside Wildfly with ITSM, on the folder "\deployments";
Procedure
Add the following lines to the wildfly standalone on activemq subsystem:
<jms-queue name="ITSM.READ_DATA_AUDIT" entries="queue/ITSM.READ_DATA_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_DATA_AUDIT"/>
<jms-queue name="ITSM.READ_LICENSE_AUDIT" entries="queue/ITSM.READ_LICENSE_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_LICENSE_AUDIT"/>
<jms-queue name="ITSM.READ_ACCESS_AUDIT" entries="queue/ITSM.READ_ACCESS_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_ACCESS_AUDIT"/>
<jms-queue name="ITSM.READ_BACKUP_AUDIT" entries="queue/ITSM.READ_BACKUP_AUDIT java:jboss/exported/jms/queue/queue/ITSM.READ_BACKUP_AUDIT"/>
```Add the following lines to the wildfly standalone on system-properties (the same as EVM e Inventory):
<property name="mongodb.host" value="localhost"/>
<property name="mongodb.port" value="27017"/>
<property name="mongodb.user" value="mongodb"/>
<property name="mongodb.password" value="mongodb"/>
<property name="mongodb.dabase.audit" value="itsm-audit"/>
```🖊 Note: Configure the conNection of mongo database with host, port, user, pass, and database (which will probably be already set, as EVM and Inventory also use these configurations). It is necessary that the user (Mongo) has the proper permission to read and write on the informed database.
In 4biz, configure the parameter 425, informing the Audit URL
- Add the Audit WAR on the folder deployments (or use the Wildfly console) and start Wildfly with 4biz;
- After these steps, the audit should be running.