Resources /
Blog

How to Implement Salesforce Data Compliance: 8 Steps

Submit your details to get a book

10
Min Read
Resources /
Blog

How to Implement Salesforce Data Compliance: 8 Steps

Download

Submit your details to get a book

10
Min Read
Compliance document with a check badge on a round platform, linked to lock, scales and bank tiles
Compliance document with a check badge on a round platform, linked to lock, scales and bank tiles

To implement Salesforce data compliance, you take each law that covers your customer data and turn it into org settings, a few repeatable processes and the evidence an auditor will ask for. That comes down to eight steps: map the rules to your fields, name owners, lock down access, encrypt and monitor, control changes, set retention, check integrations and review on a schedule.

Salesforce gives you the security capabilities, but your organization is the one that configures them and proves they work. Where a law needs more detail than fits here, we've linked our longer posts on GDPR, CCPA, HIPAA and SOX.

What is Salesforce data compliance?

Think of it as everything your organization does so that personal, financial and health records in your org get collected, stored, opened and deleted the way data privacy and data protection laws say they should. That includes your written policies, the security settings behind them and the logs that show people actually follow both.

Trailhead lists the customer's shared responsibility duties as "user access management, data governance, protection against accidental or malicious user actions, backup, and recovery of specific data." Our guide to the Salesforce shared responsibility model explains where the vendor's duties stop and yours start.

Why does Salesforce data compliance matter?

When something goes wrong, the clock starts quickly: under the GDPR, you have to tell the supervisory authority about a breach within 72 hours where feasible. That's hard to do if nobody switched on the right logs months ago.

People also have rights over their own records, from giving consent to asking you to delete them. Salesforce sells Privacy Center to help you manage customer consent and those requests, though the work itself still sits with you.

Which regulations apply to Salesforce data?

If you sell in more than one country or industry, you'll probably answer to several of these laws at the same time. The table sums up what four of the usual ones ask of the records you keep in Salesforce, with the post that goes into each one properly.

RegulationWhat it asks of your Salesforce dataDeep dive
GDPRSecurity appropriate to the risk, erasure on request, breach notice within 72 hoursSalesforce GDPR compliance explained
CCPARights to know, delete, correct, opt out and limit, with 45 calendar days to answer a request to know or deleteCCPA compliance with Salesforce
HIPAA Security RuleAccess control, audit controls, integrity, user authentication and transmission security for ePHIHow to make Salesforce HIPAA compliant
SOXInternal control over financial reporting, evaluated by managementSOX compliance in Salesforce

GDPR

Article 32 asks for measures that include "the pseudonymisation and encryption of personal data" and ongoing confidentiality, integrity and availability. Article 17 gives people the right to have their data erased "without undue delay" on the listed grounds.

The General Data Protection Regulation also sets the fines for getting it wrong. Breaking the basic principles can draw fines of up to EUR 20 million or 4% of worldwide annual turnover, whichever is higher, as our post on Salesforce GDPR compliance explains.

CCPA

On California's attorney general's site, consumers get the right to know, delete, opt out, correct and limit how you use their sensitive personal information.

You've got 45 calendar days to answer a request to know or delete, and a deletion request also means telling your service providers to delete the data. Our guide to CCPA compliance with Salesforce covers the setup.

HIPAA

The Security Rule's technical safeguards cover access control, audit controls, integrity, person or entity authentication and transmission security. Encryption is listed there as addressable rather than required, and automatic logoff is too.

Required documentation must be kept for 6 years from creation or from when it was last in effect. For the setup steps, see how to make Salesforce HIPAA compliant.

SOX

Exchange Act Rule 13a-15 requires public companies to maintain internal control over financial reporting, and Salesforce often holds data that feeds those reports. Our guide to SOX compliance in Salesforce covers the controls auditors test.

The SEC's seven-year retention rule is easy to misread, since it applies to auditors' records of an audit. Set your own retention period for the Salesforce data behind those reports.

