Rollback Smart Policy for Trailbot
This Trailbot Smart Policy rolls back modified files into their previous version.
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.
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.