[PATCH] non-fatal error if some datasource can't be run (i.e. journalctl but systemd...
authormmetc <92726601+mmetc@users.noreply.github.com>
Tue, 27 Jun 2023 08:46:25 +0000 (10:46 +0200)
committerCyril Brulebois <cyril@debamax.com>
Wed, 31 Jul 2024 10:03:56 +0000 (12:03 +0200)
commit4fa83f6df1fb2fce9a2f04f617717ac95292140f
tree5f4c0a598d6e405eaeef4bf41abad918a7c2e2c3
parent9f198499fefdcfc42ec114230e6fbbeafdf1e966
[PATCH] non-fatal error if some datasource can't be run (i.e. journalctl but systemd is missing) (#2310)

This on the other hand, gives a new fatal error when there are no valid datasources.
In the previous version, crowdsec kept running with just a warning if no
acquisition yaml or dir were specified.

Gbp-Pq: Name 0018-non-fatal-errors-for-invalid-datasources.patch
cmd/crowdsec/crowdsec.go
cmd/crowdsec/main.go
pkg/acquisition/acquisition.go
pkg/acquisition/acquisition_test.go
tests/bats/01_crowdsec.bats
tests/bin/assert-crowdsec-not-running