mmetc
1614c8a868
Merge branch 'master' into appsec-handle-chunked-requests
2025-03-10 09:20:37 +01:00
Laurence Jones
bcce4afe5e
enhance: Flags now superceed all log levels ( #3496 )
...
* enhance: Flags now superceed all log levels
* enhance: remove global var for local scope
* test
---------
Co-authored-by: marco <marco@crowdsec.net>
2025-03-07 13:42:08 +00:00
Thibault "bui" Koechlin
8cb878b469
Merge branch 'master' into appsec-handle-chunked-requests
2025-03-07 14:35:45 +01:00
mmetc
12a3c70860
lint: gocritic/httpNoBody ( #3493 )
...
* lint: gocritic/httpNoBody
2025-03-07 14:35:25 +01:00
blotus
a203d8ebbf
appsec: handle SendAlert() properly for out of band matches ( #3497 )
2025-03-05 16:04:16 +01:00
mmetc
b12ade27f4
cscli: review/update argument number checking ( #3490 )
...
* cscsli: remove unused Command.Args setting
* cscli: review/update argument number checking
cscli will consistently print the help text if the number of arguments is
wrong for the command, but not for other types of errors.
* fix func tests
* lint
2025-03-04 12:21:27 +01:00
Thibault "bui" Koechlin
f49e1e28d2
move ParseQuery to expr helpers, add ExtractQueryParam ( #3491 )
...
* move ParseQuery to expr helpers, add ExtractQueryParam
2025-03-04 10:41:11 +01:00
Thibault "bui" Koechlin
61c7de1331
enable/disable options for console enroll - make alert context a default ( #3487 )
...
* enable/disable options for console enroll - make alert context a default
* extract method and refact
---------
Co-authored-by: marco <marco@crowdsec.net>
2025-03-03 16:09:09 +01:00
mmetc
02d4793657
tests: remove modeline ( #3486 )
2025-02-28 15:24:13 +01:00
Laurence Jones
970954f2c0
enhance: add option to disable magic syslog RFC parsers ( #3435 )
2025-02-28 15:20:17 +01:00
Sebastien Blot
7bdeeae344
lint
2025-02-28 13:14:46 +01:00
blotus
c5f5896625
crowdsec: allow -t to work if using appsec and allowlists ( #3484 )
2025-02-27 14:26:38 +01:00
mmetc
0bdb1f7f27
cron: avoid spamming stdout when the hub index is updated ( #3485 )
2025-02-27 10:19:43 +00:00
mmetc
c161eb270b
pkg/cwhub: refact Item.State.(Downloaded | Installed) ( #3476 )
2025-02-25 10:09:29 +01:00
blotus
ce5b4b435b
add JA4H expr helper ( #3401 )
2025-02-24 15:20:33 +01:00
mmetc
a3187d6f2c
refact: context propagation (apiclient, cticlient...) ( #3477 )
2025-02-21 13:23:39 +01:00
mmetc
8da6a4dc92
CI: use go 1.24 for windows ( #3479 )
2025-02-21 12:55:02 +01:00
mmetc
105801d1f9
cscli: allow non-local symlinks to have a different name than hub items ( #3475 )
2025-02-21 12:44:30 +01:00
mmetc
073e4c11d5
Merge branch 'master' into appsec-handle-chunked-requests
2025-02-21 10:53:55 +01:00
mmetc
2b70dbf3e5
cscli hub/items: always show action plan; fix --interactive in pipes ( #3451 )
2025-02-21 00:17:01 +01:00
mmetc
45624c6fe5
tests: switch context.Background() -> t.Context() from go 1.24 ( #3473 )
2025-02-21 00:09:11 +01:00
mmetc
19eb278104
update dependencies: color, go-sqlite3, tail, slack, testify ( #3474 )
2025-02-20 21:35:57 +01:00
blotus
16d0677938
Add support for centralized allowlists ( #3355 )
2025-02-19 15:04:47 +01:00
mmetc
8a10e2c61d
refact: avoid use of defer calls in loops ( #3466 )
...
* refact apic.Send()
* refact Papi.SendDeletedDecisions()
* refact MetricsProvider.Run()
* refact PluginBroker.pushNotificationsToPlugin()
* refact leakybucket.LoadBuckets()
2025-02-19 14:50:38 +01:00
mmetc
c4ff4228be
use go 1.24, enable unencrypted http2 ( #3470 )
2025-02-19 14:05:17 +01:00
mmetc
efbb42bf9e
deps: use ent 0.14.2 ( #3259 )
2025-02-18 17:08:58 +01:00
mmetc
7c1d038645
leaky bucket: reduce log verbosity ( #3472 )
2025-02-18 15:52:51 +01:00
mmetc
b3da6e03ff
CI: lint docker tests ( #3443 )
2025-02-17 11:04:26 +01:00
mmetc
5136d928ed
lint: gocritic/typeDefFirst (ensure type definitions come before methods) ( #3404 )
...
* lint: gocritic/typeDefFirst (ensure type definitions come before methods)
* lint
2025-02-17 10:55:18 +01:00
dependabot[bot]
6f737a71f1
build(deps): bump github.com/golang/glog from 1.2.2 to 1.2.4 ( #3431 )
...
Bumps [github.com/golang/glog](https://github.com/golang/glog ) from 1.2.2 to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases )
- [Commits](https://github.com/golang/glog/compare/v1.2.2...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/golang/glog
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 10:40:46 +01:00
mmetc
a73bed902b
file acquisition: remove redundant logging info ( #3468 )
...
* file acquisition: remove redundant logging info
* lint
2025-02-17 10:32:15 +01:00
mmetc
ae9da48d03
deps: update gin-jwt ( #3430 )
2025-02-17 10:16:09 +01:00
mmetc
b7d0ccc95a
CI: skip unit tests with dynamic build ( #3461 )
2025-02-10 13:32:41 +01:00
mmetc
c5e0003b59
silence "cscli hub update" if noop in cron jobs ( #3460 )
2025-02-10 11:24:59 +01:00
mmetc
9f2d642512
cscli: don't attempt to download data files when url="" ( #3454 )
2025-02-08 23:47:57 +01:00
mmetc
037bac86ad
wizard.sh: remove obsolete --yes option ( #3450 )
2025-02-07 12:14:13 +01:00
mmetc
a9cc23e446
cscli: exclude removed commands from generated docs ( #3449 )
2025-02-07 10:52:14 +01:00
mmetc
a001e1d760
cscli: replace '--yes' option with '--interactive' ( #3448 )
2025-02-06 11:43:29 +01:00
mmetc
bf0a1cc470
cscli: when prompting, use default in case of EOF instead of going for "no" ( #3447 )
2025-02-05 16:51:34 +01:00
mmetc
362d5dc068
CI: use alpine 3.21 for docker build ( #3445 )
2025-02-05 16:50:14 +01:00
mmetc
dc28ae58dc
run 'hub upgrade' in rpm/deb postinst, improve hub message ( #3440 )
2025-02-04 16:51:02 +01:00
mmetc
bfed861ba7
don't ask user to reload systemd service when running in docker ( #3434 )
...
* don't ask user to reload systemd service when running in docker
* refactor + give appropriate message if terminal is attached
* remove explicit filetype
2025-01-31 10:15:28 +00:00
blotus
763959fb68
ignore zero value variables for context ( #3436 )
2025-01-31 10:12:19 +01:00
mmetc
6827f065fa
bucket: avoid crashing on malformed expression ( fix #3351 ) ( #3368 )
2025-01-30 19:19:57 +01:00
Gilbert Gilb's
5260cf16cc
fix parsing of noncompliant RFC3339 timestamps missing only a timezone ( #3346 )
2025-01-30 17:14:06 +01:00
Zakhar Bessarab
172d6c6dc6
acquisition/victorialogs: add new datasource ( #3310 )
...
* acquisition/victorialogs: add new datasource
Data source supports:
- cat mode with automatic adjustment of poll interval (same as one at Loki datasource)
- tail mode by using tailing API
2025-01-29 16:59:03 +01:00
mmetc
5178a919c8
CI: setup go from version in go.mod ( #3432 )
...
this should fix a caching issue with github
2025-01-29 14:10:49 +01:00
mmetc
51f762c6db
CI: package docker tests with uv ( #3429 )
2025-01-29 10:16:29 +01:00
Laurence Jones
5a37161df2
fix: use CreatedAt instead of StartAt ( #3427 )
...
* fix: use CreatedAt instead of StartAt
fix : #3321
* not a ptr
2025-01-27 12:05:26 +00:00
blotus
b2bcf31ed7
use the actual bucket name when checking for simulation mode ( #3416 )
2025-01-27 11:45:39 +00:00