The Sensitive Data Classifier (SDC) scans your logs as they arrive and acts on values that should not be stored in plain text, such as credit card numbers, email addresses, and authentication tokens. It runs inside the Atatus ingest pipeline, so matched values are masked before anything is written to storage. This page explains the moving parts. If you want to get scanning right away, start with Set Up the Sensitive Data Classifier.

How scanning works

Scanning happens in the ingest path, before storage:
  1. Your agent sends logs. Log events arrive at the Atatus ingest endpoint as usual.
  2. Scanning groups decide what gets scanned. Each group can narrow the traffic with a filter query. Groups are evaluated in the order you arrange them.
  3. Rules look for matches. Every rule in the group runs its regular expression against the event, optionally checking for nearby keywords to cut down on false positives.
  4. The match action is applied. A matched value is hashed, redacted, partially redacted, or left alone, depending on the rule.
  5. Tags are attached. The event is tagged with the rule’s sensitive_data and sensitive_data_category tags, so you can search for it later without ever seeing the original value.
  6. The event is stored. Only the masked version is written.
Masking is permanent. Atatus never stores the original value, so a redacted or hashed value cannot be recovered later. Test a rule with the rule evaluator before you enable it on live traffic.

Key concepts


What you can scan

The Sensitive Data Classifier currently scans Logs, covering log messages and their attributes.
Support for scanning APM spans and API analytics is planned. This page will be updated when those products are available.
For Logs you choose a scanning method:
  • 100% scans every event in the group.
  • Sample scans a percentage of events, between 10% and 90%. Useful while you are tuning a new rule and want to limit the impact.
  • None leaves Logs out of the group, so the group scans nothing.
See Scanning Groups for the full configuration reference.

Match actions

Every rule ends in one of four actions:
Starting with No Action is a good way to roll out SDC. You get the tags and can see exactly what would be masked, without changing any stored data. Switch to Redact or Hash once the rule looks right.

Where to find it

The Sensitive Data Classifier lives under Security in the Atatus dashboard.

Next steps