Ga naar inhoud

Watch the Exits for Reports, List Views, Files, APIs and Permission Changes

Deze inhoud is nog niet vertaald.

Module 4 of 6 in the chapter Monitoring: Real-Time Events, Log Files and Transaction Security, chapter 19 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.

The question this module answers: Data leaves an org through a handful of doors. Which event watches each one, what does Salesforce already watch for you, and what does it leave to you?

The salesperson who leaves with the customer list

Section titled “The salesperson who leaves with the customer list”

Here’s the story I tell in class. A salesperson knows they’re about to be fired, or they’re about to quit. So they build a report of every customer, export it to a file, and leave with all the private customer data. It’s happened before.

Notice what the sharing model did there: nothing wrong. They could see those customers. That was their job. Sharing decides what a person can see (chapter 12 module 4 tells this story from the report folder’s side). It doesn’t decide how much of it they can carry out the door at once. That’s what this module is about.

There are only so many ways in and out of Salesforce. For data going out, think of them as exits, and each exit has its own real-time event. Module 3 showed how a policy acts on an event. This module walks the exits one at a time.

The exits, and the event that watches each one

Section titled “The exits, and the event that watches each one”

Here’s the map. Every event below needs Salesforce Shield or the Event Monitoring add-on, and the actions come from Salesforce’s own table (Transaction Security (opens in a new tab), Salesforce Help, checked 2026-11-26).

The exitThe eventWhat a policy can do
A report, run or exportedReportEventBlock, notify, MFA for UI logins
A list viewListViewEventBlock, notify, MFA for UI logins
An API query: an integration, Data Loader, a scriptApiEventBlock, notify
The results of a Bulk API query, downloadedBulkApiResultEventStoreBlock, notify
A file, downloaded or previewedFileEventStoreBlock, notify
A permission change that opens more exitsPermissionSetEventStoreBlock, notify

The last row isn’t an exit for data. It’s how someone gets more exits. I’ll come back to it.

Reports: the policy Salesforce turned on for you

Section titled “Reports: the policy Salesforce turned on for you”

Reports are the exit from my story, and in 2026 Salesforce stopped leaving this one entirely to you. It added a default transaction security policy on report exports, “to provide enhanced baseline protection against data exfiltration” (Prepare for Transaction Security Policy Enhancements (opens in a new tab), Salesforce Help knowledge article 005321565, updated 2026-11-19, checked 2026-11-26).

What it watches, in Salesforce’s own condition: “(Operation = ReportExported OR Operation = ReportExportedUsingExcelConnector) AND RowsProcessed > 10,000”. When that’s true, “the user is required to complete multi-factor authentication before the export can proceed” (ReportEvent Policies (opens in a new tab), Salesforce Help, checked 2026-11-26). So more than 10,000 rows, from the screen or the Excel connector, and the user proves who they are again.

Here’s what to know about it, as of 2026-11-23, from the same two pages:

  • Who gets it. It’s for “eligible Salesforce Shield and/or Event Monitoring (EM) customers.” If your org has neither, it doesn’t have this policy. Every org still gets the separate step-up check on viewing and exporting reports, which the shared Front Door course covers (Prove it again when the stakes rise).
  • When. Salesforce made it available in production from 15 June 2026 and enforced it from 13 July 2026 (sandboxes a few weeks earlier).
  • If you already had one. “If a ReportEvent TSP policy built using condition builder already exists, then the default policy will not be deployed in your org.” Otherwise it arrives as “a new, disabled, separate policy” and is turned on at enforcement.
  • It’s yours to change. “You can edit, modify, or disable it at any time before or after enforcement takes effect.”
  • No MFA set up means no export. “If step-up authentication isn’t configured for a user when the default ReportEvent policy is triggered, the report export will be blocked.”
  • External users too. Since the article’s 19 November 2026 update, “the default Report export TSP applies to Experience Cloud users as well, along with Salesforce internal users.” That changed during 2026, so check the date on the article before you teach it.

One more thing came with it, and it matters to whoever owns your policies. Changing a transaction security policy now needs a new permission, Modify Transaction Security Policy, alongside Customize Application, and a step-up check in the UI. Admins with only Customize Application get read-only access. That’s a good change: the people a policy watches shouldn’t be the people who can switch it off.

Read this line twice: “The default TSP for report exports applies only to report exports performed through the Salesforce UI. API-based exports aren’t covered” (ReportEvent page). The knowledge article names it: it “does not affect report exports performed via API, including Data Loader CLI.”

So the salesperson who knows Data Loader walks right past it. That’s not a flaw in the policy. It was built for one exit. The API is a different exit, and it has its own events:

  • ApiEvent watches API queries. Its conditions include the query, the objects queried, rows processed, the client and the source IP, so you can write “notify me when someone queries more than this many rows.” Two limits, from Salesforce’s page: “Multi-factor authentication isn’t supported,” because no person is there to answer; and “Transaction Security supports only query(),” so the calls that page through more results aren’t seen by the policy (ApiEvent Policies (opens in a new tab), Salesforce Help, checked 2026-11-26).
  • BulkApiResultEventStore watches the moment that matters for a big export: when someone “downloads the results of a Bulk API request.” Block or notify (BulkApiResultEventStore Policies (opens in a new tab), Salesforce Help, checked 2026-11-26). For Bulk API queries, ApiEvent leaves the client and user agent blank, because a background job runs them (ApiEvent page). So watch the download, not only the query.

And remember who uses the API all day: your integrations. A policy that blocks large queries will block the nightly sync too. Notify first, learn which users are integrations, and write the condition so it watches people, not the jobs you built (module 3).

List views are the quiet cousin of reports. People forget they’re an exit. ListViewEvent watches them, with the same three actions as reports, and in Lightning pages MFA becomes Block (Transaction Security page).

Files are their own exit. A contract, a price list, a spreadsheet someone attached to an account. FileEventStore “tracks when a user downloads, previews, or uploads a file,” and records which action it was: API_DOWNLOAD, PREVIEW, UI_DOWNLOAD or UPLOAD (FileEventStore (opens in a new tab), Platform Events Developer Guide, checked 2026-11-26). A policy can block or notify. Pair it with who can see the file in the first place, which is a sharing question (chapter 12).

Permission changes: the exit that opens the other exits

Section titled “Permission changes: the exit that opens the other exits”

Here’s the one people miss. The salesperson in my story had access to every customer. What about the person who doesn’t, and gives it to themselves? Or the admin who adds View All Data to a permission set “just for a week”?

PermissionSetEventStore policies “monitor when users are assigned critical permissions in a permission set or a profile,” and can block or notify (PermissionSetEventStore Policies (opens in a new tab), Salesforce Help, checked 2026-11-26). Salesforce lists the critical permissions it watches. For a sharing architect, these are the ones that matter most: View All Data, Modify All Data, Manage Sharing, Manage Users, Manage Roles, Manage Profiles and Permission Sets, Assign Permission Sets, Author Apex, and Exempt from Transaction Security.

That last one deserves a second look. A user with Exempt from Transaction Security walks past every policy in this module. So the moment someone is given it is a moment you want to know about.

Two notes from Salesforce’s page: use the permission’s API name, not its label (ViewAllData, not View All Data), and use the Contains operator, not Equals.

Since Summer ‘26, this reaches profiles too: “Generate tracking events when Salesforce admins modify or create user profiles that include critical permissions. Block unauthorized changes to critical profile permissions. Use Transaction Security Policies to monitor, alert on, and block permission updates in real time.” Salesforce adds that “you can also track the specific removal of the TransactionSecurity Exempt permission from profiles” (Summer ‘26 release notes: Permissions (opens in a new tab), checked 2026-11-26). Chapter 3 module 1 mentions this from the profile’s side.

Put it together and you can see the gap. Salesforce now watches the most famous exit for Shield and Event Monitoring customers: big report exports from the screen. Every other exit is a policy you design: the API, Bulk API downloads, list views, files, and the permission changes that open them all.

So when I review a monitoring design, I ask for this list, one row per exit:

  1. Which exits matter here? Which objects hold the data that would hurt if it left?
  2. Which event watches each one, and is there a policy on it today?
  3. What’s normal? Who exports, queries or downloads this much as part of their job, including the integrations (module 2)?
  4. What’s the action, and who receives the notification?
  5. Who holds Exempt from Transaction Security, and who is told when that changes?
Watch the exits Watch the exits. Someone with access to the data, which sharing allows, can take it out through several exits, and each one has its own real-time event. First, a report export: ReportEvent, where Salesforce's default policy asks for multi-factor authentication over 10,000 rows from the screen. Then the other exits: a list view, ListViewEvent; an API query from an integration, Data Loader or a script, ApiEvent, which the default policy doesn't cover; Bulk API results downloaded, BulkApiResultEventStore; and a file downloaded or previewed, FileEventStore. Only the report export is watched by Salesforce's default policy; each of the others needs a transaction security policy you design. Last, below, under more access: a permission change, such as View All Data granted, opens more exits; PermissionSetEventStore watches it. Footnote: Salesforce watches big report exports for you; every other exit is a policy you design. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-23", "id": "DGM-SVA-MA-04", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} THE EXITS MORE ACCESS THE EXITS Someone with access can see the data; sharing allows it A permission change View All Data granted: PermissionSetEventStore Report export ReportEvent; default: MFA over 10,000 rows, UI only List view ListViewEvent API query ApiEvent; Data Loader, integrations; not in the default Bulk API results BulkApiResultEventStore File download FileEventStore opens more exits opens exports queries downloads downloads Salesforce watches big report exports for you. Every other exit is a policy you design. HOW TO READ IT watched by Salesforce's default policy © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Test knowledge. Know the exits and their events: ReportEvent (reports), ListViewEvent (list views), ApiEvent (API queries), BulkApiResultEventStore (Bulk API results downloaded), FileEventStore (file downloads, previews and uploads) and PermissionSetEventStore (critical permissions assigned in a permission set or profile). Know the default report export policy: exports from the UI or the Excel connector over 10,000 rows require multi-factor authentication; API-based exports, including Data Loader, aren’t covered; it isn’t deployed if a Condition Builder ReportEvent policy already exists; it can be edited or disabled; it needs Shield or the Event Monitoring add-on. Know that MFA isn’t supported on ApiEvent, that changing a policy needs Modify Transaction Security Policy plus Customize Application, and that Exempt from Transaction Security bypasses every policy. A likely area, not a known question.

  • Which exits matter for this org’s sensitive objects, and which event watches each one.
  • Whether the default report export policy stays as Salesforce shipped it, is tuned, or is replaced, and who decided.
  • How the API exit is watched without blocking the integrations, and which users are integrations.
  • Who holds Modify Transaction Security Policy, and who holds Exempt from Transaction Security.
  • Which critical permission changes are blocked, which only notify, and who reads the notification.

Beyond the exam: what AI changes. An agent is a new way to reach every exit at once. Ask it for “every customer in the West region with their phone numbers,” and it runs the query for you, as its user. The exit is the API or a report, so the same events see it, but the condition you wrote for a person exporting a report may not match an agent pulling the same rows in pieces. Know which user each agent runs as, and include it in the “what’s normal” list. Chapter 20 covers agents.