OBLYTECH Logo
OBLYTECH Logo

Incident Response Plan Testing for Suspected Salesforce Data Exposure

A tested incident response plan for suspected Salesforce data exposure names who declares the incident, who can change org settings while containing it, which logs answer the first questions, and how access is restored. Rehearsing those steps in a sandbox shows where the plan breaks: role assignments, log retention, or integration credentials nobody has written down.

Why a Salesforce exposure plan needs its own rehearsal

General incident plans tend to describe servers, laptops and network edges. A Salesforce org adds other exit points: the sharing model, reports and exports, connected apps, integration users, and permission sets that have grown over years. A suspected exposure might start with a user who sees more than their job needs, a credential stored in middleware, or a permission change nobody reviewed. The plan should name those objects directly.

Plans that have not been run fail in the same few places. The named people lack the access they need, audit records have aged out, or a containment step breaks a sync that a sales team depends on. A rehearsal surfaces those problems before anything is actually on fire.

Name the roles and the decisions each one owns

Write the roles down before the drill. Each role should own a decision, not just a task list:

  • Incident lead: declares the incident, keeps the timeline, and moves the response between phases.
  • Org administrator: makes containment changes such as deactivating users, editing permission sets, or changing sharing settings.
  • Integration owner: identifies which middleware, connected apps and service accounts depend on the affected access path, and approves credential rotation.
  • Data owner: lists the objects and fields that hold regulated or customer data, so scope can be measured against real records.
  • Privacy or legal contact: decides whether notification duties apply and sets the review deadline.
  • Communications contact: drafts messages from the timeline rather than from memory.

The org administrator is often the person whose account is under review, so name a second approver for administrative changes made during the incident.

Give each integration its own user and permission sets scoped to what it needs. Its activity then appears under its own identity, and a rotation can target it without disabling a person’s login.

Build the evidence inventory before the drill starts

Before the drill, list each evidence source, who can query it, how long it is kept, and where exported copies are stored. During the run, time how long each answer takes to find.

Start with the platform records that cover administrative and data-level changes:

  • Setup Audit Trail: records administrative configuration changes, but only keeps them for a limited period. A change made months before discovery may already have aged out, so confirm the retention window in your own org.
  • Field Audit Trail: keeps a history of tracked field values. How far back it reaches depends on the retention settings in your org, which matters when the question is what a field held on a past date.
  • Event Monitoring: where licensed, produces event log data that can be exported to a SIEM platform for correlation and alerting.
  • Identity provider records: sign-in events from single sign-on and multi-factor setup show which identities authenticated, and from where.
  • Middleware and integration logs: often the main record of what an integration sent, when, and under which credential.

Setup Audit Trail records changes but raises no alert, so the drill should include a scheduled review of it. Event log data only helps once someone has collected it and set rules for what to look for, so test that path during the drill.

If a change was never recorded, or the record has been overwritten or has aged out, the drill cannot recover it. Store exported logs where org administrators cannot edit them, and log who exported them and when.

Run the drill against a fixed scenario in a sandbox

Run the drill in a sandbox, not production. The sandbox must reflect the configuration under test, so schedule its refresh before the drill. For timing, see sandbox refresh planning.

Give the team a scenario with a clear start point, such as an integration credential copied into a shared spreadsheet, followed by a report export from an account with broader access than its owner expects. Share the scenario and its start time, and nothing more.

Run this sequence and record the clock time at the end of each step:

  1. Declare the incident and record the time.
  2. Freeze the suspected access path: deactivate the user or disable the integration user, then rotate the credential with the integration owner’s approval.
  3. Pull audit records from the earliest suspicious event, not from the date the alert arrived.
  4. Match the objects, fields and reports touched against the data owner’s inventory.
  5. Decide whether notification duties apply, and record who made that decision.
  6. Restore access in a controlled order, starting with the least sensitive path.
  7. Close the timeline with a scope statement and a list of open questions.

A common stall is step three, when a needed log turns out not to have reached the SIEM, or its retention is shorter than the suspected access period.

Contain access without breaking integrations

Containment can stop data leaving the org and also stop a sync that a business process depends on. Before the containment phase, record each integration’s running user, its connected app or named credential, the objects it touches, and its schedule.

Certificate handling needs its own steps. An expired certificate can break the trust an integration depends on, and the calling system may reject connections until a valid one is in place. A compromised private key means reissuing the certificate and deploying the replacement everywhere the old one is in use. Test reissuance during the drill, and note which integration goes down during the swap.

Validation rules can also block recovery when a restore step writes records that a rule rejects. For the integration side of that problem, see validation rules without breaking integrations.

Check permission sets and access paths before the drill

Confirm who holds the permissions the response depends on: deactivating users, editing permission sets, changing sharing settings, and exporting reports. Check each name against current assignments, because permissions drift and a temporary grant may still be active.

Grant the response team just what each role needs, through permission sets that can be removed when the drill ends. For a model of keeping those grants readable in a small team, see permission set design for small teams.

Field-level security can hide a field even when a sharing rule is broader than intended, so check the sensitive fields the data owner listed.

Measure the drill and update the plan

Track four measures per run: time to declare, time to freeze the access path, time to scope the exposure, and the number of steps that needed someone who was not on the call.

Turn each gap into a change with an owner and a retest date. Retest the affected step rather than the whole drill.

Plan for three kinds of control and name the one each step relies on. Preventive controls stop an action before it happens, such as object-level (CRUD) and field-level security checks. Detective controls, such as Event Monitoring where licensed, surface actions after they happen. Responsive controls, such as requiring stronger verification for a session, limit what can follow.

For help planning this work, see Salesforce implementation.

Keep the test current as the org changes

Rerun the drill after a sandbox refresh, a new integration, a change to administrative permissions, a new group of external users, or a login policy change. External users need extra attention, because the login options on an Experience Cloud site decide how those users authenticate. An investigator has to know that method before reading the first sign-in records. See Experience Cloud login options when you update that part of the plan.

Questions about running the drill

How long should one drill session take?

A tabletop walk-through with the incident lead, org administrator and integration owner typically fits in about ninety minutes. A hands-on sandbox run takes longer because the team has to pull real audit records and time each step. Schedule it separately, so the people reading logs are not also keeping the timeline.

Should the drill run against production?

Run containment steps in a sandbox. In production, limit the test to checks that change nothing: pulling audit records for a past window, confirming the SIEM receives a test event, and reviewing who holds the permissions named in the plan. Deactivating a live user as a test puts real business processes at risk.

Who should lead the drill?

Choose someone who is not the org administrator for the scenario. The lead keeps the clock and pushes decisions forward, a job that an administrator who is also running containment tends to let slip.

What does a drill with no gaps tell you?

Usually that the scenario was too easy. Remove one detail, such as which integration owns the credential, and see whether the team recovers it from the audit records. A clean run should still produce a written timeline and a checklist.

Does the drill need legal review first?

The drill tests whether legal and privacy contacts are reached in time with the right facts. It does not settle the notification question. Record the contact path, the hours it covers, and the facts the contact needs at the start, and leave conclusions to counsel.