I made minor wording improvements to enhance clarity and flow. Changed 'does not perform' to 'doesn't perform' following the conversational tone guidelines that recommend using contractions. This makes the FAQ more accessible and conversational while maintaining all technical accuracy and security guidance.
Regarding the security rules selected:
- **ApexSuggestUsingNamedCred**: The FAQ specifically mentions 'REST resources with named credentials' as an acceptable approach for secure authentication, directly relating to this rule's purpose of encouraging named credential usage.
- **ApexInsecureEndpoint**: The FAQ discusses REST API endpoints and callouts, making endpoint security directly relevant. The guidance about proper security controls addresses the concerns this rule identifies.
- **LimitConnectedAppScope**: The FAQ explicitly mentions using 'a Connected App' for secure authentication and authorization, directly relating to this rule's focus on limiting connected app permissions.
- **UseHttpsCallbackUrlConnectedApp**: Since the FAQ discusses connected apps for REST API authentication, HTTPS callback URL security is a relevant consideration for the connected app configuration.
- **ApexCRUDViolation**: The FAQ discusses 'metadata operations' and 'elevated permissions' which involve data access operations that should respect CRUD permissions, making this rule relevant to the security considerations.
- **ApexSharingViolations**: The FAQ addresses 'elevated permissions' and allowing 'non-admins to update metadata', which directly relates to sharing and access control concerns that this rule addresses.