-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): update docs for structured config file
This also changes the default config file to be a structured YAML file and adds a new example config file 'global_config_cli.yaml' that uses the CLI format.
- Loading branch information
Showing
4 changed files
with
157 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,136 @@ | ||
blob-perf-buffer-size: 1024 | ||
cache: | ||
# - none # cache-type={none,mem} | ||
- cache-type=none | ||
# - mem-cache-size=556 | ||
# cache: | ||
# type: mem | ||
# size: 256 | ||
type: none | ||
# size: 1024 | ||
|
||
proctree: | ||
# - source=events | ||
source: events | ||
cache: | ||
process: 8192 | ||
thread: 4096 | ||
source: none | ||
# cache: | ||
# process: 8192 | ||
# thread: 4096 | ||
|
||
capabilities: | ||
# - bypass=false | ||
# - add=cap_kill,cap_syslog | ||
bypass: true | ||
add: | ||
- cap_sys_admin | ||
- cap_syslog | ||
drop: | ||
- cap_chown | ||
bypass: false | ||
# add: | ||
# - cap_sys_admin | ||
# - cap_syslog | ||
# drop: | ||
# - cap_chown | ||
|
||
containers: false | ||
crs: | ||
- containerd:/var/run/containerd/containerd.sock | ||
- docker:/var/run/docker.sock | ||
- runtime: | ||
name: containerd | ||
socket: /var/run/containerd/containerd.sock | ||
- runtime: | ||
name: docker | ||
socket: /var/run/docker.sock | ||
|
||
# - runtime: | ||
# name: containerd | ||
# socket: /var/run/containerd/containerd.sock | ||
# - runtime: | ||
# name: docker | ||
# socket: /var/run/docker.sock | ||
|
||
healthz: false | ||
install-path: /tmp/tracee | ||
listen-addr: :3366 | ||
log: | ||
- info | ||
level: info | ||
# file: "/path/to/log/file.log" | ||
# aggregate: | ||
# enabled: true | ||
# flush-interval: "5s" | ||
# filters: | ||
# libbpf: false | ||
# in: | ||
# msg: | ||
# - SampleMessage1 | ||
# - SampleMessage2 | ||
# pkg: | ||
# - package1 | ||
# - package2 | ||
# file: | ||
# - file1.go | ||
# - file2.go | ||
# level: | ||
# - warn | ||
# - error | ||
# regex: | ||
# - ^pattern1 | ||
# - ^pattern2 | ||
# out: | ||
# msg: | ||
# - ExcludedMessage1 | ||
# pkg: | ||
# - excludedPackage | ||
# file: | ||
# - excludedFile.go | ||
# level: | ||
# - debug | ||
# regex: | ||
# - ^excludedPattern | ||
|
||
metrics: false | ||
output: | ||
- json | ||
# - webhook:HTTP://localhost:8080?timeout=5s | ||
# output-structured: | ||
# - webhook: | ||
# name: webhook1 | ||
# host: http://localhost | ||
# port: 8000 | ||
# timeout: 5s | ||
# - webhook: | ||
# name: webhook2 | ||
# host: http://localhost | ||
# port: 9000 | ||
# timeout: 5s | ||
json: | ||
files: | ||
- stdout | ||
|
||
# table: | ||
# files: | ||
# - /path/to/table1.out | ||
# - /path/to/table2.out | ||
|
||
# table-verbose: | ||
# files: | ||
# - stdout | ||
|
||
# gob: | ||
# files: | ||
# - /path/to/gob1.out | ||
|
||
# gotemplate: | ||
# template: /path/to/my_template1.tmpl | ||
# files: | ||
# - /path/to/output1.out | ||
# - /path/to/output2.out | ||
|
||
# forward: | ||
# - forward1: | ||
# protocol: tcp | ||
# user: user | ||
# password: pass | ||
# host: 127.0.0.1 | ||
# port: 24224 | ||
# tag: tracee1 | ||
# - forward2: | ||
# protocol: udp | ||
# user: user | ||
# password: pass | ||
# host: 127.0.0.1 | ||
# port: 24225 | ||
# tag: tracee2 | ||
|
||
# webhook: | ||
# - webhook1: | ||
# protocol: http | ||
# host: localhost | ||
# port: 8000 | ||
# timeout: 5s | ||
# - webhook2: | ||
# protocol: http | ||
# host: localhost | ||
# port: 9000 | ||
# timeout: 3s | ||
|
||
# options: | ||
# none: false | ||
# stack-addresses: true | ||
# exec-env: false | ||
# relative-time: true | ||
# exec-hash: false | ||
# parse-arguments: true | ||
# sort-events: false | ||
|
||
perf-buffer-size: 1024 | ||
pprof: false | ||
pyroscope: false | ||
rego: | ||
# - partial-eval | ||
- aio | ||
# partial-eval: true | ||
# aio: true | ||
signatures-dir: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
blob-perf-buffer-size: 1024 | ||
cache: | ||
- none | ||
proctree: | ||
- none | ||
capabilities: [] | ||
containers: false | ||
crs: [] | ||
healthz: false | ||
install-path: /tmp/tracee | ||
listen-addr: :3366 | ||
log: | ||
- info | ||
metrics: false | ||
output: | ||
- json | ||
perf-buffer-size: 1024 | ||
pprof: false | ||
pyroscope: false | ||
rego: [] | ||
signatures-dir: "" |