Skip to content

v1.6.3-rc4

Pre-release
Pre-release
Compare
Choose a tag to compare
@sabban sabban released this 19 Aug 12:06
534fb14

Changes

  • reduce log verbosity, minor CI fixes, lint (#3157) @mmetc
  • docker: symlink all data files to the staging area (#3120) @mmetc
  • lint: dockerfiles (#3138) @mmetc
  • refact cscli metrics: fix lines between tables, skip wrapper api (#3137) @mmetc
  • usage metrics: validate maxLength for some elements (#3131) @mmetc
  • remove warning "maxopenconns is 0, default to 100" (#3129) @mmetc
  • revert "db: round created, updated... timestamps to 1 second" (#3127) @mmetc
  • cscli machines/bouncers: dry helper code and move to cscli (#3123) @mmetc
  • func tests: update curl wrapper (#3121) @mmetc
  • update vagrant config for opensuse (#3119) @mmetc
  • make: remove redundant go version check (#3118) @mmetc
  • refact cscli metrics: split stat types to own files (#3107) @mmetc
  • cscli refact: extract metrics to own package (#3106) @mmetc
  • cscli refact: extract table wrapper to own package (#3105) @mmetc
  • db refact: drop column machines.status (#3102) @mmetc
  • lint: replace "github.com/pkg/errors" in apiserver (#3097) @mmetc
  • 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

New Features

Improvements

Bug Fixes

  • hide geoip related warnings (#3179) @blotus
  • add missing ApiKeyAuthorizer to decisions swagger endpoint (#3178) @a-mnich
  • prevent nil deref when loading cti config (#3176) @mmetc
  • metrics: avoid nil deref with inactive bouncers or malformed response (#3170) @mmetc
  • cscli metrics: explicit message "no bouncer metrics found" (#3155) @mmetc
  • cscli/hub: don't return error if some file can't be recognized (#3150) @mmetc
  • docker: make sure the sqlite db is present before changing GID (#3140) @mmetc
  • Store alert remediations status in DB (#3115) @blotus
  • tests: increase delta for flaky float comparison (#3122) @mmetc
  • typos (#3104) @mmetc
  • fix "cscli [machines|bouncers] delete" autocompletion (#3101) @mmetc
  • 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 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.