Command overview
beacon scan runs active threat-detection rules over the local Beacon runtime log and reports findings. The scan is read-only and never touches the network.
Command syntax
How scanning works
Beacon runs the rules in the local rule store plus every built-in baseline rule the store does not replace by id; with no store installed, that is the baseline alone. You can also point a scan at an explicit rule directory with--rules, which runs only that directory.
Rules are YAML documents with CEL expressions over the Beacon Endpoint Event Schema. Rules can match one event or correlate multiple ordered events within one session window.
Workflows
Run local scans
Choose runtime logs, rule directories, sessions, and output formats.
Use scan gates
Filter findings and fail automation on severity thresholds.
Examples
Run the active rules over the default per-user endpoint log:Run a local scan
Print JSON findings
Filter by severity
Fail on high-severity findings
Scan an explicit log and rules directory
Scan one session
Flags
Related
beacon rules
Manage, pull, and author threat-detection rules.
Detections
Learn how detection rules, fixtures, and findings work.
Endpoint dashboard
Inspect the same runtime logs locally before or after scanning.