Skip to content

Commit e5b5914

Browse files
authored
doc(DI): exclude redacted identifiers via env (#28978)
1 parent 2a648a2 commit e5b5914

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/en/dynamic_instrumentation/sensitive-data-scrubbing.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ further_reading:
1111

1212
## Overview
1313

14-
Datadog Dynamic Instrumentation enhances the observability and debugging capabilities of your applications by capturing variable data at arbitrary code locations in production environments. It also can craft and evaluate expressions in real-time, and integrate their outputs into log messages or add them as span tags.
14+
Datadog Dynamic Instrumentation enhances the observability and debugging capabilities of your applications by capturing variable data at arbitrary code locations in production environments. It also can craft and evaluate expressions in real-time, and integrate their outputs into log messages or add them as span tags.
1515

16-
While this functionality is powerful, it also presents the possibility of sensitive data leaks, both intentional and unintentional. Alongside the product's robust data capture capabilities, it also provides comprehensive measures to safeguard sensitive information.
16+
While this functionality is powerful, it also presents the possibility of sensitive data leaks, both intentional and unintentional. Alongside the product's robust data capture capabilities, it also provides comprehensive measures to safeguard sensitive information.
1717

18-
By understanding and properly configuring these redaction mechanisms, you can use Dynamic Instrumentation with confidence and security.
18+
By understanding and properly configuring these redaction mechanisms, you can use Dynamic Instrumentation with confidence and security.
1919

2020
## Redact based on identifiers
2121

@@ -27,6 +27,8 @@ Dynamic Instrumentation automatically redacts values linked to specific identifi
2727

2828
You can further tailor redaction by specifying additional identifiers. In your application's environment (not on `datadog-agent`), set the `DD_DYNAMIC_INSTRUMENTATION_REDACTED_IDENTIFIERS` environment variable to a comma-separated list of identifiers such as `firstName,lastName,phoneNumber`.
2929

30+
To exclude specific identifiers from the default redaction list, set the `DD_DYNAMIC_INSTRUMENTATION_REDACTION_EXCLUDED_IDENTIFIERS` environment variable to a comma-separated list of identifiers that should not be redacted, such as `cookie,sessionid`.
31+
3032
Redaction applies universally, regardless of how the identifier is used in the code (as method arguments, local variables, class attributes, dictionary keys, and so on). The associated values are redacted in your infrastructure and not uploaded to Datadog.
3133

3234
## Redact based on specific classes or types

0 commit comments

Comments
 (0)