Skip to content

fix(falco): support host Falco 0.45.0 and automate systemd umask drop-in (#95, #99) - #108

Merged
JJediny merged 1 commit into
mainfrom
fix/falco-host-wiring-and-upgrade-0.45.0
Oct 4, 2026
Merged

JJediny merged 1 commit into
mainfrom
fix/falco-host-wiring-and-upgrade-0.45.0

Conversation

@JJediny

@JJediny JJediny commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Closes #95
Closes #99

Summary

  1. Host Package Upgrade (Closes Host Falco 0.42.1 (deb) vs container pin 0.44.1 - upgrade host install #99):
    • Upgraded Falco host install to 0.45.0 matching container pin falcosecurity/falco:0.45.0 and official APT repository.
    • Updated tarball download URL & verified SHA256 checksum in scripts/install-falco-system.sh.
    • Updated Taskfile.yml and tests/test_falco_config.py rule validation container tag to 0.45.0.
  2. Systemd UMask Drop-In & Collector Permissions (Closes Wire host systemd Falco into the collector (one sudo step) - detections currently discarded #95):
    • Added write_systemd_dropin() in scripts/install-falco-system.sh to install /etc/systemd/system/${svc}.service.d/localobserve-umask.conf with UMask=0022.
    • Ensures /var/log/falco/events.jsonl is created world-readable (0644) rather than 0600, allowing the unprivileged OpenTelemetry Collector container (10001:10001) to tail detections without permission denied errors.
    • Made service detection robust with systemctl cat.
  3. Documentation:
    • Updated docs/falco-host-install.md with official APT repository setup, systemd drop-in explanation, and verification checklist.
  4. Validation:
    • Added unit test test_falco_install_system_script_configures_umask_and_output in tests/test_falco_config.py.
    • Live verified detections with cat /etc/shadow yielding Read sensitive file untrusted in OpenObserve's falco stream.
    • Test suite passing: 363 passed, 40 skipped.

…#99)

- Update install-falco-system.sh to 0.45.0 with verified sha256 checksum
- Add write_systemd_dropin creating UMask=0022 drop-in so unprivileged otel-collector can tail /var/log/falco/events.jsonl
- Make restart_falco service detection robust with systemctl cat
- Update Taskfile.yml and docs/falco-host-install.md with official APT repo & systemd integration guidance
- Add regression test in tests/test_falco_config.py
@JJediny
JJediny merged commit bc63c86 into main Oct 4, 2026
9 checks passed
@JJediny
JJediny deleted the fix/falco-host-wiring-and-upgrade-0.45.0 branch October 4, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant