A Salesforce security audit is a structured review of who can access what in an org, how the org is configured, which external systems connect to the org, and what users have actually done. Audits happen before a compliance review, after an incident, when a new security team takes over, or on a regular schedule. A useful audit produces specific findings that someone can fix, not a general impression that the org is secure.
What a Security Audit Covers
- Org settings. Password policies, session settings, login restrictions, and other security settings compared against a recommended baseline.
- User access. The object, field, and system permissions each user receives from a profile, permission sets, and permission set groups, including powerful permissions such as Modify All Data and View All Data.
- Record access. Who can see or edit sensitive records, and why: ownership, the role hierarchy, sharing rules, manual sharing, or administrative permissions.
- External connections. Connected apps, named credentials, remote sites, and other endpoints through which data enters or leaves the org.
- Activity. Logins, setup changes, and record activity, especially for administrators, departing employees, and consultants.
How to Approach an Audit
- Start with configuration. Run Salesforce Health Check and review every setting that differs from the recommended value.
- Review high-risk permissions. List every user who can modify all data, view all data, manage users, or customize the application, and confirm each one has a business reason.
- Trace access to sensitive records. For the records that matter most, find every user who can view or edit them and the reason each user has access.
- Inventory integrations. List every configured external endpoint and check for unencrypted connections, broad OAuth scopes, and endpoints no one owns.
- Check activity. Review logins and setup changes for the audit period. Setup Audit Trail keeps 180 days of setup changes, so export the history if the audit needs a longer record.
- Record and repeat. Save the findings, fix the highest risks first, and rerun the same checks on a schedule.
How Snapshot Helps
- Org Health Scan Report: runs more than 150 configurable tests across Security Risks, Compliance Audit, Forgotten Assets, Technical Debt, Inactive Cleanup, Best Practices, and Code Quality, and grades each result Pass, Warn, or Fail against your thresholds.
- Security Health Check Report: compares each security setting's org value with the standard value, shows the risk classification, and can send scheduled alerts only when medium or high risks appear.
- Record Level Security Report: shows who can view or edit selected records and the share reason, resolving role and group sharing to individual users.
- External Connections Report: inventories external endpoints found in metadata, with direction, host, risk level, and security flags such as Not HTTPS, Sends Session ID, and Full Access Scope.
- User Activity Timeline Report: combines logins, setup changes, and record activity by user and date, with configurable risk levels.
These reports describe configuration and recorded activity. Passing grades do not establish complete security or regulatory compliance; each finding still needs review by the people who own the systems.
Metadata Types Involved
-
ProfileandPermissionSet: the permissions users receive. -
Settings: org-level security, session, and password configuration. -
ConnectedApp: external applications that authenticate to the org, with OAuth scopes and session policies. -
RemoteSiteSetting: external sites registered for outbound calls from the org.
Common Questions
How often should a Salesforce org be audited?
At least once a year and after major changes such as a merger, a large release, or a change of administrators. Scheduling the same checks to run automatically turns a one-time audit into ongoing monitoring.
Is Salesforce Health Check enough for an audit?
No. Health Check covers org-level security settings. An audit also needs user permissions, record access, integrations, and activity history.
How far back can I see setup changes?
Setup Audit Trail shows the last 180 days. Save exports or snapshots regularly if audits need a longer history.