Data Retention Configuration

From iDENprotect Knowledge Base
Jump to: navigation, search

If you have not made any configuration changes yet, please see How to make configuration changes

Introduction

For auditing purposes, idenprotect Core Platform records certain actions, this is held in a reporting table and contains historical data about events and accounts on the idenprotect Core Platform

Data exists in this table even after the associated accounts have been deleted.

It is therefore required to specify how long this data is retained.

Other Database Related Configuration

To configure the Database connection, see Database Configuration

To maintain an active back-up or enable high availability, see Database Replication Configuration


Configuration

Configuring the Data Retention Period

To configure the Data Retention period, you have to change the database connection settings. The settings are configured in:

  • Database section in the idenprotect Core Platform Admin Console Config Tab
  • Server file system in /etc/idenprotect/database.properties
Parameters for Data Retention
Parameter in Config Tab Parameter in Properties File Configuration Change
Data Retention Maximum Number of Days data.retention.max.days The maximum age of any report data before it will be removed from the database on the next cron job (Defaulted to 180 days)

Configuring the CRON job

Although the maximum age of the data is set with the above property, the data is not removed until a scheduled job is run which will purge any records older than the retention time.

To see more information on how scheduled jobs work, how the CRON expressions are formed and how to change the schedule for removing old data, see CRON Configuration