Ncino
Sharing
specify-sharing-level
specify-sharing-level
Every Apex class should have an explicit sharing mode declared. Use the with sharing
or without sharing
keywords on a class to specify whether sharing rules must be enforced. Use the inherited sharing
keyword on an Apex class to run the class in the sharing mode of the class that called it.
Likelihood: MEDIUM
Confidence: HIGH
CWE:
- CWE-284: Improper Access Control
OWASP:
- A04:2021 - Insecure Design