[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>
Sat, 15 Jul 2023 09:29:33 +0000 (10:29 +0100)
commita053f08235d1644ae004b5885eaac9b7060cc44f
tree42110de59edc35df0862df25368b91fe7973561c
parent4be3bea4e8be477c6769a30f01eeb63a4b2330f7
[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