Before you begin
You need:- An Atatus account with log data already flowing. See Logs Monitoring if you have not set up log collection yet.
- Admin or Owner access to the account, since scanning rules apply to everyone’s data.
Step 1: Create a scanning group
A scanning group decides which traffic gets scanned. Rules only run inside a group, so this comes first.- Go to Security and open Sensitive Data Classifier.
- Select Add Scanning Group.
- Give the group a Name and an optional Description. Pick something that describes the traffic, for example
Payment service logs. - Under Filters, add a query to narrow what the group sees. Leave it empty to scan all of your logs.
- Set the Scanning Method for Logs to 100% or Sample. Leaving it on None means the group scans nothing.
- Save the group.
Step 2: Add rules to the group
A group with no rules does nothing. Add rules from the built-in library, write your own, or both. To add library rules:- Open the group and select Add Rule.
- Choose Library Rules.
- Select the rules you want. For a first pass, the credit card and email rules give quick, obvious results.
- Choose a Priority. This is a label you set for triage, from Info through Critical. It does not change how matching works.
- Choose a Match Action. Start with No Action if you want to see what matches before you mask anything.
- Save the rules.
Step 3: Enable the rules and the group
This is the step people miss. New scanning groups and new rules are both created in a disabled state, and nothing is scanned until both are turned on.- Turn on the toggle for each rule you want active.
- Turn on the toggle for the group itself.
Step 4: Confirm it is working
Send some traffic that should match, then check that it was scanned.-
Open Logs and search for events carrying the sensitive data tags:
-
Narrow to a category to confirm a specific rule fired:
- Open a matching event and check that the value shows your replacement text, a hash, or a partial mask, depending on the action you chose.
Configuration changes take effect on newly received data. Events that were already stored are not rescanned or masked retroactively.
Roll out to production safely
A staged rollout avoids masking something you needed:- Create the group with No Action rules and a Sample scanning method.
- Watch the
@sensitive_datatags for a day and check what matched. Look for false positives, such as an order ID that looks like a card number. - Tighten the rules with included and excluded keywords. See Keywords and proximity.
- Switch the action to Redact, Partially Redact, or Hash.
- Raise the scanning method to 100%.