The security review requirements for parts of your application hosted on an external platform like AWS include:
1. **Testing External Endpoints**: Test all external endpoints that are part of your solution to ensure secure data transfer and authentication, especially those handling Salesforce data or user authentication.
2. **Security Scans**: Use automated security scanning tools on external endpoints, document false positives, and fix vulnerabilities that don't meet Salesforce security guidelines.
3. **Control Over Endpoints**: You must have control over external endpoints, including the ability to place a token in the web app root for testing. If you don't control the endpoint, the review cannot proceed.
4. **HTTPS for Callback URLs**: Ensure all callback URLs use HTTPS for secure communication.
5. **Staging Environments**: Testing can be done on staging environments if they are functionally equivalent to production. SSL scans will be performed on the production version, and invalid certificates are allowed only on staging.
6. **Compliance with Security Standards**: The external platform must use TLS v1.2 or above, mark session IDs as secure, and avoid wildcarded CORS configurations for non-public endpoints.
7. **Documentation**: Provide all necessary documentation, including security scan reports, and ensure the external platform adheres to Salesforce's security standards.
These steps help protect customer data and ensure the security of your application.