github crowdsecurity/crowdsec v1.6.6

one day ago

Overview

This release introduces centralized allowlists: you can now manage allowlists directly from LAPI or from the console.
Those allowlists will applied by LAPI to local decisions, appsec rules and blocklists, no need to deploy specific allowlists to each machine.

You can learn more about them in our documentation.

This release also deprecates capi_whitelists_path, and we encourage users to migrate to centralized allowlists as they are more flexible.

This release also introduces various improvements:

New Features

Changes

  • appsec: use CA from client credentials when connecting to LAPI (#3505) @mmetc
  • lint: gocritic/httpNoBody (#3493) @mmetc
  • tests: remove modeline (#3486) @mmetc
  • pkg/cwhub: refact Item.State.(Downloaded | Installed) (#3476) @mmetc
  • refact: context propagation (apiclient, cticlient...) (#3477) @mmetc
  • CI: use go 1.24 for windows (#3479) @mmetc
  • tests: switch context.Background() -> t.Context() from go 1.24 (#3473) @mmetc
  • refact: avoid use of defer calls in loops (#3466) @mmetc
  • CI: lint docker tests (#3443) @mmetc
  • lint: gocritic/typeDefFirst (ensure type definitions come before methods) (#3404) @mmetc
  • file acquisition: remove redundant logging info (#3468) @mmetc
  • CI: skip unit tests with dynamic build (#3461) @mmetc

Improvements

Bug Fixes

  • update appsec test runner (#3518) @mmetc
  • close appsec transactions after processing request (#3515) @blotus
  • opensuse sets OSTYPE to linux (#3514) @blotus
  • do not attempt to set db log level if no db config (#3510) @blotus
  • appsec: less verbose logging for allowlists and headers check (#3498) @blotus
  • enhance: Flags now superceed all log levels (#3496) @LaurenceJJones
  • appsec: handle SendAlert() properly for out of band matches (#3497) @blotus
  • cscli: review/update argument number checking (#3490) @mmetc
  • crowdsec: allow -t to work if using appsec and allowlists (#3484) @blotus
  • cron: avoid spamming stdout when the hub index is updated (#3485) @mmetc
  • cscli: allow non-local symlinks to have a different name than hub items (#3475) @mmetc
  • cscli hub/items: always show action plan; fix --interactive in pipes (#3451) @mmetc
  • silence "cscli hub update" if noop in cron jobs (#3460) @mmetc
  • cscli: don't attempt to download data files when url="" (#3454) @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.

Don't miss a new crowdsec release

NewReleases is sending notifications on new releases.