https://www.tecmint.com/check-integrity-of-file-and-directory-using-aide-in-linux/
Aide is used to check hashes on files.
Initialize the very first DB at /var/lib/aide/aide.db.new.gz
aide --init
Check the current file system against the DB
aide --check
Update the DB based on the file system
aide --update
Show extra debugging
aide --verbose=255
aide --init
aide --check
aide --update
. This will create a new DB. This new DB should be placed on the read-only media along with new config file.https://www.oldlogsnewtricks.com/post/best-practice-enriched-log-paths
14 * * * * /sbin/aide --check >> /var/log/aide_`rpm -qa aide`_`md5sum /etc/aide.conf`_aide-`date`.log
aide --check >> /var/log/aide/aide-$(date +%s).log
https://github.com/jls3tech/AIDE-Handler/blob/master/aide_Runv3.sh
cat /var/log/aide/aide-1600126273.log | grep 'changed|added|removed'|sed -r 's/://g'|sed -r 's/ /,/g' >> /var/log/aide/splunk-log
index=os sourcetype=aide