crowdsec/pkg/acquisition/modules
David 8949309223
Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508)
* xx

* xx

* Tests

* fix tests

* XX

* Fix race condition in TestLiveAcquisition implementation

* Better comments for IsTailing and RemoveTail

* lint

* linter

* unmarshal DiscoveryPollInterval to time.Duration

* []byte -> string

* prefer void assignment to nolint

* extract method, add test

* excludedByRE() -> isExcluded()

* fix windows test

* fix regression - tail files from the end if they are detected when the application starts

---------

Co-authored-by: marco <marco@crowdsec.net>
2025-04-30 15:05:17 +02:00
..
appsec lapi: return specific error if a unix socket path is too long for the OS (#3593) 2025-04-29 12:42:49 +02:00
cloudwatch lint/gocritic: enable importShadow, typeUnparen, unnecessaryDefer (#3583) 2025-04-24 11:12:38 +02:00
docker tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
file Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508) 2025-04-30 15:05:17 +02:00
http enhance: add listen_socket to http acquisition (#3499) 2025-04-29 17:19:10 +01:00
journalctl replace go-acc, richgo with gotestsum (#3567) 2025-04-14 16:21:32 +02:00
kafka lint/gocritic: enable importShadow, typeUnparen, unnecessaryDefer (#3583) 2025-04-24 11:12:38 +02:00
kinesis tests: refact localtest helper, use testify.suite (#3574) 2025-04-17 17:35:28 +02:00
kubernetesaudit tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
loki tests: refact localtest helper, use testify.suite (#3574) 2025-04-17 17:35:28 +02:00
s3 tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
syslog enhance: add option to disable magic syslog RFC parsers (#3435) 2025-02-28 15:20:17 +01:00
victorialogs tests: refact localtest helper, use testify.suite (#3574) 2025-04-17 17:35:28 +02:00
wineventlog tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00