Overview

When File Integrity Monitoring is enabled, the Atatus Infra Agent:
  • Scans configured directories for baseline hashes
  • Watches for changes using fsnotify, kprobes, or eBPF
  • Computes file hashes for verification (sha1, sha256, md5, etc.)
  • Applies exclusion and inclusion rules
  • Limits scanning throughput to avoid system overhead
  • Emits events whenever monitored files are changed
Both config file changes and binary changes can be monitored depending on rules applied.

Requirements


Configuration File

FIM configuration lives under: /etc/atatus-infra-agent/conf.d/file_integrity.d/file_integrity.yml

Full Configuration Example

Below is your provided configuration rewritten cleanly as documentation:

Key Settings Explained

1. Paths to Monitor

The most critical section, it defines which files and directories are monitored. Examples:
  • /etc → system config
  • /usr/bin → executable binaries
  • /sbin → privileged admin tools

2. Hash Types

Defines which hash functions will be used to detect modifications.

3. File Size & Performance


4. Include / Exclude Rules

You can precisely control the filesystem events to monitor:

Exclude Examples

  • Vim temporary files
  • Editor backups
  • Git repositories

Include Examples (if needed)


5. Backend Providers

If unsure, use:

Restart the Agent