github crowdsecurity/crowdsec v1.6.5-rc4

pre-release12 hours ago

Changes

  • CI: setup go from version in go.mod (#3432) @mmetc
  • CI: package docker tests with uv (#3429) @mmetc
  • Improve post-installation message (#3407) @blotus
  • deb packaging: prevent installing crowdsec.service twice (#3415) @mmetc
  • deb build: get version with dpkg-parsechangelog -S (#3405) @mmetc
  • cscli: cliconfig - refactor / remove global variables and gratuitous pointer (#3414) @mmetc
  • lint: enable errcheck; add allowlist and explicit checks (#3403) @mmetc
  • lint: gocritic/captLocal (don't capitalize local variables) (#3402) @mmetc
  • remove commands "cscli config backup/restore" (#3158) @mmetc
  • CI: golangci-lint 1.63 (#3396) @mmetc
  • Hubops tests (#3393) @mmetc
  • cscli hub: refact/split files; add some doc/examples (#3394) @mmetc
  • lint: explicit error checks (#3388) @mmetc
  • pkg/cwhub - refact Downloader (#3382) @mmetc
  • lint: replace type assertions and type switch on errors (#3376) @mmetc
  • refactor pkg/leakybucket (#3371) @mmetc
  • refact pkg/database: clean up code and error messages (#3263) @mmetc
  • lint/deep-exit: avoid log.Fatal (#3367) @mmetc
  • loop performance optimizations / 2 (#3364) @mmetc
  • lint/deep-exit: avoid log.Fatal (#3360) @mmetc
  • lint: enable more gocritic checks (#3363) @mmetc
  • acquisition: add some test and warning for wrong source type (#3362) @mmetc
  • support dump: generate pprof files with debug=1 to avoid generating an unusable heap dump (#3361) @blotus
  • lint: style, autofix (#3354) @mmetc
  • update golangci-lint to 1.62 (#3332) @mmetc

New Features

Improvements

  • don't ask user to reload systemd service when running in docker (#3434) @mmetc
  • enhance: Log appsec error on writing response to remediation (#3412) @LaurenceJJones
  • test pkg/exprhelpers: explicit message if the tag "expr_debug" is missing (#3400) @mmetc
  • log warning if local items have conflicting names (#3399) @mmetc
  • feat(cscli): add env variable flag for dashboard setup (#3110) @quantumsheep
  • expand env var when loading acquis (#3375) @blotus
  • cscli: restyle table titles; autocomplete "cscli metrics show" (#3391) @mmetc
  • enhancement: Hubtest respect patterndir option set via config.yaml (#3386) @LaurenceJJones
  • enhancement: add logdata to appsec AccumlateTxToEvent (#3383) @LaurenceJJones
  • cscli: improved hub management (#3352) @mmetc
  • cscli: display expired decisions' expiration time in red (#3357) @mmetc
  • loop performance optimizations / 1 (#3313) @mmetc

Bug Fixes

  • ignore zero value variables for context (#3436) @blotus
  • bucket: avoid crashing on malformed expression (fix #3351) (#3368) @mmetc
  • fix parsing of noncompliant RFC3339 timestamps missing only a timezone (#3346) @gilbsgilbs
  • fix: use CreatedAt instead of StartAt (#3427) @LaurenceJJones
  • use the actual bucket name when checking for simulation mode (#3416) @blotus
  • appsec: do not attempt to deduplicate native modsec rules (#3347) @buixor
  • Removed updating of machine last_heartbeat based on baseMetrics in MachineUpdateBaseMetrics (#3425) @srkoster
  • cscli hub: handle freebsd pre-release version numbers (#3423) @mmetc
  • wizard: install systemd service file (#3418) @mmetc
  • pkg/cticlient: Add missing field in SmokeItem and FireItem (#3413) @AlteredCoder
  • fix: Bucket pour log error with message (#3378) @LaurenceJJones
  • gin: do not use gin context after returning response (#3398) @blotus
  • wizard: unattended install w/ new hubops (#3392) @mmetc
  • cscli: print errors in plain text with -o json (#2973) @mmetc
  • sigmahq: fix functional test (#3359) @mmetc
  • appsec: missing err check when initializing out-of-band engine (#3344) @blotus

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.

Don't miss a new crowdsec release

NewReleases is sending notifications on new releases.