Join our Newsletter — 33% off our NHI Course
Home› Glossary› Governance, Ownership & Risk› Setup Audit Trail
Governance, Ownership & Risk

Setup Audit Trail

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Governance, Ownership & Risk

Setup Audit Trail is a Salesforce log of configuration changes made in Setup, recording the change, the user and the time. Attackers with administrative access may alter permissions, login settings or connected apps, and this log can reveal it. Retention is limited, so organisations should export or forward entries and review them regularly.

What Setup Audit Trail Captures

Setup Audit Trail records administrative configuration changes made in Salesforce Setup, including what changed, who changed it, and when it happened. That makes it a control-plane record rather than a business-data log: it is designed to show how the org’s security and configuration posture was altered, not what end users did inside application records.

Because these events can include changes to permissions, login policies, connected apps, and other setup objects, the log is often one of the few places that can corroborate whether an administrative change was authorised, mistaken, or suspicious. It is most useful when read alongside other Salesforce logs, because a single Setup Audit Trail entry usually tells you that something changed, not whether it was part of a broader attack chain.

Why It Matters for Security and Governance

Setup Audit Trail matters because administrative changes are a common way to weaken an environment without touching data directly. If an attacker gains high-level access, they may use Setup to broaden permissions, relax login controls, or alter trusted integrations, and the audit trail can expose that drift after the fact. For broader control and review context, it is useful to compare the log against Salesforce Security Checklist expectations for privileged settings and connected apps.

Governance value is strongest when organisations treat the log as evidence of configuration accountability. Regular review helps answer who changed a sensitive control, whether the change fits change-management approval, and whether repeated adjustments suggest weak admin hygiene or delegated access that is too broad.

Retention, Export, and Correlation

Retention is a practical limitation of Setup Audit Trail, so organisations should not rely on the native window as their only source of truth. Exporting or forwarding entries extends the evidence trail and reduces the chance that important changes disappear before they are reviewed. That is especially important for regulated environments or for incident investigations that may begin after the native retention period has elapsed.

The log is most valuable when correlated with other Salesforce telemetry. Pairing Setup changes with login history, event monitoring, connected app activity, and change approvals helps distinguish routine administration from suspicious change sequences. A useful operational pattern is to preserve Setup Audit Trail before troubleshooting or remediation begins, because later corrective actions can overwrite the original context in someone’s memory, even if the log itself remains intact.

For retention strategy and forwarding decisions, SaaS Audit Log Retention and Licensing Guide covers the broader problem of audit-log gaps across cloud platforms, including when export or streaming becomes necessary.

What to Review After Suspicious Changes

When a suspicious entry appears, the key question is whether the change enabled access, persistence, or concealment. A login policy change, permission adjustment, or connected-app alteration can be a precursor to deeper compromise, especially if it coincides with unusual sign-ins or new integration behaviour. Review the surrounding administrative activity, verify whether the change matches a ticket or approved request, and look for follow-on actions that rely on the altered setting.

If the change involves connected apps, token behaviour, or repeated admin edits, the investigation should move beyond the audit trail itself. Pairing it with investigation guidance from Salesforce Event Monitoring Detection Guide helps connect configuration drift to abuse patterns, while Salesforce Org Compromise Playbook provides the response path when malicious changes are part of an active compromise.

Risk and Threat Considerations

Setup Audit Trail is only as useful as the organisation’s ability to preserve and review it. If it is not exported, monitored, or correlated with other logs, attackers with administrative access can change critical settings and leave only a short-lived trail behind. The main risk is not the log itself, but the false confidence that native retention alone provides enough accountability.

Failure mechanism: Administrative abuse or takeover changes permissions, login controls, or trusted integrations, and the evidence ages out before it is reviewed or preserved.

Impact: Organisations may miss privilege escalation, persistence, or malicious configuration drift, which can lead to broader data exposure and a weaker incident timeline.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 sets the technical controls, while SOC 2 (AICPA) defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
SOC 2 (AICPA)CC7.2 — Change ManagementSetup Audit Trail supports monitored change control over sensitive Salesforce configuration
Recommendation — Review and retain administrative configuration changes as evidence of controlled system change.
NIST SP 800-53 Rev 5AU-6 — Audit Record Review, Analysis, and ReportingThe log exists to support review and analysis of administrative events
AU-11 — Audit Record RetentionNative retention limits make preservation of these records a material control need
CM-3 — Configuration Change ControlSetup Audit Trail evidences changes governed by formal configuration control
Recommendation — Review Setup Audit Trail entries and investigate unusual configuration changes promptly. Extend retention by exporting or forwarding Setup Audit Trail records to a durable store. Require approval and traceability for Salesforce setup changes that affect security posture.

Practitioner Guidance

Why practitioners should care: Treat Setup Audit Trail as a control-evidence source, not just a troubleshooting aid. Its value depends on whether someone is responsible for reviewing it, exporting it, and tying it back to approved change activity. If nobody owns that review path, the log becomes forensic residue rather than active defence.

Common misunderstanding: Teams often assume that because Salesforce records the change, they do not need a separate retention or monitoring process. In practice, short retention means the organisation must decide how the log is preserved, where it is reviewed, and what other telemetry it must be joined with to make the record actionable.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org