The FAQ content is accurate and provides solid guidance, requiring only minor improvements for clarity and consistency. The main changes made were: 1) Removed unnecessary 'you should' phrasing to make the content more direct and actionable, 2) Changed 'is not exposed' to 'isn't exposed' to match the conversational tone guidelines, and 3) Changed 'does not include' to 'doesn't include' for consistency with the brand voice requirements that favor contractions.
Regarding security rules selected:
- AvoidApiSessionId: This rule directly relates to the FAQ's guidance about avoiding session IDs within packages, which is mentioned in best practice #1 about avoiding 'sensitive information like session IDs within the package'
- AvoidUnauthorizedApiSessionIdInApex: The FAQ discusses secure session ID handling in Apex for Metadata API calls, which directly corresponds to this rule's purpose of preventing unauthorized session ID usage in Apex
- AvoidUnauthorizedApiSessionIdInVisualforce: The FAQ specifically mentions using Visualforce pages to obtain session IDs, making this rule highly relevant to the VF page security practices discussed
- AvoidUnauthorizedGetSessionIdInApex: The FAQ covers the process of securely obtaining session IDs and passing them to Apex, which relates to this rule's focus on preventing unauthorized session ID retrieval in Apex
- AvoidUnauthorizedGetSessionIdInVisualforce: Since the FAQ recommends using VF pages for secure session ID retrieval, this rule about preventing unauthorized session ID access in Visualforce is directly applicable
- ApexSuggestUsingNamedCred: While the FAQ mentions credentials for third-party integrations in the Postman collection documentation requirement, this rule promotes using Named Credentials as a security best practice for external API authentication