Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# fact

File ACTivity is a file integrity monitoring tool designed to help with PCI DSS
compliance, which requires a change detection mechanism. It's implemented as a
BPF agent, which coordinates a set of BPF programs attached to LSM hooks,
receives events from the kernel, does basic enrichment and pushes them for
further processing.

## Prerequisites

1. stable rust toolchains.
Expand Down Expand Up @@ -30,6 +36,9 @@ cargo run --release --config 'target."cfg(all())".runner="sudo -E"'
Cargo build scripts are used to automatically build the eBPF correctly
and include it in the program.

For more details about available options, check out the
[references page](docs/references.md).

## Running eBPF unit tests

There is some specific unit tests that execute just the eBPF code and
Expand Down
19 changes: 19 additions & 0 deletions docs/references.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Fact references

## Configuration options

### Environment variables

* `FACT_PATHS`: List of file paths to monitor.

* `FACT_LOGLEVEL`: At which level produce log messages.

### Commandline options

* `--skip-pre-flight`: Do not perform pre-flight checks. Before starting up
Fact tries to verify if needed LSM hooks are available, but in some
environments this might not be robust enough. In such cases one can disable
those checks.

* `-p, --paths`: List of file paths to monitor. This option could be used
multiple times, instructing Fact to monitor multiple files.
Loading