Section 802 of the Sarbanes-Oxley Act also made it a federal crime for anyone to destroy, alter or falsify records to obstruct an investigation, with up to 20 years in prison. It covers records destroyed in contemplation of an investigation too, so a legal hold belongs in your retention plan.

How do you implement Salesforce data compliance?

You'll get the most out of these steps if you take them in order, since each one leans on the work before it. Auditors want proof rather than screenshots taken the week before, so the table gives the short version: each step, the Salesforce features involved and the evidence worth keeping.

StepSalesforce featuresEvidence to keep
1. Map regulationsField sensitivity classificationCompliance matrix and record of processing
2. Assign ownersPolicies under version controlSigned policies and an ownership list
3. Access controlsMFA, permission sets, permission set groupsAccess review records
4. Encryption and monitoringShield Platform Encryption, Security Health CheckEncryption decisions and Health Check results
5. Change controlSetup Audit Trail, field history, Field Audit Trail, Code AnalyzerApprovals, scan results and exported audit logs
6. Retention and deletionRecycle Bin, Privacy CenterRetention schedule and completed deletion requests
7. Integrations and residencyConnected apps, Hyperforce regionIntegration inventory and data processing terms
8. MonitoringEvent MonitoringAlerts, incident records and review notes

1. Map each regulation to objects and fields

Begin with a plain spreadsheet that lists each rule you're bound by and the objects, fields and files it touches, such as Contact.Email. If the GDPR applies, Article 30 already asks you to keep a record of processing activities, so this sheet can feed straight into it.

While you're in there, tag each field by how sensitive it is, because that decides what you encrypt, mask or purge later. Our guides on data sensitivity classification and how to classify and label sensitive data in Salesforce suggest some tiers.

It helps to jot down why you hold each kind of personal data, too. When consent is the reason, Article 17 lets people ask for erasure once they withdraw it, so you'll want an easy way to delete those fields.

2. Assign owners and write the policies

Settings slowly drift when nobody owns them, so give each object an owner and a short written policy. Decide who approves changes, who hands out access and who replies when a customer asks what you hold on them.

Walk through those choices with legal, security and your Salesforce admins before you sign anything off. Then keep the policies under version control, so a policy change has a history the same way a metadata change does.

Our post on Salesforce data governance best practices covers ownership and quality rules. For the rollout itself, see how to implement data governance in Salesforce.

3. Lock down access controls

Start with logins. Multi-factor authentication for user interface logins isn't optional, since Salesforce makes it part of its terms of service, and you can also require it for API access and high-assurance sessions.

Then look at who can see which objects and fields, where Trailhead recommends permission sets and permission set groups over broad profiles. That way you can enforce least privilege, as our guide to least privilege for Salesforce data protection explains.

If you hold health data, HIPAA's access control standard wants unique user identification for everyone who touches ePHI, so shared team logins have to go. Treat integration users the same way, since each one is another door into your org.

4. Encrypt and monitor to protect sensitive data

Much of the heavy lifting here comes from Salesforce Shield, a paid add-on that bundles four products: Event Monitoring, Platform Encryption, Field Audit Trail and Data Detect. Platform Encryption is the one that protects sensitive data at rest, down to fields, files and attachments.

You can also run Security Health Check to see how your settings stack up against the Salesforce Baseline Standard or a baseline you define. When you're picking fields to encrypt, our Shield Platform Encryption admin guide goes through the tradeoffs.

Data Detect can scan millions of records for hidden PII, such as an ID number someone typed into a free-text field. Salesforce markets Shield to teams working toward HIPAA, SOX or PCI DSS, but you still write the policies and run the reviews.

5. Control changes to configuration and code

Auditors will ask who changed what in Setup, and when. Setup Audit Trail shows the 20 most recent setup changes and lets you download 180 days, after which the records are deleted, so export them on a schedule.

Changes to the data itself are tracked separately: standard field history covers 20 fields per object and keeps 18 months in the UI. Field Audit Trail takes you to 200 fields per object, as our Field Audit Trail guide explains.

