Jason Dellaluce
d3e1a1f746
chore(userspace/engine): apply codespell suggestions
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
aae114c331
refactor(userspace/engine)!: rename some description details outputs
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
b67ad907a7
fix(userspace/engine): solve issues with filter details resolver
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
dc264a0577
fix(userspace/engine): solve issues in describing rules/macros/lists
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
8f411f3d3b
refactor(userspace/engine): modularize rules files compilation
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
cba80a404f
fix(userspace/engine): print rules fields with arguments
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
26bdefae8e
update(userspace/engine): support printing plugins used by rules
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
dce5cac820
update(userspace/engine): find evt names in filter resolver
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Jason Dellaluce
ab77a5d687
update(userspace/engine): refactor rule describe methods to accept plugins
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-28 12:39:20 +02:00
Andrea Terzolo
4de74f3963
cleanup(falco)!: remove --userspace support
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-26 16:14:07 +02:00
Leonardo Grasso
fe50ac22ee
update: add SPDX license identifier
...
See https://github.com/falcosecurity/evolution/issues/318
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2023-09-21 13:21:47 +02:00
Andrea Terzolo
6bd40f3ea2
cleanup: thrown exceptions and avoid multiple logs
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-13 11:28:40 +02:00
Jason Dellaluce
5595212ff9
fix(userspace/falco): clearing full output queue
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-12 13:19:35 +02:00
Leonardo Grasso
35cb960917
update(userspace/engine): align %container.info defaults with new rule styles
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2023-09-08 19:00:04 +02:00
Andrea Terzolo
e55bedac0b
fix(stats): always initialize m_output
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-07 19:13:00 +02:00
Melissa Kilby
73f15e6c5b
cleanup(userspace/falco): adjust outputs_queue_num_drops counter for recovery 'empty'
...
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
dad2762ed6
fix(userspace/falco): change outputs_queue_num_drops to atomic
...
Co-authored-by: Jason Dellaluce <jasondellaluce@gmail.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
88a5e1bf45
cleanup(config): rename default outputs queue macro
...
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
0eff98aa8e
cleanup: apply more reviewers suggestions
...
Co-authored-by: Andrea Terzolo <andreaterzolo3@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
016fdae93b
cleanup: apply reviewers suggestions
...
Co-authored-by: Andrea Terzolo <andreaterzolo3@gmail.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
a61f24066f
cleanup(userspace/falco): always set queue capacity and use largest long as default for unbounded
...
Co-authored-by: Andrea Terzolo <andreaterzolo3@gmail.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
1e94598eca
new(metrics): add falco.outputs_queue_num_drops metrics + plus fix rebase leftovers
...
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
85883b7200
cleanup(outputs): adopt different style for outputs_queue params encodings
...
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
03a557725b
cleanup(outputs): ensure old defaults in queue_capacity_outputs in new config
...
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Melissa Kilby
b55b209edf
fix(outputs): expose queue_capacity_outputs config for memory control
...
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-09-07 13:15:59 +02:00
Luca Guerra
a22dac6866
update(falco)!: --list-syscall-events is now called --list-events
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2023-09-07 12:47:59 +02:00
Luca Guerra
bfb22527a2
chore(falco): update engine version and checksum
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2023-09-07 12:47:59 +02:00
Luca Guerra
b21bfd6e8d
new(falco): print all events (not just syscall)
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2023-09-07 12:47:59 +02:00
Daniel Wright
513f122aff
feat: support parsing of system environment variables in yaml
...
In order to allow the user to supply environment variables in standard
ways performed in other applications the get_scalar function has been
extended to support defining an environment variable in the format
`${FOO}`. Environment variables can be escaped via defining as `$${FOO}`.
As this handles some additional complexity, a unit test has been added
to cover this new functionality
Signed-off-by: Daniel Wright <danielwright@bitgo.com >
2023-09-06 11:45:00 +02:00
Leonardo Grasso
b2374b3c19
fix(userspace/falco): apply suggestions for CLI help messages
...
Co-authored-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2023-09-04 18:50:52 +02:00
Leonardo Grasso
93e8be1e32
update(userspace/falco): revised CLI help messages
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2023-09-04 18:50:52 +02:00
Luca Guerra
b246bcb052
fix(engine): fix werror reorder
...
Signed-off-by: Luca Guerra <luca@guerra.sh >
2023-09-04 17:26:52 +02:00
Andrea Terzolo
6251af0ab6
new: introduce new stats updated to the latest libs version
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-04 17:24:52 +02:00
Andrea Terzolo
4f8d11acdd
chore: bump engine version and checksum
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-04 12:19:46 +02:00
Federico Di Pierro
0ec492086e
fix(userspace/falco): properly delete metrics timer upon leaving.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2023-09-04 11:22:46 +02:00
Andrea Terzolo
442d1accbe
cleanup: deprecate rate limiter mechanism
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-04 10:11:45 +02:00
Andrea Terzolo
62e762a467
cleanup: deprecate no more supported userspace mode
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-04 10:09:46 +02:00
Andrea Terzolo
e6fe0a516d
fix: fix falco MINIMAL_BUILD
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-09-04 10:09:46 +02:00
Jason Dellaluce
c8122ff474
fix(userspace/engine): support appending to unknown sources
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-09-01 06:46:31 +02:00
Jason Dellaluce
eabf49892d
update(userspace/falco): bump engine version to 24
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-08-31 18:33:30 +02:00
Jason Dellaluce
901fca2257
update(userspace/engine): upgrade skip-if-unknown-filter YAML field
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-08-31 18:33:30 +02:00
Andrea Terzolo
cc8d6705f6
fix: fix "ebpf_enabled" output stat
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-08-31 17:37:29 +02:00
Federico Di Pierro
26f626c1d5
chore(userspace/falco): properly check that parent init() did not fail for reasons.
...
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
2023-08-31 16:11:29 +02:00
Federico Di Pierro
acaaa0b4ca
cleanup(userspace/falco): improvements to the http output perf.
...
Moreover, add option to disable stdout echoing.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com >
2023-08-31 16:11:29 +02:00
Jason Dellaluce
01093d2dfc
fix(userspace/engine): support both old and new gcc + std::move
...
Old gcc versions (e.g. 4.8.3) won't allow move elision
but newer versions (e.g. 10.2.1) would complain about
the redundant move.
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-08-30 20:57:27 +02:00
Andrea Terzolo
988703b601
clenaup: remove b64 from falco dependencies
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-08-30 19:12:26 +02:00
Andrea Terzolo
8d6c6900d3
cleanup: turn a warning into an error
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-08-29 13:46:21 +02:00
Andrea Terzolo
34d796439f
cleanup: fail if the time unit is not specified
...
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com >
2023-08-29 13:46:21 +02:00
Anna Simon
c8d1637130
feat(userspace/outputs_http): Add option for mTLS
...
Signed-off-by: Anna Simon <asimon@mercari.com >
2023-08-29 10:28:21 +02:00
Melissa Kilby
37ea9b25c4
feat(userspace): deprecate -d daemonize option
...
Deprecate `-d` option (currently broken).
Symptoms included the message queue filling up without popping any messages
even though events were handled normally.
Maintainers decided to deprecate not needed `-d` option while keeping
the useful `pidfile` command args option.
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com >
2023-08-25 18:14:45 +02:00