| 1 | # AIDE conf |
| 2 | # This configuration file does not contain every possible option |
| 3 | # For a complete reference, see man aide.conf(5) |
| 4 | |
| 5 | # set environment for executable config files included by x_include |
| 6 | @@x_include_setenv UPAC_settingsd /etc/aide/aide.settings.d |
| 7 | @@x_include_setenv PATH /bin:/usr/bin |
| 8 | |
| 9 | # The daily aide check job depends on these paths and settings |
| 10 | database_in=file:/var/lib/aide/aide.db |
| 11 | database_out=file:/var/lib/aide/aide.db.new |
| 12 | database_new=file:/var/lib/aide/aide.db.new |
| 13 | gzip_dbout=yes |
| 14 | |
| 15 | # Set to no to disable report_summarize_changes option. |
| 16 | #report_summarize_changes=true |
| 17 | |
| 18 | # Set to no to disable grouping of files in report. |
| 19 | #report_grouped=true |
| 20 | |
| 21 | # have AIDE version and time of database generation in database |
| 22 | #database_add_metadata=true |
| 23 | |
| 24 | # Set verbosity of aide run and reports |
| 25 | #log_level=warning |
| 26 | #report_level=changed_attributes |
| 27 | |
| 28 | # Ignore e2fs attributes that cannot be set manually |
| 29 | report_ignore_e2fsattrs=VNIE |
| 30 | |
| 31 | # Set to yes to print the checksums in the report in hex format |
| 32 | #report_base16 = false |
| 33 | |
| 34 | ###### GROUPS ###### |
| 35 | |
| 36 | # See documentation in aide.conf(5). To list the default compount |
| 37 | # groups available in this aide binary, use aide --version. |
| 38 | |
| 39 | # if you want to sacrifice security for speed, list some checksum |
| 40 | # explicitly here. H specifies that all checksums compiled in are used. |
| 41 | Checksums = H |
| 42 | |
| 43 | # The checksums of the databases to be printed in the report |
| 44 | # Set to 'E' to disable. Set to a list if you want a special set of |
| 45 | # checksums for the database itself |
| 46 | database_attrs = Checksums |
| 47 | |
| 48 | OwnerMode = p+u+g+ftype |
| 49 | Size = s+b |
| 50 | InodeData = OwnerMode+n+i+Size+l+X |
| 51 | StaticFile = m+c+Checksums |
| 52 | Full = InodeData+StaticFile |
| 53 | VarTime = InodeData+Checksums |
| 54 | VarInode = VarTime-i |
| 55 | VarFile = OwnerMode+n+l+X |
| 56 | VarDir = OwnerMode+n+i+X |
| 57 | RecreatedDir = OwnerMode+n+X |
| 58 | ActiveDir = OwnerMode+i+X |
| 59 | PidFile = VarFile |
| 60 | LogDir = VarDir |
| 61 | |
| 62 | # Files that stay static but are copied to a ram disk on startup |
| 63 | # (causing different inode). Please do not use for new rules. |
| 64 | RamdiskData = InodeData-i |
| 65 | |
| 66 | # VarDirInode is kind of a misnomer, as it does _less_ checks than |
| 67 | # VarDir. Renaming it would mean touching > 40 rule files though. |
| 68 | # Please use RecreatedDir for new rules. |
| 69 | VarDirInode = RecreatedDir |
| 70 | |
| 71 | # Directories that change their mtimes or ctimes but not their contents |
| 72 | VarDirTime = InodeData |
| 73 | |
| 74 | ###### LOG HANDLING ###### |
| 75 | |
| 76 | # For a detailed description of the challenges of handling logs with |
| 77 | # aide, see the "LOG HANDLING" section in aide.conf(5). |
| 78 | |
| 79 | # TODO: Re-visit LowLog, that looks doubled. Do not use LowLog for new |
| 80 | # rules, it might disappear. |
| 81 | |
| 82 | ActLog = Full+growing+ANF+I |
| 83 | LowLog = OwnerMode+n+X |
| 84 | RotLog = Full |
| 85 | CompSerLog = Full+I+compressed |
| 86 | MidlSerLog = Full+I |
| 87 | LastSerLog = Full+ARF |
| 88 | |
| 89 | # Please note that these example rules need to be adapted to the logrotate |
| 90 | # configuration for the log. Compression may be disabled or lead to a |
| 91 | # different extension, the dateext option may be used, old logs might be |
| 92 | # held in a different place, a log series does not necessarily need to be |
| 93 | # compressed etc. |
| 94 | |
| 95 | # Please note that savelog rotates the live log to .0 and not to .1 as it |
| 96 | # is logrotates (changeable) default. |
| 97 | |
| 98 | # include rules from /etc/aide/aide.conf.d, honoring the |
| 99 | # file name restrictions that are common in Debian. Files with |
| 100 | # the x bit set are executed and their output included. |
| 101 | @@x_include /etc/aide/aide.conf.d ^[a-zA-Z0-9_-]+$ |