mmetc
d34fb7e8a8
log processor: share apiclient in output goroutines ( #2836 )
2024-02-13 14:22:19 +01:00
mmetc
4561eb787b
bats: color formatter in CI ( #2838 )
2024-02-12 20:15:16 +01:00
mmetc
a6a4d460d7
refact "cscli console" ( #2834 )
2024-02-12 11:45:58 +01:00
mmetc
eada3739e6
refact "cscli notifications" ( #2833 )
2024-02-12 11:40:59 +01:00
blotus
bdecf38616
update codeql action to v3 ( #2822 )
2024-02-12 11:33:44 +01:00
mmetc
5c83695177
refact "cscli explain" ( #2835 )
2024-02-12 11:23:17 +01:00
mmetc
2853410576
refact "cscli alerts" ( #2827 )
2024-02-09 17:51:29 +01:00
mmetc
58a1d7164f
refact "cscli lapi" ( #2825 )
2024-02-09 17:39:50 +01:00
blotus
332af5dd8d
appsec: split return code for bouncer and user ( #2821 )
2024-02-09 14:39:34 +01:00
Laurence Jones
fa56d35a48
[Loki] Set headers/basic auth if set for queryRange ( #2815 )
2024-02-09 14:37:49 +01:00
mmetc
df159b0167
update calls to deprecated x509 methods ( #2824 )
2024-02-09 13:55:24 +01:00
mmetc
af1df0696b
refact cscli metric processing ( #2816 )
...
* typos
* refact cscli metric processing
* lint
2024-02-07 11:10:25 +01:00
Thibault "bui" Koechlin
3208a40ef3
Dedicated whitelist metrics ( #2813 )
...
* add proper whitelist metrics : both its own table and an extension to acquis metrics to track discarded/whitelisted lines
2024-02-06 18:04:17 +01:00
mmetc
4e724f6c0a
refact "cscli" root cmd ( #2811 )
...
* refact "cscli" root cmd
* lint (naming, imports, whitespace)
2024-02-06 10:50:28 +01:00
mmetc
fdc525164a
refact "cscli metrics" part 3 ( #2807 )
2024-02-06 10:07:05 +01:00
mmetc
81acad0d66
refact "cscli metrics" part 2 ( #2806 )
2024-02-02 10:40:55 +01:00
mmetc
5ff8a03195
refact "cscli metrics" par 1 ( #2805 )
2024-02-02 09:45:03 +01:00
mmetc
4160bb8102
refact "cscli decisions" ( #2804 )
...
* refact "cscli decisions"
* CI: relax mysql test timing
* lint
2024-02-01 22:36:21 +01:00
mmetc
f5fbe4a200
refact "cscli dashboard" ( #2803 )
2024-02-01 17:27:15 +01:00
mmetc
45c669fb65
refact "cscli papi" ( #2802 )
2024-02-01 17:27:00 +01:00
mmetc
825c08aa9d
refact "cscli simulation" ( #2801 )
2024-02-01 17:26:46 +01:00
mmetc
af14f1085f
refact "cscli <itemtype>" ( #2782 )
2024-02-01 17:26:06 +01:00
mmetc
e6f5d157b8
refact "cscli hub" ( #2800 )
2024-02-01 17:25:29 +01:00
mmetc
785fce4dc7
refact "cscli alerts" ( #2778 )
2024-02-01 17:24:00 +01:00
mmetc
17db4cb970
refact "cscli machines" ( #2777 )
2024-02-01 17:22:52 +01:00
mmetc
4192af30d5
refact "cscli bouncers" ( #2776 )
2024-01-31 12:40:41 +01:00
mmetc
3921c3f480
CI: rename workflows, improve docker build and tests ( #2798 )
2024-01-31 12:07:27 +01:00
mmetc
6507e8f4cd
cscli: don't print use_wal warning ( #2794 )
2024-01-30 11:07:53 +01:00
mmetc
66544baa7f
CI: workflow improvements ( #2792 )
...
- update deprecated action dependencies
- remove go version matrix (track stable version)
- optimize docker builds
- comments, renamed workflow
2024-01-30 10:20:25 +01:00
mmetc
311dfdee1f
Decouple docker image from package release ( #2791 )
...
- entry point fixes for 1.6.0
- correctly override BUILD_VERSION argument
- manual release workflow
2024-01-29 22:05:26 +01:00
mmetc
91b0fce955
option to override hub url template. for testers only. ( #2785 )
2024-01-25 12:53:20 +01:00
mmetc
532e97e00f
disable docker flavor test ( #2783 )
2024-01-25 09:58:48 +01:00
mmetc
d7116a4a6f
disable docker flavor test ( #2781 )
2024-01-25 00:03:56 +01:00
Laurence Jones
2fb6f209aa
Update docker_start.sh ( #2780 )
...
* Update docker_start.sh
* disable 'set -e' in docker entrypoint
---------
Co-authored-by: marco <marco@crowdsec.net>
2024-01-24 22:51:33 +00:00
Manuel Sabban
3f9e8e81e6
fix some bats tests ( #2775 )
2024-01-24 19:51:55 +01:00
mmetc
8c75efdb2a
lint: disallow naked returns ( #2771 )
2024-01-24 17:31:34 +01:00
mmetc
f75cdeb239
lint: enalble linter "wastedassign" ( #2772 )
2024-01-24 17:31:11 +01:00
mmetc
4b8e6cd780
appsec: avoid nil dereference ( #2773 )
2024-01-23 09:32:41 +01:00
blotus
84606eb207
Appsec hooks fixes ( #2769 )
2024-01-22 13:33:20 +01:00
mmetc
dc698ecea8
log "loading papi client" only if papi is enabled ( #2762 )
2024-01-22 13:25:36 +01:00
mmetc
455acf7c90
lapi/papi: when receiving alerts, log and discard invalid addr/range ( #2708 )
...
https://github.com/crowdsecurity/crowdsec/issues/2687
2024-01-22 12:24:26 +01:00
Thibault "bui" Koechlin
19d36c0fb2
Support console options
in console enroll
( #2760 )
...
* make dev.yaml has a valid/default console path
* simplify and make more consistent help message about console opts
* allow enroll to specify options to enable
* allow 'all' shortcut for --enable
2024-01-19 15:49:00 +01:00
mmetc
ce32fc019e
func tests improvements ( #2759 )
...
* faster reload test
* decode-jwt script
* replace 'netcat' requirement with python script
* fix lapi status test
2024-01-19 13:55:28 +01:00
mmetc
6ffb68322f
pkg/hubtest: split hubtest_item.go ( #2753 )
...
* split hubtest_item.go, update linter config
* extract loops to methods
* split installParser
* split installScenario
* split installPostoverflow
* split installAppsecRule
* generalize method installHubItems()
2024-01-18 11:09:14 +01:00
mmetc
fa8d5b6992
post-install: reduce verbosity ( #2751 )
...
* post install: avoid message "no such file or directory" when looking for logs
* post install: avoid info and warning messages when registering to capi
* lint (backtick)
2024-01-18 09:20:52 +01:00
mmetc
5d0d5ac9c9
CI: enable code complexity linters ( #2752 )
2024-01-17 21:57:45 +01:00
mmetc
d760b401e6
apiclient: split auth_key, auth_retry, auth_jwt ( #2743 )
2024-01-17 15:08:41 +01:00
Laurence Jones
4df4e5b3bf
[parser/scenarios] defer yaml file closure ( #2689 )
...
* Defer close the fd's
* Convert fatals into return with errors
2024-01-17 12:09:01 +01:00
AlteredCoder
70e8377c0d
Fix appsec evt send order ( #2749 )
2024-01-17 11:59:31 +01:00
Thibault "bui" Koechlin
685cda545b
fix the reload process for appsec ( #2750 )
2024-01-17 11:54:44 +01:00