Command Overview
beacon rules fields prints the endpoint event fields that threat-rule CEL expressions can match on.
Command syntax
CEL field paths
Threat-rule expressions bind each Beacon event ase. Field paths mirror the event JSON shape, such as:
| Field path | Example use |
|---|---|
e.event.action | Match event type, such as command.executed or file.read |
e.command.command | Match executed command text |
e.file.path | Match a file path |
e.prompt.text | Match prompt text when retained |
e.gen_ai.usage.input_tokens | Match normalized token usage fields |
Examples
Print the field list:List rule fields
Render fields as markdown
Flags
| Flag | Description |
|---|---|
--markdown | Render as a markdown reference table |
Related
beacon rules lint
Validate CEL expressions and embedded fixtures.
Endpoint Event Schema
Review normalized Beacon endpoint events.

