[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>
Sun, 6 Apr 2025 21:52:07 +0000 (23:52 +0200)
commit253a41352b6f197f0c5109dad59cd3be710111f8
tree47e190e96340a230cc217d0c5df8e3431c4897fb
parentcdd7225932d51f47850bd8aad2827483adaf51de
[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