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

Provide request headers to the JS enrichment #901

Open
stanch opened this issue Jun 24, 2024 · 0 comments
Open

Provide request headers to the JS enrichment #901

stanch opened this issue Jun 24, 2024 · 0 comments

Comments

@stanch
Copy link
Contributor

stanch commented Jun 24, 2024

This allows custom logic, such as extracting JWTs and other API tokens to be used by the enrichment.

It is already possible to enable the HTTP Header enrichment and then access the entity in JS, however then there is no way to remove the sensitive header values afterwards. Scrubbing them with the PII enrichment is a workaround, but that adds more data to be stored in the warehouse, for no reason.

Accessing the headers directly is a much more streamlined approach.

See also #66 which would be solved by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant