crowdsecurity / crowdsec

CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
https://crowdsec.net
MIT License
9.08k stars 470 forks source link

[1.6.4] Alert Context map[] if using AppSec collection #3340

Open LaurenceJJones opened 1 day ago

LaurenceJJones commented 1 day ago

We have found that if you are currently using the AppSec collection and a scenario triggers, the context will get flooded with map[] for properties that should be empty.

We are investigating from CrowdSec side what is happening here, however, from the console side we are working to flush any contexts that are map[] as this is not real data and should be removed.

github-actions[bot] commented 1 day ago

@LaurenceJJones: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details I am a bot created to help the [crowdsecurity](https://github.com/crowdsecurity) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/crowdsecurity/crowdsec/blob/master/.github/governance.yml) 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](https://github.com/BirthdayResearch/oss-governance-bot) repository.
github-actions[bot] commented 1 day ago

@LaurenceJJones: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

Details I am a bot created to help the [crowdsecurity](https://github.com/crowdsecurity) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/crowdsecurity/crowdsec/blob/master/.github/governance.yml) 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](https://github.com/BirthdayResearch/oss-governance-bot) repository.
LaurenceJJones commented 1 day ago

Update: we have merged a fix to the context file itself, please run:

cscli hub update && cscli hub upgrade

To download the latest context file, and then run systemctl restart crowdsec to ensure the context is reloaded before adding a comment to this discussion.