mmetc
76ea87c6ba
refact whitelist/allowlist: net.IP to net/netip ( #3683 )
v1.7.0-rc1
2025-07-30 14:03:16 +02:00
dependabot[bot]
02b2793602
build(deps): bump github.com/r3labs/diff/v2 from 2.14.1 to 2.15.1 ( #3721 )
...
Bumps [github.com/r3labs/diff/v2](https://github.com/r3labs/diff ) from 2.14.1 to 2.15.1.
- [Commits](https://github.com/r3labs/diff/compare/v2.14.1...v2.15.1 )
---
updated-dependencies:
- dependency-name: github.com/r3labs/diff/v2
dependency-version: 2.15.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 13:56:04 +02:00
dependabot[bot]
2c3129097f
build(deps): bump google.golang.org/grpc from 1.67.1 to 1.74.2 ( #3750 )
...
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.74.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 13:08:19 +02:00
dependabot[bot]
d9853f569f
build(deps): bump github.com/go-openapi/validate from 0.20.0 to 0.24.0 ( #3719 )
2025-07-30 12:46:28 +02:00
Laurence Jones
3f3efc6514
enhance: Add 2 time helpers for average and median ( #3748 )
...
* enhance: Add averagetime function which allows to compute averagetime span
* enhance: lint
* enhance: Add median function and act on @mmetc feedback
* enhance: NIT on tests
* enhance: switch to []time.Time instead and handle using expr map which returns interfaces
* enhance: Add a bunch of test cases
* enhance: Rename *duration to *interval
2025-07-30 11:31:54 +01:00
dependabot[bot]
aff3649516
build(deps): bump github.com/sanity-io/litter from 1.5.5 to 1.5.8 ( #3720 )
2025-07-30 12:28:51 +02:00
dependabot[bot]
7636f1b712
build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 ( #3749 )
2025-07-30 12:23:37 +02:00
dependabot[bot]
6475d5c79b
build(deps): bump astral-sh/setup-uv from 6.4.1 to 6.4.3 ( #3753 )
2025-07-30 12:23:07 +02:00
blotus
c820371b4a
appsec: properly set URI in the original request object for use in hooks ( #3755 )
2025-07-30 09:51:04 +02:00
dependabot[bot]
434ea637ea
build(deps): bump github/codeql-action from 3.29.2 to 3.29.4 ( #3751 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.2 to 3.29.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/181d5eefc20863364f96762470ba6f862bdef56b...4e828ff8d448a8a6e532957b1811f387a63867e8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 09:48:09 +02:00
blotus
94e2a2afcb
usage metrics: report acquisition + parsers metrics to LAPI ( #3709 )
2025-07-28 10:16:58 +02:00
mmetc
cf981319d9
improve datasource validation (goccy/go-yaml) ( #3646 )
2025-07-24 11:18:35 +02:00
dependabot[bot]
4411d82089
build(deps): bump golang.org/x/mod from 0.25.0 to 0.26.0 ( #3746 )
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/mod/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.26.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-23 16:19:10 +02:00
mmetc
1df4c24014
refact: pkg/database decisions filter, queries ( #3635 )
...
* refact pkg/database: rename query methods
* refact pkg/database: extract decisionfilter.go
* refact pkg/database: rename filters -> filter
* handle error with since==nil
* lint
2025-07-23 12:39:18 +02:00
mmetc
d64ee2aea4
update lint configuration ( #3667 )
...
* lint: exhaustive
* lint: nonamedreturns
* update golangci-lint
* lint
v1.6.11
2025-07-22 13:15:17 +02:00
mmetc
43a72e210a
context.Background() -> t.Context() ( #3739 )
2025-07-22 12:42:00 +02:00
Laurence Jones
1d89310e02
fix: normalize scope within range to ensure allowlist check ( #3735 )
2025-07-22 10:39:22 +02:00
dependabot[bot]
c61fa156cb
build(deps): bump golang.org/x/text from 0.26.0 to 0.27.0 ( #3741 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 10:37:22 +02:00
dependabot[bot] and mmetc
c7ff9211f0
build(deps): bump astral-sh/setup-uv from 6.3.1 to 6.4.1 ( #3737 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 6.3.1 to 6.4.1.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/bd01e18f51369d5a26f1651c3cb451d3417e3bba...7edac99f961f18b581bbd960d59d049f04c0002f )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 6.4.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmetc <[email protected] >
2025-07-21 15:17:58 +02:00
dependabot[bot]
24a43fce6d
build(deps): bump github.com/blackfireio/osinfo from 1.0.5 to 1.1.0 ( #3718 )
...
Bumps [github.com/blackfireio/osinfo](https://github.com/blackfireio/osinfo ) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/blackfireio/osinfo/releases )
- [Commits](https://github.com/blackfireio/osinfo/compare/v1.0.5...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/blackfireio/osinfo
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 14:19:48 +02:00
dependabot[bot]
77ddac6039
build(deps): bump github.com/crowdsecurity/dlog ( #3717 )
...
Bumps [github.com/crowdsecurity/dlog](https://github.com/crowdsecurity/dlog ) from 0.0.0-20170105205344-4fb5f8204f26 to 0.0.2.
- [Commits](https://github.com/crowdsecurity/dlog/commits/v0.0.2 )
---
updated-dependencies:
- dependency-name: github.com/crowdsecurity/dlog
dependency-version: 0.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 14:18:50 +02:00
mmetc
95a8b4750e
cscli: don't assume master hub branch if version check fails (after retrying) ( #3732 )
...
* cscli: don't assume master hub branch if version check fails (after retrying)
* lint
2025-07-18 15:15:12 +02:00
blotus
136be311c7
windows: fix service getting stuck on shutdown ( #3733 )
2025-07-15 17:12:30 +02:00
blotus
2046376413
docker: document console options ( #3724 )
2025-07-10 17:32:54 +02:00
Laurence Jones
798707693c
cscli: Add allowlist check ( #3684 )
v1.6.10-rc1
v1.6.10
2025-07-09 13:49:27 +02:00
mmetc
12d2e32285
refact pkg/acquisition: extract loop method ( #3615 )
...
* refact pkg/acquisition: extract loop method
* lint
2025-07-09 10:38:49 +02:00
mmetc
0490986924
pkg/csplugin: constructors for PluginConfig, PluginConfigList ( #3640 )
2025-07-09 10:32:09 +02:00
Dmitrii Kustov
1cbb88b046
docker: Flags for console features ( #3457 )
2025-07-09 10:22:19 +02:00
blotus
b01e30e995
dependabot: set kind/dependencies label ( #3722 )
2025-07-08 21:38:19 +02:00
mmetc
04ed469cfb
CI: update action deps ( #3692 )
...
* CI: update action deps
* gitignore
* CI: pin actions to commits
* CI: dependabot.yml
* windows-latest
2025-07-08 20:58:08 +02:00
blotus
b0f2ca0583
S3 datasource: add support for SNS format ( #3716 )
2025-07-08 17:58:23 +02:00
mmetc
4528ed63a8
refact: migrate net.IP -> net/netip: part 1 ( #3680 )
2025-07-08 16:09:31 +02:00
mmetc
854e7276a4
use github.com/cenkalti/backoff/v5 for apiclient backoff ( #3662 )
...
* cscli: handle sigint/sigterm, cancel context of ongoing http req
* use github.com/cenkalti/backoff/v5 for apiclient backoff
* unexport method
* lint
* comment
2025-07-08 16:02:08 +02:00
blotus
e542890013
Fix infinite loop in decisions list for some values of limit ( #3695 )
2025-07-08 15:01:31 +02:00
mmetc
27d0992a40
update golangci-lint v2.2 and config ( #3713 )
2025-07-08 14:58:37 +02:00
Laurence Jones
fba9a8330c
fix: Reset datafiles before loading the hub on HUP ( #3712 )
2025-07-08 13:54:27 +01:00
mmetc
ab7ca0564f
refact: replace iplib with net/netip ( #3642 )
...
* refact: replace iplib with net/netip
* lint
2025-07-04 17:06:57 +02:00
blotus
822d1895bb
HTTP datasource: allow GET/HEAD request for checking if the datasource is working ( #3710 )
2025-06-30 19:02:09 +02:00
mmetc
25726b0b7f
update hashicorp/go-plugin ( #3694 )
2025-06-28 00:35:50 +02:00
mmetc
07dfcbd2a2
use go 1.24.4 ( #3674 )
2025-06-27 15:13:13 +02:00
mmetc
958f9a7d76
update github.com/jedib0t/go-pretty/ ( #3705 )
2025-06-27 15:09:18 +02:00
mmetc
68ce9f1e76
cscli help typos ( #3707 )
2025-06-27 15:03:07 +02:00
Laurence Jones
3f33cade47
fix: allowlist use content created at instead of list itself ( #3703 )
...
* fix: allowlist use content created at instead of list itself
* fix: copy pasta error
2025-06-25 09:11:49 +01:00
mmetc
38510ac577
move cti expr helper to pkg/cticlient ( #3696 )
...
* move cti expr helper to pkg/cticlient
* move cti expr helper to pkg/cticlient/ctiexpr
thus removing the extra dependency on pkg/database which made the plugin binaries double in size from 1.6.3 to 1.6.4
2025-06-20 22:06:44 +02:00
Laurence Jones
88e3b9b7a0
enhance: appsec reuse httpc optimization ( #3693 )
2025-06-20 15:14:51 +01:00
mmetc
b5d90ff72e
hubtest: resolve relative path for 'cscli', 'crowdsec' ( #3651 )
2025-06-19 17:02:55 +02:00
mmetc
c7b12e93e5
refact csplugin: move ProfileAlert to models ( #3671 )
...
this is a step to make csplugin support optional. next is tomb
management, then add the build tag
2025-06-19 17:01:58 +02:00
mmetc
948e0a0f63
refact cmd/crowdsec: extract functions from runCrowdsec() ( #3669 )
2025-06-19 17:01:24 +02:00
mmetc
e35c44e6bf
cscli capi register: no error if online_api_credentials.yaml does not exist ( #3645 )
2025-06-19 17:01:04 +02:00
mmetc
8a49fcf380
refact cmd/crowdsec: move plugin initialization to apiserver ( #3668 )
2025-06-19 16:45:23 +02:00