A Salesforce integration audit finds every external system an org connects to and checks how each connection is secured. Over the years, orgs collect connected apps, named credentials, remote site settings, Apex callouts, outbound messages, and browser trust settings for vendors that may no longer be in use. Each connection is a path for data to leave or enter the org, so security teams need a complete, current list before approving a new vendor, after an incident, or during a compliance review.
Where Integrations Hide
- Authentication configuration. Connected apps, external client apps, and auth providers define how outside applications sign in to Salesforce or how Salesforce signs in elsewhere.
- Outbound endpoints. Named credentials, external credentials, and remote site settings define where Salesforce can send requests.
- Code and automation. Apex classes, flows, outbound messages, and Lightning components can call external URLs, sometimes typed directly into the code.
- Browser trust. CSP trusted sites and CORS allowed origins let browser code load resources from, or be called by, outside domains.
What to Check
- Encryption. Endpoints that use plain HTTP instead of HTTPS.
- Scope. OAuth configurations that grant full access, and refresh tokens that never expire.
- Session exposure. Integrations that send the user's session ID to an outside system.
- Ownership. Hosts that no one in the company recognizes or still pays for.
- Direct URLs. Endpoints typed into code instead of referenced through a named credential, which makes rotation and review harder.
How to Approach an Audit
- Inventory every endpoint from metadata, grouped by external host so one vendor's connections stay together.
- Classify direction as inbound to Salesforce or outbound from Salesforce.
- Review the highest risks first, then confirm an owner for every remaining host.
- Remove what is unused, after checking login and token activity for the integration user or app.
- Repeat on a schedule so new connections are reviewed as they appear.
How Snapshot Helps
- External Connections Report: inventories external endpoints from a metadata snapshot without logging into Salesforce. Each row shows the classification, direction, host, the endpoint with credentials and query strings removed, how the endpoint was resolved (a direct URL, a Named Credential, or a dynamic destination), the risk level, and security flags such as Not HTTPS, Sends Session ID, and Full Access Scope. Sort By Risk Level prioritizes findings, Show Usage shows the surrounding text, and Summary groups results by metadata type and external host.
- Impact Analysis Report: shows which classes, flows, and other assets reference a named credential or connected app before you change or remove the connection.
Configured endpoints do not prove actual use, and No Risk Found does not certify safety. Usage evidence such as login history and OAuth token activity lives outside metadata.
Metadata Types Involved
-
ConnectedAppandExternalClientApplication: external applications that authenticate to Salesforce. -
NamedCredentialandExternalCredential: named callout endpoints and how Salesforce authenticates to them. -
RemoteSiteSetting: external sites registered for outbound calls. -
CspTrustedSiteandCorsWhitelistOrigin: browser trust for outside domains. -
AuthProvider: external authentication services for single sign-on and OAuth.
Common Questions
How do I find every system my Salesforce org connects to?
Combine authentication configuration, outbound endpoint settings, and URLs found in code and automation into one list, grouped by external host.
Why are named credentials preferred over URLs in code?
A named credential keeps the endpoint and authentication in one reviewable place, so code refers to the connection by name and secrets are not scattered through the org.
Does a configured endpoint mean the integration is active?
No. Metadata shows what is configured. Confirm use with login history, OAuth token activity, or the vendor before removing a connection.