Monitoring: Real-Time Events, Log Files and Transaction Security
Konten ini belum tersedia dalam bahasa Anda.
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.
The ideas in this chapter
Section titled “The ideas in this chapter”- 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.
The picture
Section titled “The picture”Here’s where the chapter starts: the fire hose, and why it has to point somewhere.
And the one that answers my class question: the exits data leaves by, and which ones Salesforce watches for you.
The path through this chapter
Section titled “The path through this chapter”Six modules, each standing on its own.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
What an architect decides here
Section titled “What an architect decides here”- 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.
Explore
Section titled “Explore”Each module lists its own sources. Two to start with:
- Event Monitoring (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Transaction Security (opens in a new tab), Salesforce Help (checked 2026-11-26)
