elastic / elastic/apm-agent-nodejs

`captureBody` docs don't mention the conditions for sanitization/redaction

Open
#3,426 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.