elastic / elastic/apm-agent-nodejs
`captureBody` docs don't mention the conditions for sanitization/redaction
Open
8.10-candidate
agent-nodejs
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 244
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html#capture-body docs should mention that redaction of parsed *form* data will be done. This is mentioned in https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html#sanitize-field-names but that is not at all obvious to anyone just using `captureBody`.
As a bonus, one could be pointed to sanitizeFieldNames and `apm.addTransactionFilter` for further filtering if the user application needs.
refs: https://discuss.elastic.co/t/is-it-possible-to-redact-parts-of-the-captured-body-in-nodejs-apm/335804
Contributor guide
Assessment
This issue has not been assessed yet.