crowdsec/pkg/acquisition
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
..
configuration lint: gocritic/typeDefFirst (ensure type definitions come before methods) (#3404) 2025-02-17 10:55:18 +01:00
modules Fix monitorNewFiles for NFS + Remove dead tails from tail map (#3508) 2025-04-30 15:05:17 +02:00
test_files expand env var when loading acquis (#3375) 2025-01-10 14:57:05 +01:00
acquisition.go enhance: Flags now superceed all log levels (#3496) 2025-03-07 13:42:08 +00:00
acquisition_test.go tests: switch context.Background() -> t.Context() from go 1.24 (#3473) 2025-02-21 00:09:11 +01:00
appsec.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
cloudwatch.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
docker.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
file.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
http.go add HTTP datasource (#3294) 2024-11-05 14:15:04 +01:00
journalctl.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
k8s.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
kafka.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
kinesis.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
loki.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
s3.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
syslog.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00
victorialogs.go acquisition/victorialogs: add new datasource (#3310) 2025-01-29 16:59:03 +01:00
wineventlog.go refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217) 2024-09-12 17:26:39 +02:00