Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 126 additions & 0 deletions source/configure/compliance-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,132 @@ Run deletion job now

Start a Data Retention deletion job immediately. You can monitor the status of the job in the data deletion job table within the Policy Log section.

.. config:setting:: time-between-batches-milliseconds
:displayname: Time between batches (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.TimeBetweenBatchesMilliseconds
:environment: MM_DATARETENTIONSETTINGS_TIMEBETWEENBATCHESMILLISECONDS
:description: The time in milliseconds between batches processed during data retention job execution. Used to control the rate at which data is deleted to reduce database load. Default is 100 milliseconds.

Time between batches
~~~~~~~~~~~~~~~~~~~~~

The time in milliseconds between batches processed during data retention job execution. This setting helps control the rate at which data is deleted to reduce database load during retention operations.

Default is 100 milliseconds. Possible values are any positive integer (≥ 0).

+--------------------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"TimeBetweenBatchesMilliseconds": 100`` with numerical input. |
+--------------------------------------------------------------------------------------------------------------------------+

.. config:setting:: retention-ids-batch-size
:displayname: Retention IDs batch size (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.RetentionIdsBatchSize
:environment: MM_DATARETENTIONSETTINGS_RETENTIONIDSBATCHSIZE
:description: The number of retention IDs to process in a single batch during data retention job execution. Default is 100.

Retention IDs batch size
~~~~~~~~~~~~~~~~~~~~~~~~~

The number of retention IDs to process in a single batch during data retention job execution. This setting controls how many items are processed together for optimal performance.

Default is 100. Possible values are any positive integer (≥ 0).

+-----------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"RetentionIdsBatchSize": 100`` with numerical input. |
+-----------------------------------------------------------------------------------------------------------+

.. config:setting:: boards-retention-days
:displayname: Boards retention days (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.BoardsRetentionDays
:environment: MM_DATARETENTIONSETTINGS_BOARDSRETENTIONDAYS
:description: Set how long Mattermost keeps boards data. Default is 365 days.

Boards retention days
~~~~~~~~~~~~~~~~~~~~~

Set how long Mattermost keeps boards data. When set to a value greater than 0, boards data older than the specified number of days will be deleted during retention job execution.

Default is 365 days. Possible values are any non-negative integer (≥ 0).

+-----------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"BoardsRetentionDays": 365`` with numerical input. |
+-----------------------------------------------------------------------------------------------------+

.. config:setting:: enable-message-deletion
:displayname: Enable message deletion (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.EnableMessageDeletion
:environment: MM_DATARETENTIONSETTINGS_ENABLEMESSAGEDELETION
:description: Enable or disable message deletion during data retention job execution. Default is false.

Enable message deletion
~~~~~~~~~~~~~~~~~~~~~~~

Enable or disable message deletion during data retention job execution. When set to false, messages will not be deleted regardless of other retention settings.

Default is false. Possible values are true or false.

+-----------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableMessageDeletion": false`` with boolean input. |
+-----------------------------------------------------------------------------------------------------------+

.. config:setting:: enable-file-deletion
:displayname: Enable file deletion (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.EnableFileDeletion
:environment: MM_DATARETENTIONSETTINGS_ENABLEFILEDELETION
:description: Enable or disable file deletion during data retention job execution. Default is false.

Enable file deletion
~~~~~~~~~~~~~~~~~~~~

Enable or disable file deletion during data retention job execution. When set to false, files will not be deleted regardless of other retention settings.

Default is false. Possible values are true or false.

+--------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableFileDeletion": false`` with boolean input. |
+--------------------------------------------------------------------------------------------------------+

.. config:setting:: enable-boards-deletion
:displayname: Enable boards deletion (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.EnableBoardsDeletion
:environment: MM_DATARETENTIONSETTINGS_ENABLEBOARDSDELETION
:description: Enable or disable boards deletion during data retention job execution. Default is false.

Enable boards deletion
~~~~~~~~~~~~~~~~~~~~~~

Enable or disable boards deletion during data retention job execution. When set to false, boards data will not be deleted regardless of other retention settings.

Default is false. Possible values are true or false.

+----------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableBoardsDeletion": false`` with boolean input. |
+----------------------------------------------------------------------------------------------------------+

.. config:setting:: batch-size-data-retention
:displayname: Batch size (Data Retention)
:systemconsole: Compliance > Data Retention Policies
:configjson: .DataRetentionSettings.BatchSize
:environment: MM_DATARETENTIONSETTINGS_BATCHSIZE
:description: The number of records to process in a single batch during data retention job execution. Default is 3000.

Batch size
~~~~~~~~~~

The number of records to process in a single batch during data retention job execution. This setting controls how many records are processed together for optimal performance.

Default is 3000. Possible values are any positive integer (≥ 0).

+-------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"BatchSize": 3000`` with numerical input. |
+-------------------------------------------------------------------------------------------------+

----

Compliance export
Expand Down