Falco
Create a falco security source, then in falco.yaml:
json_output: true
http_output:
enabled: true
url: "https://<edge>/v1/security/<source_id>"
custom_headers:
Authorization: "Bearer <secret>"Mapping: rule is security.rule; priority (Emergency to Debug, Informational accepted) is security.priority; tags are security.tags; output is the log body; time is the record time. From output_fields: k8s.ns.name becomes k8s.namespace.name, k8s.pod.name, container.id, container.name, proc.name (process.executable.name), user.name; hostname becomes host.name. A trace_id (top level or in output_fields) is kept.
With the default filter (warning), Falco Notice rules are dropped; lower min_priority to keep them.
Updated