Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[appsec / parsers] Add expr helper or event function that can add custom Alert context at runtime #3286

Closed
LaurenceJJones opened this issue Oct 15, 2024 · 4 comments · Fixed by #3288
Labels
area/appsec kind/feature triage/accepted value/high Doing this significantly improves some areas
Milestone

Comments

@LaurenceJJones
Copy link
Contributor

Currently if you want to add Alert context you can only do this from events that generate from a overflown scenario.

However, some alerts get sent without an overflown scenario (AppSec), the idea is to add either an expr or a event level function that adds alert context metadata.

The function will need to check if the key already exists and push to the slice.

@LaurenceJJones LaurenceJJones added this to the 1.6.4 milestone Oct 15, 2024
Copy link

@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 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.

Copy link

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

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /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.

@buixor
Copy link
Contributor

buixor commented Oct 15, 2024

/kind feature

@LaurenceJJones
Copy link
Contributor Author

An example of custom metadata would be to add the Host header that is passed to the AppSec component or any other data maybe a cookie value so you can trace the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/appsec kind/feature triage/accepted value/high Doing this significantly improves some areas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants