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
blotus
763959fb68
ignore zero value variables for context ( #3436 )
2025-01-31 10:12:19 +01:00
mmetc
2c95a24f69
loop performance optimizations / 2 ( #3364 )
2024-12-18 16:40:40 +01:00
he2ss
19b70f10be
add HTTP datasource ( #3294 )
2024-11-05 14:15:04 +01:00
Thibault "bui" Koechlin
1616991398
Alert context appsec ( #3288 )
2024-11-04 10:02:55 +01:00
mmetc
08fdfc4fb0
cscli refact: package 'cliconsole' ( #3149 )
...
* cscli refact: package 'cliconsole'
* dry
* lint
* lint
2024-08-20 16:20:40 +02:00
blotus
a3d7900b5f
update expr ( #3144 )
2024-07-22 12:14:46 +02:00
blotus
f3341c1382
Appsec: properly populate event ( #2943 )
2024-05-27 10:15:38 +02:00
mmetc
529d3b2079
minor lint/readability ( #2976 )
...
* simplify a couple loops
* if/else -> switch
* drop redundant else
* comment + drop var declaration + explicit zero return
* lint (whitespace/fmt.Errorf)
2024-05-02 13:42:47 +02:00
mmetc
4acb4f8df3
cwhub: context type ( #2631 )
...
* add hub type "context"
* cscli lapi: log.Fatal -> fmt.Errorf; lint
* tests for context.yaml
* load console context from hub
* original & compiled context
* deprecate "cscli lapi context delete"
$ cscli lapi context delete
Command "delete" is deprecated, please manually edit the context file.
* cscli completion: add appsec-rules, appsec-configs, explain, hubtest
2023-12-07 16:20:13 +01:00
mmetc
61d4ccbfdd
use go 1.21.1 ( #2418 )
...
* use go 1.21.1, require 1.21
* import "slices" from stdlib
* allow codeql to set version number from tags
* codeql: custom WASM build - the automated one can silently fail
2023-10-04 13:01:57 +02:00
mmetc
92a9d6c321
types.InSlice() -> slices.Contains() ( #2246 )
2023-05-31 12:39:22 +02:00
blotus
1095f6c875
use expr.Function for custom functions instead of passing them in the env ( #2133 )
2023-03-28 10:49:01 +02:00
AlteredCoder
185f9ad541
Alert context ( #1895 )
...
Co-authored-by: bui <thibault@crowdsec.net>
2023-01-04 16:50:02 +01:00