Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.07 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.07 KB

Rollback Smart Policy for Trailbot

This Trailbot Smart Policy rolls back modified files into their previous version.

Use cases

Logs integrity

Log files are designed to be append-only. Removal of individual lines from log files are a clear sign of someone trying to erase traces of illegitimate activity. By adding this policy, you can revert your logs back to previous version in case of unauthorized modification.

Parameters

This policy accepts the following parameters:

Name Description Default value Required
type Revert only this type of modifications* 'Removal'
allowRotate Absolute path of the folder where you want to store the backup. true
  • In order to avoid crazy loops, you can set a rollback for addition or removal but never for both of them.