-
Notifications
You must be signed in to change notification settings - Fork 1.3k
clarify scrubbing behavior and replace process agent #33715
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
Changes from 2 commits
ca35cb3
d147a4e
aef908f
1a5ed6c
765c713
ad75499
c0aec6d
2a804b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,9 +33,19 @@ container_include: ["name:frontend.*"] | |||||
|
|
||||||
| **Note**: For Agent 5, instead of including the above in the `datadog.conf` main configuration file, explicitly add a `datadog.yaml` file to `/etc/datadog-agent/`, as the Process Agent requires all configuration options here. This configuration only excludes containers from real-time collection, **not** from Autodiscovery. | ||||||
|
|
||||||
| ### Scrubbing sensitive information | ||||||
| ### Scrubbing sensitive information from manifests | ||||||
|
|
||||||
| To prevent the leaking of sensitive data, you can scrub sensitive words in container YAML files. Container scrubbing is enabled by default for Helm charts, and some default sensitive words are provided: | ||||||
| To help prevent sensitive data from leaking, the agent can be configured to scrub tje collected Kubernetes YAML manifests. This scrubbing feature is applied to: | ||||||
|
|
||||||
| - Annotation values | ||||||
| - Label values | ||||||
| - Probe configurations (HTTP headers & commands) | ||||||
fisherevans marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| - Environment variables | ||||||
| - Container exec commands | ||||||
|
|
||||||
| The scrubbing algorithm attempts to detect key-value pairs containing secrets based on a set of sensitive keywords, replacing corresponding values with `********`. This logic is applied to structured key-value pairs (such as environment variables) as well as values that look like JSON or YAML blobs which may contain their own pairs. | ||||||
fisherevans marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Scrubbing is enabled by default using the following sensitive keywords: | ||||||
|
|
||||||
| - `password` | ||||||
| - `passwd` | ||||||
|
|
@@ -49,28 +59,27 @@ To prevent the leaking of sensitive data, you can scrub sensitive words in conta | |||||
| - `credentials` | ||||||
| - `stripetoken` | ||||||
|
|
||||||
| You can set additional sensitive words by providing a list of words to the environment variable `DD_ORCHESTRATOR_EXPLORER_CUSTOM_SENSITIVE_WORDS`. This adds to, and does not overwrite, the default words. | ||||||
| You can supply additional sensitive keywords by providing a space-delimited list in the environment variable: `DD_ORCHESTRATOR_EXPLORER_CUSTOM_SENSITIVE_WORDS`. This adds to, and does not overwrite, the default words. You need to set up this environment variable for the following agents: | ||||||
|
||||||
| You can supply additional sensitive keywords by providing a space-delimited list in the environment variable: `DD_ORCHESTRATOR_EXPLORER_CUSTOM_SENSITIVE_WORDS`. This adds to, and does not overwrite, the default words. You need to set up this environment variable for the following agents: | |
| You can supply additional sensitive keywords by providing a space-delimited list in the environment variable: `DD_ORCHESTRATOR_EXPLORER_CUSTOM_SENSITIVE_WORDS`. This adds to the default words and does not overwrite them. To use this environment variable, you must set it up for the following Agents: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, @maycmlee - I think maybe this?
To use this environment variable, you must configure it for following Agents:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fisherevans yes that works!
Uh oh!
There was an error while loading. Please reload this page.