enrich
enrich copied to clipboard
Provide request headers to the JS enrichment
trafficstars
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.