Salesforce compliance is the ongoing work of showing auditors and regulators that an org handles data and change correctly: what sensitive data the org stores and how that data is classified, who can access the data, how configuration changed over time, and who approved and deployed each change. Regulations such as GDPR, CCPA, HIPAA, PCI DSS, and SOX each ask for different evidence, but most of that evidence comes from the same sources in Salesforce.
Evidence Auditors Usually Ask For
- A data inventory. Which objects and fields hold personal or regulated data, and how each field is classified.
- Access controls. Who can see and change sensitive data, and why.
- Change history. What configuration changed between two dates, and a record of each deployment with the source, destination, and result.
- Activity records. Logins, setup changes, and changes to sensitive records.
- Proof of review. Evidence that the checks are repeated, not done once before an audit.
How to Approach Compliance
- Classify fields in Salesforce. Record each field's data sensitivity level and compliance categories on the field definition, so classification travels with the metadata.
- Document the data model. Keep a current data dictionary of objects, fields, and classifications, and archive a copy at each audit point.
- Keep a change record. Capture metadata snapshots on a schedule and keep deployment history, so any two points in time can be compared.
- Review access to classified data. Check permissions and record sharing for objects and fields marked sensitive.
- Automate the checks. Schedule recurring reports and alerts so evidence accumulates without a project before each audit.
How Snapshot Helps
- Data Dictionary Report and Org Dictionary Report: document objects, fields, properties, and wider metadata configuration in readable tables for audits and handoffs.
- Field Usage Report: Edit Classification updates a field's Field Usage, Data Sensitivity Level, Description, Help Text, and Compliance Group alongside the field's actual data population.
- Deployment Results Report: reviews recorded deployments between two orgs, with the Salesforce results and the original Create and Delete job lists.
- Metadata Differences Report: documents exactly what changed between two orgs or two saved points in time, and can alert when differences appear.
Recorded classifications describe intent. Classifications do not enforce permissions or demonstrate regulatory compliance by themselves.
Metadata Types Involved
-
CustomField: holdssecurityClassification,complianceGroup, andbusinessStatusfor each field. -
CustomObject: the objects that store regulated data.
Common Questions
Where should data classification be recorded?
On the field definitions in Salesforce, using the data sensitivity level and compliance categorization settings, so the classification is captured with the metadata and visible in documentation.
How do I prove what changed in the org last quarter?
Compare metadata snapshots from the start and end of the quarter, and pair the comparison with the deployment history for the same period.
Does classifying a field restrict access to the field?
No. Classification labels data. Access still depends on field-level security, object permissions, and record sharing.