Report snapshots write the results of a report into a custom object on a recurring schedule, and that custom object often holds names, emails, phone numbers, and deal values pulled straight from production. Most masking rulesets never touch it, because nobody flagged it as a PII-bearing object during setup. The snapshot was built by a sales ops admin two years ago to track pipeline trends, and it has been quietly copying real customer data into your sandbox ever since.
This is not a theoretical edge case. Report snapshots are a standard Salesforce feature, available since Winter '10, and they are used constantly for trend reporting on opportunities, cases, and leads. Any org with more than a few years of history almost certainly has at least one scheduled snapshot running. The question is whether your masking configuration knows it exists.
How Report Snapshots Actually Work
A report snapshot takes a tabular or summary report, runs it on a schedule, and loads the rows into a target custom object you define. Salesforce maps report columns to custom fields on that object. Once configured, the snapshot runs independently of whoever built it, often for years without review.
Here is the part that matters for masking: the target object is a normal custom object. It does not inherit any special designation that says "this holds PII copied from Contact and Opportunity." To your masking tool, it looks like any other custom object unless someone explicitly added it to a ruleset.
A typical snapshot built off an Opportunity report might include Contact Name, Contact Email, Account Name, and Amount. A case-trending snapshot might carry Contact Phone and Case Description. The fields are real, current, and tied to real people, but they live one layer removed from the standard objects everyone thinks to mask.
Why This Survives a Sandbox Refresh Untouched
When you refresh a sandbox, Salesforce copies the full object model, including every custom object and every row in it. Snapshot target objects come along for the ride like everything else. If your masking policy was scoped to Contact, Lead, Account, and Case, the snapshot object sails through untouched.
Admins reviewing masking coverage tend to work from the standard object list first, because that is where the obvious PII lives. Custom objects get added when someone remembers them or when an audit forces a full schema review. Report snapshot targets rarely make that list on the first pass, because their names are usually generic: "Opportunity_Trend__c" or "Case_History_Snapshot__c" does not scream PII the way "Contact" does.
The snapshot also keeps running inside the sandbox after refresh, if the schedule was copied along with it. Some orgs disable scheduled jobs post-refresh, but plenty do not, which means the sandbox can keep generating fresh unmasked rows on its own schedule, independent of your masking job entirely.
The Compliance Exposure Nobody Budgets For
Under GDPR, a sandbox populated with masked Contact and Lead data but one unmasked snapshot object is still a sandbox processing real personal data without lawful basis for that environment. Regulators do not grade on effort. A single object with real names and emails, accessible to every sandbox user with view permission, is a finding during a data protection audit.
I have seen this exact pattern catch teams off guard during SOC 2 reviews: the masking policy document lists every standard object correctly, the ruleset screenshots look thorough, and then the auditor asks for a full custom object inventory and finds a trending snapshot nobody mentioned. The fix is quick once spotted, but the conversation about why it was missed is not pleasant.
There is also a practical risk beyond compliance paperwork. Report snapshot objects are often surfaced on dashboards that get shared widely inside sandbox orgs for testing and demos. A dashboard built off unmasked snapshot data can expose real customer names to a QA contractor, an offshore testing vendor, or a partner evaluating a new integration, none of whom should ever see production PII.
Finding Every Snapshot Object in Your Org
Report snapshots are configured under Setup, Reporting Snapshots, and the list shows the source report, the target object, and the schedule. This is the fastest way to get a complete inventory, and it takes under ten minutes even in a large org.
For each snapshot on the list, check three things:
- What report feeds it, and which fields from Contact, Lead, Account, or Case appear in that report.
- What the target object and field mappings are, since field API names on the target rarely match the source field names.
- Whether the schedule is still active, because dormant snapshots with historical PII rows are just as exposed as active ones.
Run this inventory before you finalize any masking ruleset, not after. Treating it as a one-time setup task rather than an ongoing check is the mistake that lets new snapshots slip through when a different team builds one six months later without looping in whoever owns the masking policy.
Closing the Gap With MaskEzee
MaskEzee scans the full schema, including custom objects, and flags fields that match PII patterns regardless of where they sit in the object model. A snapshot target object with an Email or Phone field gets picked up the same way a standard Contact field does, which removes the dependency on someone manually remembering it exists.
The bigger fix is procedural rather than technical. Every time a new reporting snapshot gets configured in production, someone should check whether the target object needs to join the masking ruleset before the next sandbox refresh. MaskEzee's ruleset templates let you group custom objects by data source, so a snapshot object inherits the same masking logic as the report it was built from, keeping names and emails consistent across both.
Run masking after the refresh completes and before any scheduled snapshot job fires inside the sandbox. If the snapshot schedule survives the refresh and fires before masking runs, you get one clean pass of unmasked data written to the target object, and that data sits there until the next refresh cycle overwrites it. Sequencing matters as much as ruleset coverage here.
A Short Audit Checklist
Before your next sandbox refresh, pull the Reporting Snapshots list and cross-reference it against your current masking ruleset. For each target object not already covered, add it and re-run a test mask against a sandbox clone first, since field mappings on snapshot objects are not always what you would guess from the object name.
Disable snapshot schedules inside sandboxes where possible, or move masking earlier in the refresh pipeline so it runs before any scheduled job has a chance to fire. Neither fix takes long, and both are cheaper than explaining an unmasked custom object to an auditor who found it before you did.
Frequently Asked Questions
What is a Salesforce report snapshot?
A report snapshot is a Salesforce feature that runs a report on a schedule and writes the resulting rows into a custom object. It is commonly used for trend reporting on opportunities, cases, or leads, and has been available in Salesforce since Winter '10.
Why do report snapshots cause problems for sandbox masking?
Report snapshots copy fields like contact names, emails, and phone numbers into custom target objects that look nothing like Contact or Lead. Most masking rulesets are built around standard objects, so these snapshot objects get overlooked and pass through a sandbox refresh with real PII intact.
How do I find every report snapshot in my org?
Go to Setup and search for Reporting Snapshots, which lists every configured snapshot along with its source report, target object, and schedule. Review each entry's field mappings, since the target object's field names usually differ from the source report's column names.
Can MaskEzee mask custom objects used by report snapshots?
Yes. MaskEzee scans the full org schema, including custom objects, and flags fields matching PII patterns regardless of where they sit in the data model. Snapshot target objects can be added to a masking ruleset the same way standard objects are, keeping masked values consistent across source and snapshot.
Does disabling a snapshot schedule in a sandbox fix the exposure?
It helps, but only for new rows going forward. Historical rows already written by the snapshot before you disabled the schedule still contain real PII and need to go through a masking pass or be purged. The safer approach is to add the target object to your ruleset and sequence masking to run before any scheduled job fires post-refresh.