Skip to content

Releases: crowdsecurity/crowdsec

v1.7.7

30 Mar 13:02
027974f

Choose a tag to compare

CrowdSec 1.7.7 brings 2 major changes:

  • On linux, RE2 is now used by default for evaluating regexp in parsers
  • WAF rules can now contain a mix of AND/OR conditions without any limits, giving much greater flexibility when writing new rules

RE2 by default on linux

CrowdsSec has supported for a long time using RE2 as the regexp engine, and with this release we make it the default.

CrowdSec has always used the builtin Go regexp package, which is a Go reimplementation of the RE2 library, but with known performance limitations.

The switch to RE2 will bring significantly increased regexp performance (one of the most critical part of CrowdSec) at the cost of slightly longer regexp compilation and higher baseline memory usage.

Important

If you encounter any issues with the new regexp engine, you can fallback to the previous Go implementation by setting the feature flag re2_disable_grok_support (see the documentation).

Other changes

Other notable changes include:

  • a new kind attribute for alerts used to identify its source (a scenario, a WAF rule, a manual decision creation, ...)
  • a new cscli allowlist import command
  • support for the HTTP_PROXY environment variable in the notification-http plugin
  • A resource leak under high load was fixed

Full changelog

New Features

  • add LookupFile and FileMap expr helpers (#4372) @buixor
  • waf rules: allow arbitrary mix of AND and OR conditions (#4358) @blotus

Improvements

Bug Fixes

  • allowlists: apply items to existing decisions in batch (#4095) @blotus
  • waf: fix tests for modsec rules generation (#4385) @blotus
  • windows: add file notification plugin in MSI package (#4367) @blotus
  • leakroutine: call cancel after leakroutine returns (#4369) @blotus
  • notification-sentinel: lower-case x-ms-date header for correct HMAC (#4288) @ebirn
  • tests: remove temporary sqlite/plugin files from /tmp/ (#4332) @mmetc
  • pkg/apiserver: fix scenario count in debug log (#4333) @mmetc
  • pkg/csplugin: prevent race condition, deadlock (#4294) @mmetc
  • pkg/acquisitioncontext: minimal fix for data race in tests (#4327) @mmetc
  • acquisition/file: minimal fix for data race in tests (#4326) @mmetc
  • fix lint fsutil/freebsd: unnecessary conversion (#4324) @mmetc
  • cscli: consistent status and usage message for unknown subcommands (#4320) @mmetc
  • cscli detect: set log type for caddy unit to "syslog" (#4321) @mmetc
  • CI: add published_at to version.crowdsec.net/latest (#4291) @blotus
  • cmd/crowdsec: assign overflow after parsing (#4226) @mmetc
  • waf: format as CRS match only if anomaly score is not 0 (#4230) @blotus

Changes

  • build(deps): bump cryptography from 46.0.3 to 46.0.5 in /build/docker/test (#4298) @dependabot[bot]
  • support for waf- alias in cscli (#4347) @buixor
  • refact pkg/dumps: reduce complexity (#4209) @mmetc
  • lint: refact pkg/dumps for nilaway (#4208) @mmetc
  • refact pkg/parser: redundant indirection (#4344) @mmetc
  • refact pkg/parser: extract+embed NodeConfig in Node struct (#4343) @mmetc
  • move calls to trace.ReportPanic() on top of goroutines (#4338) @mmetc
  • pkg/csplugin: simplify notification loop; noop with empty queue (#4328) @mmetc
  • pkg/parsers: light refact, remove redundant code (#4213) @mmetc
  • refact cmd/crowdsec: encapsulate cache into alertBuffer (#4300) @mmetc
  • cmd/notification-*: don't provide the same context twice for request (#4316) @mmetc
  • don't flush 127.0.0.1 (#4315) @sabban
  • clipapi: replace tomb with errgroup (#4207) @mmetc
  • refact cmd/crowdsec: remove redundant global variable (#4299) @mmetc
  • refact: remove unused code in crowdsec-cli, apiserver, acquisition, database (#4304) @mmetc
  • refact pkg/leakybucket: trim down redundant Leaky struct fields (#4290) @mmetc
  • pkg/leakybucket: remove global bucketStore, unused parameters + tags (#4286) @mmetc
  • pkg/leakybucket: remove Simulated field from Leaky, keep it in config (#4285) @mmetc
  • pkg/leakybucket: extract BucketSpec from BucketFactory (#4284) @mmetc
  • refact pkg/leakybucket: extract methods from LoadBucket() part 2 (#4282) @mmetc
  • pkg/leakybucket: refact test loop, more explicit failures in testFile() (#4281) @mmetc
  • refact pkg/leakybucket: extract methods from LoadBucket() (#4279) @mmetc
  • pkg/leakybucket: replace Signal chan with explicit read/done chans (#4277) @mmetc
  • pkg/leakybucket: replace waitgroups with single rwlock (#4276) @mmetc
  • pkg/leakybucket: garbage collect: compare float with epsilon (#4275) @mmetc
  • pkg/leakybucket: refactor tests (#4272) @mmetc
  • pkg/leakybucket: replace sycn.Map with map + mutex (#4271) @mmetc
  • pkg/leakybucket: replace global counter with call to bucket store (#4273) @mmetc
  • pkg/leakybucket: review README.md (#4274) @mmetc
  • pkg/leakybucket: encapsulate store map + add methods (#4253) @mmetc
  • pkg/leakybucket: remove redundant bool var (#4252) @mmetc
  • fix hub console side (#4266) @sabban
  • version workflow fix (#4262) @sabban
  • rename the prod branch to main (#4261) @sabban
  • add version workflow (#4210) @sabban
  • pkg/leakybucket: remove unused global (#4251) @mmetc
  • pkg/leakybucket: pass bucket factories by pointer (#4250) @mmetc
  • pkt/leakybucket: compileScopeFilter() -> ScopeType.CompileFilter() (#4247) @mmetc
  • pkg/leakybucket: rename OverflowFilter -> OverflowProcessor (#4248) @mmetc
  • pkg/leakybucket: rename Buckets -> BucketStore (#4246) @mmetc
  • refact leaky bayesian: method to function, unlock w/defer (#4242) @mmetc
  • pkg/leakybucket: early return (#4244) @mmetc
  • pkg/leakybucket: variable shorthand (#4245) @mmetc
  • pkg/leakybucket: move LeakRoutine to method, rename parameters (#4243) @mmetc
  • pkg/leakybucket: review bucket validation and tests (#4241) @mmetc
  • refact: remove unnecessary pointers to map, string, mutex (#4212) @mmetc
  • pkg/leakybucket: function to method BucketFactory.LoadBucket() (#4229) @mmetc
  • pkg/leakybucket: BucketType interface, method BucketFactory.Validate() (#4228) @mmetc

Chore / Deps

Read more

v1.7.7-rc1

23 Mar 14:19
027974f

Choose a tag to compare

v1.7.7-rc1 Pre-release
Pre-release

New Features

  • add LookupFile and FileMap expr helpers (#4372) @buixor
  • waf rules: allow arbitrary mix of AND and OR conditions (#4358) @blotus

Improvements

Bug Fixes

  • allowlists: apply items to existing decisions in batch (#4095) @blotus
  • waf: fix tests for modsec rules generation (#4385) @blotus
  • windows: add file notification plugin in MSI package (#4367) @blotus
  • leakroutine: call cancel after leakroutine returns (#4369) @blotus
  • notification-sentinel: lower-case x-ms-date header for correct HMAC (#4288) @ebirn
  • tests: remove temporary sqlite/plugin files from /tmp/ (#4332) @mmetc
  • pkg/apiserver: fix scenario count in debug log (#4333) @mmetc
  • pkg/csplugin: prevent race condition, deadlock (#4294) @mmetc
  • pkg/acquisitioncontext: minimal fix for data race in tests (#4327) @mmetc
  • acquisition/file: minimal fix for data race in tests (#4326) @mmetc
  • fix lint fsutil/freebsd: unnecessary conversion (#4324) @mmetc
  • cscli: consistent status and usage message for unknown subcommands (#4320) @mmetc
  • cscli detect: set log type for caddy unit to "syslog" (#4321) @mmetc
  • CI: add published_at to version.crowdsec.net/latest (#4291) @blotus
  • cmd/crowdsec: assign overflow after parsing (#4226) @mmetc
  • waf: format as CRS match only if anomaly score is not 0 (#4230) @blotus

Changes

  • build(deps): bump cryptography from 46.0.3 to 46.0.5 in /build/docker/test (#4298) @dependabot[bot]
  • support for waf- alias in cscli (#4347) @buixor
  • refact pkg/dumps: reduce complexity (#4209) @mmetc
  • lint: refact pkg/dumps for nilaway (#4208) @mmetc
  • refact pkg/parser: redundant indirection (#4344) @mmetc
  • refact pkg/parser: extract+embed NodeConfig in Node struct (#4343) @mmetc
  • move calls to trace.ReportPanic() on top of goroutines (#4338) @mmetc
  • pkg/csplugin: simplify notification loop; noop with empty queue (#4328) @mmetc
  • pkg/parsers: light refact, remove redundant code (#4213) @mmetc
  • refact cmd/crowdsec: encapsulate cache into alertBuffer (#4300) @mmetc
  • cmd/notification-*: don't provide the same context twice for request (#4316) @mmetc
  • don't flush 127.0.0.1 (#4315) @sabban
  • clipapi: replace tomb with errgroup (#4207) @mmetc
  • refact cmd/crowdsec: remove redundant global variable (#4299) @mmetc
  • refact: remove unused code in crowdsec-cli, apiserver, acquisition, database (#4304) @mmetc
  • refact pkg/leakybucket: trim down redundant Leaky struct fields (#4290) @mmetc
  • pkg/leakybucket: remove global bucketStore, unused parameters + tags (#4286) @mmetc
  • pkg/leakybucket: remove Simulated field from Leaky, keep it in config (#4285) @mmetc
  • pkg/leakybucket: extract BucketSpec from BucketFactory (#4284) @mmetc
  • refact pkg/leakybucket: extract methods from LoadBucket() part 2 (#4282) @mmetc
  • pkg/leakybucket: refact test loop, more explicit failures in testFile() (#4281) @mmetc
  • refact pkg/leakybucket: extract methods from LoadBucket() (#4279) @mmetc
  • pkg/leakybucket: replace Signal chan with explicit read/done chans (#4277) @mmetc
  • pkg/leakybucket: replace waitgroups with single rwlock (#4276) @mmetc
  • pkg/leakybucket: garbage collect: compare float with epsilon (#4275) @mmetc
  • pkg/leakybucket: refactor tests (#4272) @mmetc
  • pkg/leakybucket: replace sycn.Map with map + mutex (#4271) @mmetc
  • pkg/leakybucket: replace global counter with call to bucket store (#4273) @mmetc
  • pkg/leakybucket: review README.md (#4274) @mmetc
  • pkg/leakybucket: encapsulate store map + add methods (#4253) @mmetc
  • pkg/leakybucket: remove redundant bool var (#4252) @mmetc
  • fix hub console side (#4266) @sabban
  • version workflow fix (#4262) @sabban
  • rename the prod branch to main (#4261) @sabban
  • add version workflow (#4210) @sabban
  • pkg/leakybucket: remove unused global (#4251) @mmetc
  • pkg/leakybucket: pass bucket factories by pointer (#4250) @mmetc
  • pkt/leakybucket: compileScopeFilter() -> ScopeType.CompileFilter() (#4247) @mmetc
  • pkg/leakybucket: rename OverflowFilter -> OverflowProcessor (#4248) @mmetc
  • pkg/leakybucket: rename Buckets -> BucketStore (#4246) @mmetc
  • refact leaky bayesian: method to function, unlock w/defer (#4242) @mmetc
  • pkg/leakybucket: early return (#4244) @mmetc
  • pkg/leakybucket: variable shorthand (#4245) @mmetc
  • pkg/leakybucket: move LeakRoutine to method, rename parameters (#4243) @mmetc
  • pkg/leakybucket: review bucket validation and tests (#4241) @mmetc
  • refact: remove unnecessary pointers to map, string, mutex (#4212) @mmetc
  • pkg/leakybucket: function to method BucketFactory.LoadBucket() (#4229) @mmetc
  • pkg/leakybucket: BucketType interface, method BucketFactory.Validate() (#4228) @mmetc

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.6

23 Jan 09:41
eacc819

Choose a tag to compare

Changes

Bug Fixes

  • cmd/crowdsec: assign overflow after parsing (#4225) @mmetc

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.5

22 Jan 12:08
6787990

Choose a tag to compare

Changes

  • replace syscall with unix/windows packages where possible (#3032) @mmetc
  • pkg/acquisition: refact configuration validation and tests (#4187) @mmetc
  • pkg/acquisition: remove/restore mock datasources after usage (#4190) @mmetc
  • pkg/leakybucket: replace global variables with injected StateDumper (#4197) @mmetc
  • pkg/acquisition: method docs, deduplicate module names (#4192) @mmetc
  • errors.Wrapf -> fmt.Errorf, remove dependency on github.com/pkg/errors (#4198) @mmetc
  • update golangci-lint 2.8 (#4194) @mmetc
  • notification plugins: readability / dry refact, unnecessary pointers (#4166) @mmetc
  • refact acquisition/appsec: happy path (#4183) @mmetc
  • pkg/acquisition/registry, move datasource registration to avoid dependency (#4189) @mmetc
  • gin middleware: drop closures (#4186) @mmetc
  • acquisition/journalctl: test cleanup (#4182) @mmetc
  • cscli hubtest: extract method finalizeRun() (#4181) @mmetc
  • refact cmd/crowdsec: remove globals ParseDump, BucketPourTrack (#4184) @mmetc
  • refact pkg/apiserver: happy path; nil guard (#4180) @mmetc
  • refact pkg/leakybucket: drop closures (#4178) @mmetc
  • cmd/crowdsec: rename pipeline channels (#4175) @mmetc
  • move dir debian, rpm to /build/ (#4174) @mmetc
  • refact cmd/crowdsec: remove globals, lint, etc (#4163) @mmetc
  • lint: modernize - enable slicessort, stringsseq (#4162) @mmetc
  • appsec: inject dependencies, avoid globals (#4148) @mmetc
  • CI: move windows build scripts to ./build/windows (#4145) @mmetc
  • remove obsolete readme (replaced by go generate) (#4164) @mmetc
  • cmd/crowdsec: refact dump.go, loops (#4158) @mmetc
  • cmd/crowdsec: refact output.go, pour.go, parse.go (#4157) @mmetc
  • refact: drop parserTomb, lpMetricsTomb (#4138) @mmetc
  • drop unused method Client.IsMachineRegistered() (#4121) @mmetc
  • CI: build with the tag "nomsgpack" to reduce binary size (#4151) @mmetc
  • move ./docker to ./build/docker (#4130) @mmetc
  • acquisition refact: context-aware OneShot(), for file + journalctl + wineventlog (#4125) @mmetc
  • lint: forbidigo (no print or printf in production, prefer fprint) (#4141) @mmetc
  • CI: avoid using nolint with revive (#4144) @mmetc
  • Lint: add explicit per-linter settings (#4134) @mmetc
  • refact pkg/acquisition: split docker.go (#4065) @mmetc
  • get rid of tombs in leakybucket package (#4127) @sabban
  • refact pkg/acquisition: cloudwatch configuration (#4058) @mmetc
  • refact pkg/acquisition: kinesis configuration (#4059) @mmetc
  • refact pkg/acquisition: k8saudit configuration (#4060) @mmetc
  • refact pkg/acquisition: http configuration (#4061) @mmetc
  • refact heartbeat: context-aware method (#4126) @mmetc
  • pkg/leakybucket refact: unexport, unused, explicit field names (#4123) @mmetc
  • docker build: run builds on large runner (#4120) @blotus

Improvements

  • docker datasource schema (#4206) @mmetc
  • lint: enable bodyclose (ensure response bodies are closed to avoid leaks) (#4200) @mmetc
  • feat: Add ParseKVLax for Flexible Key-Value Parsing (#4007) @LaurenceJJones
  • pkg/parser: avoid calling spew unless trace (#4156) @mmetc
  • leakybucket: reduce error verbosity, test for misconfiguration (#4087) @mmetc
  • feat(appsec): support transaction id header for request tracing (#4124) @LaurenceJJones

Bug Fixes

  • update functional tests with time-based-bf (#4217) @mmetc
  • papi: check if decision is allowlisted before adding it (#4196) @blotus
  • pkg/acquisition: register mock datasource for YAML tests (#4205) @mmetc
  • pkg/acquisition: prevent duplicate send in case of transform error (#4191) @mmetc
  • CI fix - exit lapi during hub tests; pass container struct reference instead of slice (#4202) @mmetc
  • CAPI: always reuse the stored token (#4201) @blotus
  • fix #4066: don't prepare the hub in lapi-only containers (#4169) @mmetc
  • fix #3991 - Acquisition config formatting in bug template (#4170) @mmetc
  • fix typos in function name, comments and user-facing docs (#4154) @mmetc
  • refact appsec tests: prevent data race (#3902) @mmetc
  • fix build issue on freebsd, add cross platform CI build and lint target (#4109) @mmetc

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.5-rc1

19 Jan 12:51
6e7fc85

Choose a tag to compare

v1.7.5-rc1 Pre-release
Pre-release

Changes

  • replace syscall with unix/windows packages where possible (#3032) @mmetc
  • pkg/acquisition: refact configuration validation and tests (#4187) @mmetc
  • pkg/acquisition: remove/restore mock datasources after usage (#4190) @mmetc
  • pkg/leakybucket: replace global variables with injected StateDumper (#4197) @mmetc
  • pkg/acquisition: method docs, deduplicate module names (#4192) @mmetc
  • errors.Wrapf -> fmt.Errorf, remove dependency on github.com/pkg/errors (#4198) @mmetc
  • update golangci-lint 2.8 (#4194) @mmetc
  • notification plugins: readability / dry refact, unnecessary pointers (#4166) @mmetc
  • refact acquisition/appsec: happy path (#4183) @mmetc
  • pkg/acquisition/registry, move datasource registration to avoid dependency (#4189) @mmetc
  • gin middleware: drop closures (#4186) @mmetc
  • acquisition/journalctl: test cleanup (#4182) @mmetc
  • cscli hubtest: extract method finalizeRun() (#4181) @mmetc
  • refact cmd/crowdsec: remove globals ParseDump, BucketPourTrack (#4184) @mmetc
  • refact pkg/apiserver: happy path; nil guard (#4180) @mmetc
  • refact pkg/leakybucket: drop closures (#4178) @mmetc
  • cmd/crowdsec: rename pipeline channels (#4175) @mmetc
  • move dir debian, rpm to /build/ (#4174) @mmetc
  • refact cmd/crowdsec: remove globals, lint, etc (#4163) @mmetc
  • lint: modernize - enable slicessort, stringsseq (#4162) @mmetc
  • appsec: inject dependencies, avoid globals (#4148) @mmetc
  • CI: move windows build scripts to ./build/windows (#4145) @mmetc
  • remove obsolete readme (replaced by go generate) (#4164) @mmetc
  • cmd/crowdsec: refact dump.go, loops (#4158) @mmetc
  • cmd/crowdsec: refact output.go, pour.go, parse.go (#4157) @mmetc
  • refact: drop parserTomb, lpMetricsTomb (#4138) @mmetc
  • drop unused method Client.IsMachineRegistered() (#4121) @mmetc
  • CI: build with the tag "nomsgpack" to reduce binary size (#4151) @mmetc
  • move ./docker to ./build/docker (#4130) @mmetc
  • acquisition refact: context-aware OneShot(), for file + journalctl + wineventlog (#4125) @mmetc
  • lint: forbidigo (no print or printf in production, prefer fprint) (#4141) @mmetc
  • CI: avoid using nolint with revive (#4144) @mmetc
  • Lint: add explicit per-linter settings (#4134) @mmetc
  • refact pkg/acquisition: split docker.go (#4065) @mmetc
  • get rid of tombs in leakybucket package (#4127) @sabban
  • refact pkg/acquisition: cloudwatch configuration (#4058) @mmetc
  • refact pkg/acquisition: kinesis configuration (#4059) @mmetc
  • refact pkg/acquisition: k8saudit configuration (#4060) @mmetc
  • refact pkg/acquisition: http configuration (#4061) @mmetc
  • refact heartbeat: context-aware method (#4126) @mmetc
  • pkg/leakybucket refact: unexport, unused, explicit field names (#4123) @mmetc
  • docker build: run builds on large runner (#4120) @blotus

Improvements

  • docker datasource schema (#4206) @mmetc
  • lint: enable bodyclose (ensure response bodies are closed to avoid leaks) (#4200) @mmetc
  • feat: Add ParseKVLax for Flexible Key-Value Parsing (#4007) @LaurenceJJones
  • pkg/parser: avoid calling spew unless trace (#4156) @mmetc
  • leakybucket: reduce error verbosity, test for misconfiguration (#4087) @mmetc
  • feat(appsec): support transaction id header for request tracing (#4124) @LaurenceJJones

Bug Fixes

  • papi: check if decision is allowlisted before adding it (#4196) @blotus
  • pkg/acquisition: register mock datasource for YAML tests (#4205) @mmetc
  • pkg/acquisition: prevent duplicate send in case of transform error (#4191) @mmetc
  • CI fix - exit lapi during hub tests; pass container struct reference instead of slice (#4202) @mmetc
  • CAPI: always reuse the stored token (#4201) @blotus
  • fix #4066: don't prepare the hub in lapi-only containers (#4169) @mmetc
  • fix #3991 - Acquisition config formatting in bug template (#4170) @mmetc
  • fix typos in function name, comments and user-facing docs (#4154) @mmetc
  • refact appsec tests: prevent data race (#3902) @mmetc
  • fix build issue on freebsd, add cross platform CI build and lint target (#4109) @mmetc

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.4

04 Dec 13:56
469b374

Choose a tag to compare

Changes

  • docker: remove CROWDSEC_CONTAINER_ENV (#4085) @mmetc
  • refact cscli: define csconfig.Getter once (#4091) @mmetc
  • refact load/save apic token: dependencies and sentinel errors (#4081) @mmetc
  • pkg/csplugin: use backoff package to retry notifications (#3944) @mmetc
  • refact pkg/database batching (#3906) @mmetc
  • refact pkg/acquisition: split appsec.go (#4043) @mmetc
  • refact pkg/acquisition: journalctl configuration (#4057) @mmetc
  • lint revive: lower complexity threshold (#4056) @mmetc
  • lint: unused parameters / 2 (#4055) @mmetc
  • lint: unused parameters (#4049) @mmetc
  • refact pkg/acquisition: split loki.go (#4034) @mmetc
  • refact pkg/acquisition: split victorialogs.go (#4037) @mmetc
  • refact pkg/acquisition: split wineventlog.go (#4036) @mmetc
  • refact pkg/acquisition: split s3.go (#4035) @mmetc
  • refact pkg/acquisition: split k8s_audit.go (#4033) @mmetc
  • refact pkg/acquisition: split kinesis.go (#4032) @mmetc
  • refact pkg/acquisition: split kafka.go (#4031) @mmetc
  • refact pkg/acquisition: split cloudwatch.go (#4029) @mmetc
  • refact pkg/acquisition: split http.go (#4030) @mmetc
  • refactg pkg/acquisition: split file.go (#4038) @mmetc
  • refact pkg/acquisition: split syslog.go (#4028) @mmetc
  • papi: explicit context (#3973) @mmetc
  • pkg/csplugin: remove unused function (#4019) @mmetc
  • pkg/types -> new imports pt 4 (#4012) @mmetc
  • pkg/types -> new imports pt 3 (#4014) @mmetc
  • pkg/types -> new imports pt 2 (#4013) @mmetc
  • pkg/types -> new imports pt 1 (#4011) @mmetc
  • pkg/types -> pkg/{pipeline,fsutil,enrichment,logging...} (#4006) @mmetc
  • CI: enable linter "protogetter" (#3995) @mmetc
  • enable linters: unnecessary-format, unused-receiver (#4001) @mmetc
  • refact: remove unused struct fields and params / 3; enable linter "unused" (#3334) @mmetc

New Features

  • WAF: Add DropRequest helper to block request in hooks (#4016) @blotus

Improvements

  • pkg/acquisition: update syslog to RestartableStreamer (#4040) @mmetc
  • refact logging configuration; add log_media="syslog" (#4045) @mmetc
  • cscli hubtest: better report docker/nuclei errors (#4052) @mmetc
  • build: check make version before running Makefile (#4054) @mmetc
  • pkg/acquisition: refact journalctl datasource and unified retry loop (#4023) @mmetc
  • option api.server.disable_usage_metrics_export (#4021) @mmetc
  • build: optional pure-go sqlite driver (#3908) @mmetc

Bug Fixes

  • LAPI metrics: don't use empty path as label for LAPI hits metrics (#4106) @blotus
  • fix accessLogger setup to separate file (#4103) @mmetc
  • docker acquisition: prevent data races (#3956) @mmetc
  • Fix avoidable prometheus metrics cardinality (#4080) @g00g1
  • loki acquisition: remove forgotten debug print (#4062) @mmetc
  • fix 2808: show certificate path in "lapi status" (#4053) @mmetc
  • decisionStream: only select required fields from the DB (#4024) @blotus

Documentation

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.4-rc2

03 Dec 13:15
df8918b

Choose a tag to compare

v1.7.4-rc2 Pre-release
Pre-release

Changes

  • docker: remove CROWDSEC_CONTAINER_ENV (#4085) @mmetc
  • refact cscli: define csconfig.Getter once (#4091) @mmetc
  • refact load/save apic token: dependencies and sentinel errors (#4081) @mmetc
  • pkg/csplugin: use backoff package to retry notifications (#3944) @mmetc
  • refact pkg/database batching (#3906) @mmetc
  • refact pkg/acquisition: split appsec.go (#4043) @mmetc
  • refact pkg/acquisition: journalctl configuration (#4057) @mmetc
  • lint revive: lower complexity threshold (#4056) @mmetc
  • lint: unused parameters / 2 (#4055) @mmetc
  • lint: unused parameters (#4049) @mmetc
  • refact pkg/acquisition: split loki.go (#4034) @mmetc
  • refact pkg/acquisition: split victorialogs.go (#4037) @mmetc
  • refact pkg/acquisition: split wineventlog.go (#4036) @mmetc
  • refact pkg/acquisition: split s3.go (#4035) @mmetc
  • refact pkg/acquisition: split k8s_audit.go (#4033) @mmetc
  • refact pkg/acquisition: split kinesis.go (#4032) @mmetc
  • refact pkg/acquisition: split kafka.go (#4031) @mmetc
  • refact pkg/acquisition: split cloudwatch.go (#4029) @mmetc
  • refact pkg/acquisition: split http.go (#4030) @mmetc
  • refactg pkg/acquisition: split file.go (#4038) @mmetc
  • refact pkg/acquisition: split syslog.go (#4028) @mmetc
  • papi: explicit context (#3973) @mmetc
  • pkg/csplugin: remove unused function (#4019) @mmetc
  • pkg/types -> new imports pt 4 (#4012) @mmetc
  • pkg/types -> new imports pt 3 (#4014) @mmetc
  • pkg/types -> new imports pt 2 (#4013) @mmetc
  • pkg/types -> new imports pt 1 (#4011) @mmetc
  • pkg/types -> pkg/{pipeline,fsutil,enrichment,logging...} (#4006) @mmetc
  • CI: enable linter "protogetter" (#3995) @mmetc
  • enable linters: unnecessary-format, unused-receiver (#4001) @mmetc
  • refact: remove unused struct fields and params / 3; enable linter "unused" (#3334) @mmetc

New Features

  • WAF: Add DropRequest helper to block request in hooks (#4016) @blotus

Improvements

  • pkg/acquisition: update syslog to RestartableStreamer (#4040) @mmetc
  • refact logging configuration; add log_media="syslog" (#4045) @mmetc
  • cscli hubtest: better report docker/nuclei errors (#4052) @mmetc
  • build: check make version before running Makefile (#4054) @mmetc
  • pkg/acquisition: refact journalctl datasource and unified retry loop (#4023) @mmetc
  • option api.server.disable_usage_metrics_export (#4021) @mmetc
  • build: optional pure-go sqlite driver (#3908) @mmetc

Bug Fixes

  • fix accessLogger setup to separate file (#4103) @mmetc
  • docker acquisition: prevent data races (#3956) @mmetc
  • Fix avoidable prometheus metrics cardinality (#4080) @g00g1
  • loki acquisition: remove forgotten debug print (#4062) @mmetc
  • fix 2808: show certificate path in "lapi status" (#4053) @mmetc
  • decisionStream: only select required fields from the DB (#4024) @blotus

Documentation

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.4-rc1

27 Nov 09:58
65b7465

Choose a tag to compare

v1.7.4-rc1 Pre-release
Pre-release

Changes

  • docker: remove CROWDSEC_CONTAINER_ENV (#4085) @mmetc
  • refact cscli: define csconfig.Getter once (#4091) @mmetc
  • refact load/save apic token: dependencies and sentinel errors (#4081) @mmetc
  • pkg/csplugin: use backoff package to retry notifications (#3944) @mmetc
  • refact pkg/database batching (#3906) @mmetc
  • refact pkg/acquisition: split appsec.go (#4043) @mmetc
  • refact pkg/acquisition: journalctl configuration (#4057) @mmetc
  • lint revive: lower complexity threshold (#4056) @mmetc
  • lint: unused parameters / 2 (#4055) @mmetc
  • lint: unused parameters (#4049) @mmetc
  • refact pkg/acquisition: split loki.go (#4034) @mmetc
  • refact pkg/acquisition: split victorialogs.go (#4037) @mmetc
  • refact pkg/acquisition: split wineventlog.go (#4036) @mmetc
  • refact pkg/acquisition: split s3.go (#4035) @mmetc
  • refact pkg/acquisition: split k8s_audit.go (#4033) @mmetc
  • refact pkg/acquisition: split kinesis.go (#4032) @mmetc
  • refact pkg/acquisition: split kafka.go (#4031) @mmetc
  • refact pkg/acquisition: split cloudwatch.go (#4029) @mmetc
  • refact pkg/acquisition: split http.go (#4030) @mmetc
  • refactg pkg/acquisition: split file.go (#4038) @mmetc
  • refact pkg/acquisition: split syslog.go (#4028) @mmetc
  • papi: explicit context (#3973) @mmetc
  • pkg/csplugin: remove unused function (#4019) @mmetc
  • pkg/types -> new imports pt 4 (#4012) @mmetc
  • pkg/types -> new imports pt 3 (#4014) @mmetc
  • pkg/types -> new imports pt 2 (#4013) @mmetc
  • pkg/types -> new imports pt 1 (#4011) @mmetc
  • pkg/types -> pkg/{pipeline,fsutil,enrichment,logging...} (#4006) @mmetc
  • CI: enable linter "protogetter" (#3995) @mmetc
  • enable linters: unnecessary-format, unused-receiver (#4001) @mmetc
  • refact: remove unused struct fields and params / 3; enable linter "unused" (#3334) @mmetc

New Features

  • WAF: Add DropRequest helper to block request in hooks (#4016) @blotus

Improvements

  • pkg/acquisition: update syslog to RestartableStreamer (#4040) @mmetc
  • refact logging configuration; add log_media="syslog" (#4045) @mmetc
  • cscli hubtest: better report docker/nuclei errors (#4052) @mmetc
  • build: check make version before running Makefile (#4054) @mmetc
  • pkg/acquisition: refact journalctl datasource and unified retry loop (#4023) @mmetc
  • option api.server.disable_usage_metrics_export (#4021) @mmetc
  • build: optional pure-go sqlite driver (#3908) @mmetc

Bug Fixes

  • docker acquisition: prevent data races (#3956) @mmetc
  • Fix avoidable prometheus metrics cardinality (#4080) @g00g1
  • loki acquisition: remove forgotten debug print (#4062) @mmetc
  • fix 2808: show certificate path in "lapi status" (#4053) @mmetc
  • decisionStream: only select required fields from the DB (#4024) @blotus

Documentation

Chore / Deps

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.3

24 Oct 10:51

Choose a tag to compare

Changes

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.

v1.7.3-rc2

24 Oct 09:50

Choose a tag to compare

v1.7.3-rc2 Pre-release
Pre-release

Changes

Geolite2 notice

This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.

Installation

Take a look at the installation instructions.