Invalid distinct
expression leads to crash at runtime
#3351
Labels
Milestone
distinct
expression leads to crash at runtime
#3351
What happened?
Creating a scenario with an invalid
distinct
(invalid as in invalidexpr
expression) results to a runtime crash. The crash seems to happen when the bucket is poured/instantiated for the first time.What did you expect to happen?
No crash
How can we reproduce it (as minimally and precisely as possible)?
Having a scenario such as:
(notice the invalid distinct expr)
Leads to a crash at runtime (when event is poured to bucket) :
Trace being:
Anything else we need to know?
N/A
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
On Windows:
C:> Get-Content C:\ProgramData\CrowdSec\config\acquis.yaml
paste output here
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.
The text was updated successfully, but these errors were encountered: