mmetc
c17d42278f
replace go-acc, richgo with gotestsum ( #3567 )
2025-04-14 16:21:32 +02:00
mmetc
5136d928ed
lint: gocritic/typeDefFirst (ensure type definitions come before methods) ( #3404 )
...
* lint: gocritic/typeDefFirst (ensure type definitions come before methods)
* lint
2025-02-17 10:55:18 +01:00
mmetc
6529215775
CI: golangci-lint 1.63 ( #3396 )
2025-01-16 13:22:08 +01:00
mmetc
a1d26bdc5b
cscli: improved hub management ( #3352 )
2024-12-26 15:21:52 +01:00
mmetc
ecf34c2fa1
lint/deep-exit: avoid log.Fatal ( #3367 )
...
* lint/deep-exit: don't fail on invalid alert
* lint/deep-exit: kinesis_test.go
* lint/deep-exit: watcher_test.go
* lint/deep-exit: parsing_test.go
* lint/deep-exit: client_test.go
2024-12-18 16:43:19 +01:00
mmetc
5f22c78fcf
enable linters: copyloopvar, intrange ( #3184 )
...
* enable linters: copyloopvar, intrange
* lint
2024-09-17 16:10:56 +02:00
mmetc
cae76baa3a
refact acquisition: build profiles (optionally exclude datasources from final binary) ( #3217 )
...
example
$ make BUILD_PROFILE=minimal
or
$ make EXCLUDE=datasource_s3,datasource_kinesis
2024-09-12 17:26:39 +02:00
mmetc
8a259fd25b
lint (copyloopvar) ( #2971 )
2024-06-20 22:13:26 +02:00
mmetc
659feec496
cscli: don't print timestamps ( #2984 )
...
* cscli: don't print timestamps
* lint (whitespace, errors)
2024-05-06 10:43:54 +02:00
mmetc
5622ac8338
CI: enable testifylint ( #2696 )
...
- reverse actual and expected values
- use assert.False, assert.True
- use assert.Len, assert.Emtpy
- use require.Error, require.NoError
- use assert.InDelta
2024-01-05 15:26:13 +01:00
lperdereau
92f923cfa8
Loki integration #2 ( #2306 )
...
* Add support for loki datasource
---------
Co-authored-by: Mathieu Lecarme <mathieu@garambrogne.net>
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
Co-authored-by: Thibault "bui" Koechlin <thibault@crowdsec.net>
2023-11-22 13:31:39 +01:00
mmetc
95ed308207
cscli setup: accept stdin; fix proftpd detection test and service unmask ( #2496 )
2023-09-29 12:58:35 +02:00
mmetc
ffadd42779
update dependency on go-cs-lib; drop the pkg/ part ( #2393 )
2023-07-28 16:35:08 +02:00
mmetc
8bfeb7d90d
Update go dependencies ( #2293 )
...
- update fatih/color (fix windows issue)
- update mongo-driver (fix build issue)
- go.mod: merge two "require" blocks
- update semver dependency (same version as indirect dep), fix test checks in cscli setup
- remove gotest.tools dependency (use testify, cstest)
- update x/ exp, mod, sys dependencies
2023-06-22 11:31:41 +02:00
mmetc
8da9d5eefd
don't log notification error if not running under systemd ( #2274 )
2023-06-08 15:04:48 +02:00
mmetc
b2d3520519
decouple bouncer dependencies: use go-cs-lib in test code ( #2229 )
2023-05-25 15:37:44 +02:00
blotus
6aaf3cd50b
Update expr to 1.12.2 ( #2110 )
2023-03-09 16:56:11 +01:00
mmetc
b6be18ca65
cscli setup ( #1923 )
...
Detect running services and generate acquisition configuration
2023-02-06 07:33:04 +01:00