crowdsec/pkg
Laurence Jones b8e6bd8c9a
[Explain] s02 can cause panic if empty (#2486)
* Add parsers length check as it can panic is enrich is empty

* Lets get smarter and loop backwards to find last successful stage

* Shorten code

---------

Co-authored-by: Thibault "bui" Koechlin <thibault@crowdsec.net>
2023-09-29 12:03:56 +01:00
..
acquisition Kafka acquisition: do not create empty events when a read error occurs (#2466) 2023-09-13 13:20:36 +02:00
alertcontext types.InSlice() -> slices.Contains() (#2246) 2023-05-31 12:39:22 +02:00
apiclient change behavior of flag disable_http_retry_backoff (#2426) 2023-08-16 21:04:07 +02:00
apiserver fix include_capi filter (#2478) 2023-09-20 11:56:00 +02:00
cache support for regexps result cache (#2104) 2023-03-08 16:07:49 +01:00
csconfig refactor alert/decisions insert/update to avoid database locking in bulk operations (#2446) 2023-09-04 14:21:45 +02:00
csplugin Add html escape function so it can be invoked from template (#2451) 2023-09-04 09:49:39 +01:00
csprofiles fix a confusing debug message (#2386) 2023-07-28 09:52:21 +02:00
cticlient update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
cwhub golangci-lint: use v1.54, remove unnecessary byte/string conversions (#2438) 2023-08-25 16:22:10 +02:00
cwversion update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
database fix include_capi filter (#2478) 2023-09-20 11:56:00 +02:00
exprhelpers fix the float comparison by using Abs(a,b) < 1e-6 approach (IEEE 754). Move the initializiation of expr helpers (#2492) 2023-09-28 17:22:00 +02:00
fflag golangci-lint: use v1.54, remove unnecessary byte/string conversions (#2438) 2023-08-25 16:22:10 +02:00
hubtest [Explain] s02 can cause panic if empty (#2486) 2023-09-29 12:03:56 +01:00
leakybucket conditional overflow doesn't overflow on capacity (#2412) 2023-08-08 16:12:50 +01:00
longpollclient Add cscli papi status and cscli papi sync (#2091) 2023-03-03 13:46:28 +01:00
metabase update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
models Polling API Integration (#1715) 2023-01-31 14:47:44 +01:00
modelscapi v3 capi and blocklists links support (#2019) 2023-02-06 14:06:14 +01:00
parser Fix PO expr whitelist (#2471) 2023-09-19 12:51:03 +01:00
protobufs Add plugin interface code in protobufs package (#921) 2021-08-31 14:40:17 +02:00
setup cscli setup: accept stdin; fix proftpd detection test and service unmask (#2496) 2023-09-29 12:58:35 +02:00
time Windows Support (#1159) 2022-05-17 12:14:59 +02:00
types fix include_capi filter (#2478) 2023-09-20 11:56:00 +02:00