Skip to content

v1.6.3-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@sabban sabban released this 26 Jun 13:37
206211c

Changes

  • lint: import statement order (#3085) @mmetc
  • lint: replace gocognit with revive (#3094) @mmetc
  • lint: github.com/pkg/errors -> errors (#3091) @mmetc
  • lint (intrange) (#2970) @mmetc
  • lint (copyloopvar) (#2971) @mmetc
  • refactor: prefer logrus.WithField over WithFields with a single param (#3087) @mmetc
  • enable linter: revive (superfluous-else) (#3082) @mmetc
  • cscli: refactor hubtests / extract methods run(), coverage() (#3086) @mmetc
  • lint: disable redundant linters, update revive configuration and code metrics (#3081) @mmetc
  • refactor pkg/parser: extract processGrok (#3080) @mmetc
  • cscli: refactor "cscli setup" to avoid global variable (#3075) @mmetc
  • refactor context (cscli, pkg/database) (#3071) @mmetc
  • enable linter: revive (deep-exit) (#3077) @mmetc
  • enable linter: revive (var-declaration) (#3069) @mmetc
  • enable linter: revive (indent-error-flow) (#3068) @mmetc
  • lint: replace cyclop, gocyclo with revive; basic pkg/hubtest helper (#3065) @mmetc
  • pkg/cwhub: use explicit context for item install, upgrade (#3067) @mmetc
  • pkg/cwhub: use explicit context for version check, index update (#3064) @mmetc
  • enable linter: revive (early-return) (#3051) @mmetc
  • add: missing go reference badge (#3066) @mazzma12
  • lint revive(deep-exit): refactor cmd/crowdsec (#3063) @mmetc
  • enable linter: revive (blank-imports) (#3062) @mmetc
  • cscli: use cmp.Or from go 1.22 (#3058) @mmetc
  • enable linter "stylecheck" (#3060) @mmetc
  • refactor "cscli decisions" (#3061) @mmetc
  • refactor pkg/database, pkg/models (#3022) @mmetc
  • lint: enable revive/if-return, revive/error-strings (#3057) @mmetc
  • tests: log.Fatal -> return err (#3056) @mmetc
  • fix tests in 01_crowdsec.bats for packages (#3054) @sabban
  • CI/bats: test remediation api via socket (#3052) @mmetc
  • pkg/database: refactor & rename "soft delete" to "expire" (#3025) @mmetc
  • lint: revive/useless-break (#3050) @mmetc
  • enable linter: revive(bool-literal-in-expr) (#2983) @mmetc
  • cscli: log.Fatal -> return err (#3049) @mmetc
  • cscli: refactor alerts/console/decisions/setup (#3003) @mmetc
  • CI/lint: enable some "revive" rules (#3041) @mmetc
  • pkg/dumps.DumpTree: split to reduce complexity (#3001) @mmetc
  • pkg/database: simplify flush agents/bouncers (#3026) @mmetc

Improvements

  • improved tls middleware revocation checks (#3034) @mmetc
  • config: expand env variables in local_api_credentials.yaml and .yaml.local (#3093) @mmetc
  • enhancement: add deprecation notice to cscli dashboard prerun (#3079) @LaurenceJJones
  • enhancement: add other log levels to docker start script (#3072) @LaurenceJJones
  • db,lapi: round durations and timestamps to 1 second (#3015) @mmetc
  • update vagrant image for fc39, fc40 and ubuntu24.04 (#3042) @sabban
  • db: mark immutable columns / remove unused (#3024) @mmetc

Bug Fixes

  • db: don't set machine heartbeat until first connection (#3019) @mmetc
  • db: don't set bouncer last_pull until first connection (#3020) @mmetc
  • Typos (#3084) @mmetc
  • cscli: fixed some inconsistency in returning errors (#3076) @mmetc
  • cscli: fix deprecation message for "context delete" (#3078) @mmetc
  • fix test 01_cscli by avoiding discrepancies in cscli explain (#3059) @sabban
  • add a decently new version of python for centos 7 and 8 for testing (#3053) @sabban

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.