Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.93 KB

File metadata and controls

45 lines (33 loc) · 2.93 KB

NATS

Table of content

Configuration

subjecttemplate: "falco.." # template for the subject, tokens and will be automatically replaced (default: falco..)

Setting Env var Default value Description
nats.hostport NATS_HOSTPORT nats://{domain or ip}:{port}, if not empty, NATS output is enabled
nats.subjecttemplate NATS_SUBJECTTEMPLATE falco.<priority>.<rule> Template for the subject, tokens and will be automatically replaced
nats.mutualtls NATS_MUTUALTLS false Authenticate to the output with TLS, if true, checkcert flag will be ignored (server cert will always be checked)
nats.checkcert NATS_CHECKCERT true Check if ssl certificate of the output is valid
nats.minimumpriority NATS_MINIMUMPRIORITY "" (= debug) Minimum priority of event for using this output, order is emergency,alert,critical,error,warning,notice,informational,debug or ""

Note

The Env var values override the settings from yaml file.

Example of config.yaml

nats:
  hostport: "" # nats://{domain or ip}:{port}, if not empty, NATS output is enabled
  # minimumpriority: "" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default)
  # subjecttemplate: "falco.<priority>.<rule>" # template for the subject, tokens <priority> and <rule> will be automatically replaced (default: falco.<priority>.<rule>)
  # mutualtls: false # if true, checkcert flag will be ignored (server cert will always be checked)
  # checkcert: true # check if ssl certificate of the output is valid (default: true)

Additional info

Screenshots