For releases, each production change should point back to an approved work item, and whoever wrote it shouldn't be the one who approves and deploys it. Before anything ships, Salesforce Code Analyzer can scan Apex, Visualforce, Flows and Lightning components for security issues.

Our audit trail compliance guide shows how to join these logs into one record. For the release side, see our guide to DevOps compliance.

6. Set retention, backup and deletion rules

Salesforce keeps deleted records in the Recycle Bin for 15 days by default before they're lined up for permanent deletion. That isn't a retention policy, so write down how long each object's records should live.

Privacy Center's right to be forgotten policies delete or mask a person's data in specific records. Salesforce says it can also clear related Field History and Field Audit Trail entries and hard delete records to bypass the Recycle Bin.

Your backups need the same rules, because a record you erased from the org can still sit in an older backup set. Our posts on Salesforce data retention policies and GDPR backup requirements cover how to square the two.

7. Govern integrations and data residency

Any external system connected through a connected app carries copies of your data out of the org. For each one, note what it reads, where it stores it and the narrowest OAuth scope it can work with, as our guide to Salesforce API integration security describes.

Salesforce says Hyperforce runs on AWS and, starting in late 2026, on Google Cloud, and customers choose the region where their data resides. Our posts on Salesforce Hyperforce and EU data residency cover the residency rules in depth.

8. Monitor data security and review

Event Monitoring tracks logins, logouts, API calls, report exports and other events in event log files. Logs are available after 24 hours for all customers and every hour for Event Monitoring customers.

With Shield, you can also block suspicious activity like bulk exports or unauthorized logins as it happens. That can stop a small permission mistake from becoming a breach you'd have to report.

Stream those logs to your security tools to spot unusual patterns early, as our guide to Event Monitoring for threat detection shows. Review access and policies on a fixed cycle, since SOX already has management evaluate disclosure controls at the end of each fiscal quarter.

Where Flosum fits in Salesforce data compliance

Flosum offers two hosting options: Flosum's cloud or your own cloud. Backups and archives are encrypted at rest and in transit.

In Flosum's DevOps Cloud App, admin, developer and AI-generated changes all get "the same version control, approvals, and audit trail." The SOX compliance solution page describes approval tracking and production change tracking for financial controls.

For step 6, Backup & Archive runs as a Cloud App on Flosum-managed AWS or a VM you own. It moves older records to low-cost storage you control, "still available for audits, compliance, and reporting."

A June 2026 update added legal hold controls that keep data under litigation from being deleted or changed. Flosum lists its own SOC 2 Type II report and ISO/IEC 27001 certification on its certifications and compliance page.

FAQs

What does Salesforce data compliance cover?

It covers how your org collects, stores, protects and deletes regulated data, plus the records that prove it. Salesforce provides the tools, and under the shared responsibility model your company configures them and governs the data.

Does Salesforce require multi-factor authentication?

Yes, every customer must use MFA for logins to the Salesforce user interface under its terms of service. MFA is a default part of the login process for production orgs.

How long does Salesforce keep the setup change history?

You can download up to 180 days of Setup Audit Trail history, and older entries are deleted. Export it regularly if you need a longer record for audits.

How fast do you have to answer a data deletion request?

The GDPR says erasure must happen without undue delay when a valid ground applies. Under the CCPA, businesses have 45 calendar days and can extend once by another 45 if they notify the consumer.

Is Salesforce Shield required for compliance?

No regulation names Shield, but it adds encryption at rest, event logs and longer field history that many audits ask about. HIPAA, for example, treats encryption as an addressable specification rather than a required one.

Book a demo to see how Flosum keeps approvals, change history and backups ready for your next Salesforce compliance audit.

Table Of Contents
Author
Stay Up-to-Date
Get flosum.com news in your inbox.

Thank you for subscribing

Ship Salesforce changes faster
Teams on Flosum report 40% higher development velocity and 75%
fewer merge conflicts.
Free to start  |  No credit card required