User activity monitoring answers the question "what did this person actually do in Salesforce?" Permissions show what a user could do; activity records show what the user did: when the user logged in and from where, which setup changes the user made, and which records the user created or changed. Admins and security teams need these answers after an incident, when an employee or consultant is leaving, and as routine oversight of privileged users.
Where Salesforce Records Activity
- Login History records login attempts, successes and failures, and source details. Setup shows the last six months.
- Setup Audit Trail records configuration changes made in Setup for the last 180 days.
- Field history tracking records changes to tracked fields on tracked objects, kept for 18 months by default.
- Record fields such as created and last modified dates and users show who created or last changed each record.
- Event Log Files record detailed events such as API calls, report exports, and page views. Most event types require the Event Monitoring add-on.
How to Approach Monitoring
- Define who to watch. Focus on administrators, integration users, departing employees, and contractors.
- Combine the sources. A single timeline across logins, setup changes, and record activity reveals patterns that separate logs hide.
- Classify risk. Decide which activities count as high, medium, or low risk for your org, such as permission changes, mass exports, or logins from unusual locations.
- Alert on exceptions. Schedule regular checks that report only when high-risk activity appears.
- Keep the evidence. Export results before built-in retention periods expire.
How Snapshot Helps
- User Activity Timeline Report: in Select Activities, use Select Users, set dates, and check Event Log Files, Login History, Setup Audit Trail, Standard Objects, Custom Objects, or History Objects. Results cover logins, setup changes, record creation and modification, and field history, with timestamps, record IDs, and event details. Manage Risk assigns High Risk, Medium Risk, or Low Risk to activities, and Schedule Report can deliver results after each new snapshot, limited to medium or high risk, or to high risk alone.
Risk classifications do not establish malicious intent or approval, and the report covers only the selected users, dates, and sources.
Metadata Types Involved
-
TransactionSecurityPolicy: event-driven policies for Real-Time Event Monitoring that can block an operation, require multi-factor authentication, or notify an administrator when conditions match.
Common Questions
How can I see what a user changed in Setup?
Setup Audit Trail lists configuration changes by user for the last 180 days. Combine Setup Audit Trail with login history to see the full session context.
Can I see which records a departing employee viewed or exported?
Record views and exports are captured in Event Log Files, which generally require Event Monitoring. Record creation and modification are visible from record fields and field history.
How do I get alerted about risky activity?
Assign risk levels to activity types and schedule a recurring check that sends results only when medium or high risk activity is found.