Configure Falco macros and lists for reusable container-aware conditions across multiple rules

domain: falco.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define a list of allowed image prefixes or process names that represent trusted container workloads
  2. Write a macro 'trusted_container' using 'container.image.repository' to check membership against that list
  3. Write a second macro 'interactive_session' combining evt.type checks for open/read with 'proc.tty != 0'
  4. Reference these macros in multiple rules using logical composition with 'and not trusted_container' to suppress noise
  5. Place shared macros and lists in a dedicated include file and reference it via 'rules_file' ahead of rule files that consume them

Known gotchas

Related routes

Configure Falco lists and macros to build reusable rule conditions
falco.org · 5 steps · unrated
Tune Falco's default ruleset to reduce false positives using rule overrides, exceptions, and custom macros instead of editing shipped rules directly
falco.org · 5 steps · unrated
Write a Falco custom rule using macros and lists to detect outbound network connections from web server processes
falco.org · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans