ข้ามไปยังเนื้อหา

Monitoring: Real-Time Events, Log Files and Transaction Security

เนื้อหานี้ยังไม่มีในภาษาของคุณ

Chapter 19 of Securing Salesforce: Sharing and Visibility, Part 3: Beyond the Company and Beyond the Record. New to the course? Start with chapter 1.

Everything in this course so far decides who can see what. This chapter is about what happens next: who actually looked, who took data out, who changed the rules, and whether anyone noticed.

Here’s the question I get in every class: how do I stop somebody from downloading data? The sharing model can’t answer it on its own. A salesperson about to leave can see every customer, because that was their job. Sharing decides what a person can see. It doesn’t decide how much of it they carry out the door, and it doesn’t tell you they did.

So this chapter goes from watching to acting. First the events Salesforce writes down, late and in real time. Then the policies that act on them. Then the exits data leaves by, the records of who changed what, and the plan that makes someone read all of it.

  • Event monitoring is a fire hose, so point it somewhere. Turning it on writes events down. Someone still has to collect them, keep them and read them, and test that before you need it.
  • Log files are late; real-time events are not. Event log files arrive hours to a day later. Real-time events can be streamed for an alert now and stored for an audit later.
  • Sharing let them open it; the event shows who looked. The nurse and the famous patient: access that was allowed, and still worth asking why.
  • Learn normal before you set a threshold. Watch first, then decide what counts as too much.
  • A policy is a condition and an action. Transaction security notifies, asks for proof with multi-factor authentication, or blocks; and where no person can answer, MFA becomes Block.
  • Notify first, then block, and keep a way back in. A policy tuned too hard stops real work, and a bad one can lock people out.
  • Watch every exit, not only the famous one. Salesforce now watches big report exports from the screen for Shield and Event Monitoring customers. The API, Bulk API results, list views, files and critical permission changes are policies you design.
  • Every record has its own clock. 180 days of Setup Audit Trail, 18 to 24 months of field history, Field Audit Trail until you delete it. Decide who keeps what before the auditor asks.
  • Buying it isn’t monitoring. A tested event that reaches a person who acts on it is.

Here’s where the chapter starts: the fire hose, and why it has to point somewhere.

A fire hose, so point it somewhere A fire hose, so point it somewhere. Your org writes down what happens, logins, page views, API calls and report exports, as event log files: CSV files, hourly or daily, hours to a day behind. First, with no destination, the files sit in Salesforce until they're deleted, and nobody reads them. Then, pointed somewhere: the files are pulled through the API into a destination, CRM Analytics or a security tool, which keeps them as long as your policy says, and someone reads them, with dashboards, alerts and a test run before it's needed. Footnote: turning it on writes the events down; someone still has to collect them, keep them and read them. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-22", "id": "DGM-SVA-MA-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} IN SALESFORCE WHERE IT GOES Your org logins, page views, API calls, report exports Event log files CSV, hourly or daily: hours to a day behind A destination CRM Analytics or a security tool; kept as long as policy says Someone who reads it dashboards, alerts, a test run first events, written down pulled through the API read and acted on Turning it on writes the events down. Someone still has to collect them, keep them and read them. HOW TO READ IT the logs have somewhere to go © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

And the one that answers my class question: the exits data leaves by, and which ones Salesforce watches for you.

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

Six modules, each standing on its own.

  1. Event Monitoring Is a Fire Hose, So Point It Somewhere. What every org gets and what the add-on adds; late by design; log files and Event Log Objects; where the logs go; the flood nobody could trace.
  2. Real-Time Events Show Who Looked at Whose Record. Streamed and stored; the events that show who looked; the nurse and the famous patient; Threat Detection; learn what normal looks like first.
  3. Transaction Security Policies Notify, Ask for Proof, or Block. A condition and an action; Condition Builder or Apex; which events allow which actions; MFA becomes Block; notify first; a policy can lock people out.
  4. Watch the Exits for Reports, List Views, Files, APIs and Permission Changes. The salesperson who leaves with the customer list; the default report export policy; what it doesn’t cover; files; the permission change that opens the other exits.
  5. Setup Audit Trail, Field History and Field Audit Trail Show Who Changed What. Three questions an auditor asks; the Setup Audit Trail and its own permission; field and user history; who made the change; Field Audit Trail.
  6. Security Center, Health Check, and a Plan Someone Reads. “Yes, you bought it”; one org and many; the admin nobody uses; a plan with a reader for every row; HIPAA’s audit controls; test it before you need it.

Then check what stuck with the study guide.

  • Which questions monitoring has to answer, one row each: who looked, who took it out, who changed it.
  • Where every event goes, how long it’s kept there, and who keeps it past Salesforce’s own clock.
  • Who reads each alert, what counts as too much, and what they do next.
  • Which exits get a policy, which action each takes, and how it treats integrations and agents, where MFA becomes Block.
  • Who may change the policies, who holds Exempt from Transaction Security, and who reads the Setup Audit Trail.
  • Which fields to track, starting with the ones that decide access, and whether a regulation needs Field Audit Trail.
  • How each row is tested, before go-live and after every release.

Beyond the exam: what AI changes. An agent reads through the same doors as a person: reports, list views, the API. So the same events see it, the same policies can stop it, and the same history records its changes as whichever user it runs as. Decide that user on purpose, learn what normal looks like for it, and give its events a reader. Chapter 20 covers agents.

Each module lists its own sources. Two to start with:

Next: Beyond the Record: Agents