enodia-sentinal/packaging/enodia-sentinel-fim.hook

18 lines
514 B
Text

# Refresh the Enodia Sentinel file-integrity baseline after every package
# transaction, so legitimate package changes never trigger a FIM alert.
# Packaged as: /usr/share/libalpm/hooks/enodia-sentinel-fim.hook
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Path
Target = usr/*
Target = etc/*
Target = boot/*
Target = opt/*
[Action]
Description = Refreshing Enodia Sentinel file-integrity baseline...
When = PostTransaction
Exec = /usr/bin/enodia-sentinel fim-update
Depends = python