To properly document and include all external endpoints for a security review:
1. **Identify External Endpoints**: List all external endpoints in your solution, including those not hosted on the Salesforce platform, and specify their roles, such as authenticating users or transferring Salesforce data.
2. **Determine Scope**: Use a "follow-the-data" approach to focus on endpoints where customer data or credentials are transferred.
3. **Verify Control**: Confirm you have control over the endpoints. For third-party-managed endpoints, obtain their consent for the review and their commitment to address any issues.
4. **Conduct Security Testing**: Use Dynamic Application Security Test (DAST) tools like ZAP, Burp Suite, HCL AppScan, or WebInspect to test the endpoints. Include the scan reports in your submission.
5. **Provide Access Details**: Include URLs and login credentials for external components requiring authentication.
6. **Submit Security Scan Reports**: Provide security scan reports (e.g., DAST reports) and document any false positives with explanations.
7. **Document Configuration**: Ensure the endpoints comply with security requirements, such as marking session IDs as SECURE and using TLS v1.2 or above.
8. **Obtain Permissions**: Secure necessary permissions to perform security testing on third-party-owned endpoints.
9. **Meet Security Standards**: Ensure endpoints use TLS v1.2 or above and avoid weak ciphers.
10. **Complete Submission**: Include test environments, solution documentation, and any additional credentials in your security review submission.
11. **Disclose Exceptions**: If there are endpoints you do not control, disclose them and provide an action plan for addressing potential issues.
12. **Include Supporting Documentation**: Add architecture diagrams, data flow details, and explanations for any false positives in your security review submission.
Make sure all documentation is complete and accurate to avoid delays in the review process and follow these steps to ensure compliance with security review guidelines.