Skip to main content

Salesforce

Description​

The Salesforce connector uses the Salesforce REST API to discover user accounts, permission sets, profiles, and role assignments within a Salesforce org. It authenticates using OAuth 2.0 and enumerates all active and inactive users along with their assigned Salesforce profiles and permission sets, providing visibility into CRM application access.

System Type Classification​

FieldValue
System TypeApplication
Default Scan Priority500

Version Support​

OrbisID EditionSupported
CommunityNo
ProYes
EnterpriseYes

Supported Protocol​

ProtocolPortNotes
REST API (HTTPS)443 TCPOAuth 2.0 username-password or client credentials flow

What OrbisID Discovers​

DataSource
UsersGET /services/data/v57.0/query?q=SELECT+Id,Username...+FROM+User
ProfilesGET /services/data/v57.0/query?q=SELECT+Id,Name+FROM+Profile
Permission setsGET /services/data/v57.0/query?q=SELECT+Id,Name+FROM+PermissionSet
Permission set assignmentsPermissionSetAssignment object
User enabled stateIsActive field

Connection Requirements​

Required Permissions​

Create a dedicated connected app and service account with read access to user and permission objects.

Minimum permissions:

  • View All Users system permission
  • View Setup and Configuration system permission
  • API access enabled on the profile

Credential Mapping​

OrbisID FieldValue
credential.usernameSalesforce username (e.g., scanner@example.com)
credential.passwordSalesforce password + security token (concatenated)
system.clientIdConnected app Consumer Key
system.clientSecretConnected app Consumer Secret

Network Requirements​

The OrbisID server must have HTTPS access to login.salesforce.com and {instance}.salesforce.com on port 443.

Configuration Steps​

  1. Create a Connected App in Salesforce: Setup → App Manager → New Connected App
  2. Enable OAuth and add Full access (full) or restricted scopes
  3. Create a dedicated integration user with View All Users and API access
  4. Create a Credential in OrbisID:
    • Username: Salesforce integration username
    • Password: Password concatenated with security token
  5. Navigate to Systems → Add System
  6. Fill in the fields:
FieldValue
NameDescriptive name (e.g., Salesforce – Production Org)
OS TypeSalesforce
System TypeApplication
Client IDConnected app Consumer Key
Client SecretConnected app Consumer Secret
CredentialThe integration user credential
  1. Click Test Connection
  2. Click Save

Troubleshooting​

SymptomLikely CauseResolution
Authentication failedInvalid credentials or security tokenAppend the security token to the password field
INVALID_LOGINIP not trustedAdd the OrbisID server IP to the org's trusted IP ranges
No users returnedMissing View All Users permissionEnable the system permission on the integration profile
API_DISABLED_FOR_ORGAPI access not enabledEnable API access in the Salesforce org and user profile