Skip to content

Trailbot Smart Policy that rolls modified files back to their previous version

License

Notifications You must be signed in to change notification settings

trailbot/rollback-policy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Trailbot Smart Policy that rolls modified files back to their previous version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published