mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-11 11:39:32 +00:00
Updated Falco Formatting for Containers and Orchestration (markdown)
@@ -4,11 +4,11 @@ Like sysdig, falco can be run with `-pk`/`-pm`/`-pc`/`-p` arguments that change
|
|||||||
|
|
||||||
The information from k8s/mesos/containers is used in conjunction with the command line options in these ways:
|
The information from k8s/mesos/containers is used in conjunction with the command line options in these ways:
|
||||||
|
|
||||||
* In rule outputs, if the format string contains %container.info, that is replaced with the value from -pk/-pm/-pc, if one of those options was provided. If no option was provided, %container.info is replaced with a generic %container.name (id=%container.id) instead.
|
* In rule outputs, if the format string contains `%container.info`, that is replaced with the value from `-pk`/`-pm`/`-pc`, if one of those options was provided. If no option was provided, `%container.info` is replaced with a generic `%container.name (id=%container.id)` instead.
|
||||||
|
|
||||||
* If the format string does not contain %container.info, and one of -pk/-pm/-pc was provided, that is added to the end of the formatting string.
|
* If the format string does not contain `%container.info`, and one of `-pk`/`-pm`/`-pc` was provided, that is added to the end of the formatting string.
|
||||||
|
|
||||||
* If -p was specified with a general value (i.e. not -pk/-pm/-pc), the value is simply added to the end and any %container.info is replaced with the generic value.
|
* If `-p` was specified with a general value (i.e. not `-pk`/`-pm`/`-pc`), the value is simply added to the end and any `%container.info` is replaced with the generic value.
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
Reference in New Issue
Block a user