For off-platform integrations that use Salesforce APIs to push data into a managed package, the Salesforce security review requirements focus on ensuring that the integration handles authentication, data access, and sensitive information securely. Key points include:
Authentication & Authorization:
Use secure OAuth flows (JWT, Web Server, or Username-Password with MFA if needed).
Avoid storing credentials in source code or metadata.
Least Privilege Access:
Ensure the API integration user has only the necessary permissions to perform required actions in your package.
Avoid using System Admin profiles for integration users.
Data Protection:
Do not expose sensitive subscriber data in logs, metadata, or error messages.
Use Named Credentials or secure storage mechanisms for any API keys or secrets used by the integration.
Security Review Documentation:
Document the integration’s data flow, authentication method, and API permissions.
Provide clear instructions for subscriber org configuration during the security review.
Compliance with Salesforce Security Review:
The integration should follow Salesforce’s AppExchange Security Review Guidelines
.
Reviewers will check authentication flows, permission scopes, secure storage of secrets, and logging practices.
Following these best practices ensures your off-platform integration can safely push data into your package and meet Salesforce security review requirements.”