In system versions prior to 2026.4, before using the Security Audit 2.4.1 module and logging events, install the Security Audit service as a database for storing collected data.
начало внимание
Starting with system version 2026.4, use the Security Audit 3.0 module. It includes a configured portable service that automatically deploys the microservice in the Kubernetes environment when the module is enabled.
конец внимание
Install the Security Audit service
For the Security Audit 2.4.1 module to function correctly in BRIX On-Premises prior to version 2026.4, a separate Security Audit service must be installed.
Installation consists of four steps:
- Prepare the connection string for the PostgreSQL database.
- Download the Helm chart and configuration file.
- Fill out the configuration file.
- Install the Audit chart using Helm in the Kubernetes cluster.
Step 1: Prepare the connection string for the PostgreSQL database
Data collected in the system and displayed using the Security Audit module is stored in a PostgreSQL database. Install the uuid-ossp and pg_trgm extensions in this database. Also, consider the disk storage capacity based on the information processed in your company. For more information on configuring PostgreSQL and installing the uuid-ossp and pg_trgm extensions, see the Databases section.
Information from the module is stored in a database separate from system data. When you first connect the module to the database, all the tables required for operation will be created. By default, the database name for the Security Audit module is audit.
Prepare the PostgreSQL connection string for write and read operations in the format postgresql://user:password@hostname:port/databaseName?sslmode=disable, where:
useris the username of PostgreSQL having rights to the databasedatabaseName;passwordis the password for the PostgreSQL user;hostnameis the IP or domain name of the PostgreSQL server;portis the port for connecting to PostgreSQL (the standard port is5432;databaseNameis the name of the database (standard name isaudit);sslmodeis the use of a secure connection.
Step 2: Download the Helm chart and configuration file
For installation via the internet, obtain the configuration file values-audit.yaml by executing the command:
helm repo add brix365 https://charts.brix365.com
helm repo update
helm show values brix365/audit > values-audit.yaml
Getting the configuration file for installation in a closed-loop environment without internet acces
helm repo add brix365 https://charts.brix365.com For more details, see Download BRIX images.
tar -xf audit-X.Y.Z.tgz |
Step 3: Fill out the configuration file
Fill out the configuration file values-audit.yaml for the installation of the Audit service.
For the parameter psql_url, specify the PostgreSQL connection string obtained in Step 1. This article uses a connection string to PostgreSQL deployed in the Kubernetes cluster.
# Audit settings
audit:
global:
psql_url: "postgresql://postgres:pgpassword@postgres.default.svc.cluster.local:5432/audit?sslmode=disable"
...
# Audit settings |
Step 4: Install the Audit chart using Helm in the Kubernetes cluster
Install the audit chart in the namespace specified in Step 3 in the configuration file values-audit.yaml. The namespace will be created during installation if it was not previously created.
For internet installation:
helm upgrade --install brix365-audit brix365/audit -f values-audit.yaml -n audit --create-namespace
For offline installation without internet access:
helm upgrade --install brix365-audit ./audit -f values-audit.yaml -n audit --create-namespace
Начало внимание
Installing the Security Audit service does not automatically include or install the Security Audit module on the BRIX application side.
Конец внимание
Read more about installing the module and working with it in Security Audit module.
Delete the Audit chart using helm in the Kubernetes cluster
Начало внимание
Before removing the Security Audit component, disable the use of the Secutiry Audit module on the BRIX application side.
Конец внимание
To delete the brix365-audit chart in namespace audit, execute the command:
helm uninstall brix365-audit -n audit