Audit Configuration
In on-premise deployments, the following properties configure the Audit module and need to be provided in the audit/etc/application.properties file on the ONE Application Server.
Basic settings
| Property | Data type | Description |
|---|---|---|
|
String |
The number of the port where the Audit module is running. Default value: |
Keycloak authentication
| Property | Data type | Description |
|---|---|---|
|
String |
The URL of the server where Keycloak is running. Default value: |
|
String |
The name of the Keycloak realm. Default value: |
|
String |
The client identifier. Used to verify a user’s authorization token and to log in a user. Default value: |
|
String |
The secret key of the client. Secret keys can be generated using Keycloak. Default value: |
|
String |
Specifies the issuer of the JWT token. Typically, Keycloak uses the URL of the realm as the token issuer. Default value: |
|
Boolean |
Enables creating an administration client for Keycloak. Default value: |
Audit database
| Property | Data type | Description |
|---|---|---|
|
String |
A JDBC connection string pointing to the Audit database. Default value: |
|
String |
The username for the Audit database. Default value: |
|
String |
The password for the Audit database. Default value: |
Maximum audit retention
These properties define the maximum retention periods that you can configure for audit logs. They set upper limits only — they are not the retention values that apply at runtime.
The retention values that actually apply are set separately in the web application or through GraphQL, and each one can go up to the corresponding maximum defined here. As a result, changing a maximum only changes the highest value you can select. To configure the retention values that apply at runtime, see Change audit retention settings.
| Property | Data type | Description | ||
|---|---|---|---|---|
|
Integer |
Maximum value, in days, that can be configured for how long audit logs are kept in the audit database before deletion. Default value: |
||
|
Integer |
Maximum value, in days, that can be configured for how long audit logs are kept in the audit database before they are exported to the designated ONE Object Storage (MinIO) bucket. Default value: |
||
|
Integer |
Maximum value, in days, that can be configured for how long audit logs are kept in the designated ONE Object Storage (MinIO) bucket. Default value: |
Was this page useful?