Skip to content

Commit 48b9531

Browse files
PronoyCclaudedrichards-87
authored andcommitted
[SDS] Extend mask action to logs, APM spans, and RUM events (#37660)
* [SDS] Extend mask action docs to cover APM spans and RUM events The Data Scanner Unmask permission and mask action now support APM spans and RUM events in addition to logs. Remove "logs only" qualifiers and update the sds-mask-action shortcode to reflect GA availability. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * [SDS] Rename Summary page to Findings page across SDS shortcodes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: DeForest Richards <56796055+drichards-87@users.noreply.github.com>
1 parent e0c9c4e commit 48b9531

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

content/en/security/sensitive_data_scanner/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ For each [scanning rule][17], one of the following actions can be applied to mat
8989
- {{< ui >}}Redact{{< /ui >}}: Replace the entire matched data with a single token that you choose, such as `[sensitive_data]`.
9090
- {{< ui >}}Partially redact{{< /ui >}}: Replace a specific portion of all matching values.
9191
- {{< ui >}}Hash{{< /ui >}}: Replace the entire matched data with a non-reversible unique identifier.
92-
- {{< ui >}}Mask{{< /ui >}} (available for logs only): Obfuscate all matching values. Users with the `Data Scanner Unmask` permission can de-obfuscate (unmask) and view this data in Datadog. See [Mask action][16] for more information.
92+
- {{< ui >}}Mask{{< /ui >}} (available for logs, APM spans, and RUM events): Obfuscate all matching values. Users with the `Data Scanner Unmask` permission can de-obfuscate (unmask) and view this data in Datadog. See [Mask action][16] for more information.
9393

9494
**Note**: When scanning sampled data, you will not be able to select actions that obfuscate the data it scans.
9595

content/en/security/sensitive_data_scanner/setup/telemetry_data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For each scanning rule, one of the following actions can be applied to matched s
3333
- {{< ui >}}Redact{{< /ui >}}: Replace the entire matched data with a single token that you choose, such as `[sensitive_data]`.
3434
- {{< ui >}}Partially redact{{< /ui >}}: Replace a specific portion of all matching values.
3535
- {{< ui >}}Hash{{< /ui >}}: Replace the entire matched data with a non-reversible unique identifier.
36-
- {{< ui >}}Mask{{< /ui >}} (available for logs only): Obfuscate all matching values. Users with the `Data Scanner Unmask` permission can de-obfuscate (unmask) and view this data in Datadog. See [Mask action](#mask-action) for more information.
36+
- {{< ui >}}Mask{{< /ui >}} (available for logs, APM spans, and RUM events): Obfuscate all matching values. Users with the `Data Scanner Unmask` permission can de-obfuscate (unmask) and view this data in Datadog. See [Mask action](#mask-action) for more information.
3737

3838
**Notes**:
3939
- When scanning sampled data, you will not be able to select actions that obfuscate the data it scans.
@@ -59,7 +59,7 @@ This document goes through the following:
5959

6060
By default, users with the Datadog Admin role have access to view and set up scanning rules. To allow other users access, grant the `data_scanner_read` or `data_scanner_write` permissions under [Compliance][1] to a custom role. See [Access Control][2] for details on how to set up roles and permissions.
6161

62-
If a scanning rule uses the {{< ui >}}mask{{< /ui >}} action (only available for logs) for matched sensitive data, users with the `data_scanner_unmask` permission can de-obfuscate and view the data in Datadog. **Note**: Datadog does not recommend using the {{< ui >}}mask{{< /ui >}} action for credentials, unless you have a plan to respond to and rotate all leaked credentials. See [Mask action](#mask-action) for more information.
62+
If a scanning rule uses the {{< ui >}}mask{{< /ui >}} action for matched sensitive data, users with the `data_scanner_unmask` permission can de-obfuscate and view the data in Datadog. **Note**: Datadog does not recommend using the {{< ui >}}mask{{< /ui >}} action for credentials, unless you have a plan to respond to and rotate all leaked credentials. See [Mask action](#mask-action) for more information.
6363

6464
{{< img src="sensitive_data_scanner/read_write_permissions.png" alt="The compliance permissions sections showing data scanner read and writer permissions" style="width:80%;">}}
6565

layouts/shortcodes/pci-apm.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To begin **onboarding**:
1616
apm_config:
1717
apm_dd_url: <https://trace-pci.agent.datadoghq.com>
1818
```
19-
4. All spans that are sent to the PCI compliant endpoint(s) automatically have a set of [Sensitive Data Scanner][106] PCI rules that are applied to scrub any cardholder data. These dedicated PCI rules must be enabled for PCI DSS compliance and are included with no additional charge. Note that Sensitive Data Scanner for PCI customers does not include the Summary page or estimated usage metric capabilities.
19+
4. All spans that are sent to the PCI compliant endpoint(s) automatically have a set of [Sensitive Data Scanner][106] PCI rules that are applied to scrub any cardholder data. These dedicated PCI rules must be enabled for PCI DSS compliance and are included with no additional charge. Note that Sensitive Data Scanner for PCI customers does not include the Findings page or estimated usage metric capabilities.
2020

2121
To finish onboarding and be moved to **compliant**:
2222
1. Inform your [Datadog support][101] or your [Customer Success Manager][102] that you have moved over **all** your endpoints to the PCI compliant endpoint(s).

layouts/shortcodes/pci-logs.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To begin **onboarding**:
1818
logs_config:
1919
logs_dd_url: agent-http-intake-pci.logs.datadoghq.com:443
2020
```
21-
4. All logs that are sent to the PCI compliant endpoint(s) automatically have a set of [Sensitive Data Scanner][106] PCI rules that are applied to scrub any cardholder data. These dedicated PCI rules must be enabled for PCI DSS compliance and are included with no additional charge. Note that Sensitive Data Scanner for PCI customers does not include the Summary page or estimated usage metric capabilities.
21+
4. All logs that are sent to the PCI compliant endpoint(s) automatically have a set of [Sensitive Data Scanner][106] PCI rules that are applied to scrub any cardholder data. These dedicated PCI rules must be enabled for PCI DSS compliance and are included with no additional charge. Note that Sensitive Data Scanner for PCI customers does not include the Findings page or estimated usage metric capabilities.
2222

2323
To finish onboarding and be moved to **compliant**:
2424
1. Inform your [Datadog support][101] or your [Customer Success Manager][102] that you have moved over **all** your endpoints to the PCI compliant endpoint(s).
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<div class="alert alert-danger">The <b>mask</b> action is only available for logs.</div>
2-
31
When you set up or edit a scanner rule, there is an **Action on Match** section where you can set the rule to use the **mask** action for matched sensitive data. The **mask** action obfuscates the sensitive data, but users with the `Data Scanner Unmask` permission can de-obfuscate (unmask) and view the data in Datadog.
42

53
**Notes**:
6-
- Unmasking can only be performed on indexed logs within Datadog.
4+
- Unmasking is available for indexed logs, APM spans, and RUM events within Datadog.
75
- Masked data that is accessed programmatically, such as by using the API or Terraform, or within archives, always appears obfuscated and cannot be unmasked.
86
- Unmasking does not work on rehydrated logs.
97
- Datadog does not recommend using the **mask** action for credentials, unless you have a plan to respond to and rotate all leaked credentials.
108

11-
To unmask sensitive data, navigate to the [Summary page][101], click on a scanning rule, and then click on a log. If you have permission to see masked data, that data has an eye icon next to it. Click the eye icon to reveal the data. You can also use the [Log Explorer][102] to view your masked log data.
9+
To unmask sensitive data, navigate to the [Findings page][101], click on a scanning rule, and then click on a finding. If you have permission to see masked data, that data has an eye icon next to it. Click the eye icon to reveal the data. You can also use the [Log Explorer][102], [Trace Explorer][103], or [RUM Explorer][104] to view masked data.
1210

13-
[101]: https://app.datadoghq.com/organization-settings/sensitive-data-scanner/summary
14-
[102]: https://app.datadoghq.com/logs
11+
[101]: https://app.datadoghq.com/sensitive-data-scanner/telemetry
12+
[102]: https://app.datadoghq.com/logs
13+
[103]: https://app.datadoghq.com/apm/traces
14+
[104]: https://app.datadoghq.com/rum/explorer

0 commit comments

Comments
 (0)