make `cscli hubtest` support whitelists (s02-enrich and postoverflows)
What would you like to be added?
Current cscli hubtests supports parsers and scenarios, but not whitelists.
Why is this needed?
Those are becoming more and more common with nextcloud and such. Being able to test those is becoming important :)
@buixor: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
- Check Crowdsec Documentation to see if your issue can be self resolved.
- You can also join our Discord.
- Check Releases to make sure your agent is on the latest version.
Details
I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.
@buixor: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.
/kind feature/kind enhancement/kind bug/kind packaging
Details
I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.
Link to #2479
Update: This PR enables s02-enrich. Currently, postoverflows are there but not used or dumped from CrowdSec.
I need to investigate how complex enabling postoverflows is..... my ideal implementation is enabling in explain and hubtest
Link to #2511
Currently we create a copy of the event before processing postoverflow so we cannot add the context within the scenario.assert the above PR changes this and we should add another one to add these whitelist keys to scenario.assert