Resources /
Blog

How to Implement Data Governance in Salesforce: A 7-Step Plan

Submit your details to get a book

8
Min Read
Resources /
Blog

How to Implement Data Governance in Salesforce: A 7-Step Plan

Download

Submit your details to get a book

8
Min Read
Glowing connected hub with a shield at its center above a hexagon pillar, linked to list, sync, check and cloud tiles
Glowing connected hub with a shield at its center above a hexagon pillar, linked to list, sync, check and cloud tiles

Implementing data governance in Salesforce takes seven steps, from goals and classification through access, encryption, data quality and audit evidence. Each step maps to a control Salesforce already ships, such as permission set groups, Shield Platform Encryption and Setup Audit Trail.

This step-by-step guide on how to implement data governance in Salesforce sits alongside our data governance best practices and our enterprise governance operating model. It works through each step in order, with the Salesforce feature to use and the practical limit to plan around.

What does data governance mean in Salesforce?

Data governance in Salesforce is the framework that decides who can see and change each record and field. It also covers how long data is kept and what evidence proves that control to an auditor.

Salesforce's Well-Architected Trust guide sums up the data side in one instruction: "Use data classification, masking, and object/field/record-level security." The same guide says the platform is shared work: "You’re responsible for securing your data, configurations, and operational processes."

How do you implement data governance in Salesforce, step by step?

You'll want to run the seven steps in the table below in order, since each one depends on decisions you made in the steps before it. Your classification in step 2, for example, decides which fields get encryption in step 5 and history tracking in step 7.

StepSalesforce controlPlan for
1. GoalsPermission set design for segregation of dutiesEach regulation sets its own deadlines, such as 72 hours under GDPR Article 33
2. ClassifyData classification metadata fieldsClassify each field, not each record
3. OwnersData Owner field and access recertificationReview frequency set by risk and compliance needs
4. AccessPrivate org-wide defaults, permission set groups, Health CheckUp to five custom Health Check baselines
5. ProtectField-level security, Shield Platform Encryption, sandbox maskingShield needs a separate license
6. QualityValidation rules and duplicate managementChecks run before a record is saved
7. EvidenceField History Tracking, Field Audit Trail, Setup Audit Trail18 or 24 months of field history and 180 days of setup history

Step 1: Which regulations set your governance goals?

Before you change any settings, write down which regulations apply to you and what each one expects, in terms your team can check in Salesforce. Our guides to GDPR in Salesforce and SOX requirements list what each law asks of your org.

Under GDPR, Article 33 gives a controller "not later than 72 hours after having become aware of it" to report a breach to the supervisory authority, where feasible. You can only hit that if you can quickly tell which records and fields were exposed.

If you hold financial data, the Trust guide wants segregation of duties built into your permission sets, so the person who creates a financial transaction can't also approve it. Our SOX compliance checklist turns controls like that into items an auditor can test.

Step 2: How do you inventory and classify Salesforce data?

First, list every object, field and file in production and mark the ones with personal, financial or health data in them. Salesforce gives every standard and custom field a set of data classification metadata fields where you note its data owner, field usage, data sensitivity and compliance categorization.

You get those fields in every edition, and the API and Apex can read them, so your tools and code see the same labels your people do. To roll them out field by field, use our data sensitivity classification guide.

The Trust guide suggests a four-tier classification framework you can adapt to your own regulatory requirements:

  • Public: unrestricted disclosure, such as knowledge articles and the product catalog
  • Internal: business use only, such as internal notes and general account data
  • Confidential: sensitive business data, such as financial records, strategy documents and PII
  • Restricted: the most sensitive regulated data, such as PHI, payment data, credentials and Social Security numbers

Start by defining the tier on each field, not each record. In the guide's example, one Account record has a public company name, confidential revenue figures and a restricted Social Security number, all at once.

Step 3: Who owns each class of Salesforce data?

Put a name against every classified field: the person who decides how its data is handled, entered in the Data Owner field from step 2. Stewards fix data quality and your admins build the technical controls, as our post on data governance roles and responsibilities sets out.

Owners also check who has access. The Trust guide asks for user lifecycle management and access recertification, and lets your risk tolerance and compliance needs set how often you review high-privilege accounts.

Step 4: How do you lock down access in Salesforce?

Begin with private organization-wide defaults and as few permissions as possible, then open access up only where a documented business need calls for it, as the Trust guide recommends. Its access model has four layers (organization, object, field and record), and each one narrows the layer above it.

Group access by job with permission set groups: a user in the group gets the permissions of every set inside it. If one permission shouldn't be there, mute it in the group instead of editing the permission set itself.

Then run Health Check to establish where you stand, since it scores your security settings against the Salesforce Baseline Standard or one of up to five custom baselines. For more on each access layer, see our breakdown of the Salesforce security model and our post on permission sprawl.

Step 5: How do you protect sensitive fields?

Start with field-level security, which the Trust guide says still protects data when your sharing rules are too open. For encryption at rest, your base license comes with Classic Encryption, but it uses AES-128 and only covers custom text fields.

Shield Platform Encryption costs a separate license and gives you AES-256, bring your own key, and coverage for standard and custom fields, files and attachments. The guide matches it to the Restricted tier, so your step 2 labels tell you which fields need it.

Don't forget your sandboxes. The guide says Restricted data should stay out of non-production environments, masked or left out, and gives three ways to do it:

  • Partial sandbox copies that leave Restricted data out of the refresh
  • Data masking that obscures real field values with patterns that keep their characteristics
  • Synthetic data for development work that never needs production records

Our guides to Salesforce data masking and Salesforce sandbox types compare the trade-offs. Pick one approach per sandbox type and write it into your data governance policy.

Step 6: How do you enforce data quality in Salesforce?

Catch bad data where people enter it. Validation rules check what a user types against your standards before Salesforce saves the record.

For duplicates, Salesforce has tools to manage duplicate records one at a time or across the whole org, plus a way to track progress. Its help page ties clean data to your sales team's trust and calls it a step toward complying with data protection and privacy regulations.

Step 7: How do you keep audit evidence and set retention?

Decide how long you keep each class of data, and make sure the history you need is still there when an auditor asks. Field History Tracking keeps field changes for up to 18 months, or 24 months through the API, unless Field Audit Trail is on.

With Field Audit Trail turned on, Salesforce keeps field history until you delete it, and the Trust guide pairs it with HIPAA record-keeping. Configuration changes sit in a separate log, and Setup Audit Trail lets you download the past 180 days of setup history, after which those records are deleted.

For detection, the Trust guide suggests configuring Event Monitoring to spot unauthorized access to protected health information. Our guide to making Salesforce HIPAA compliant lists the other safeguards that law expects.

Export logs before those windows close, and record the retention period for each object. Both topics get a full post of their own: Salesforce data retention policies and the Salesforce audit trail.

Which practices keep a governance strategy consistent across orgs?

For organizations running several orgs, the Trust guide warns that separate orgs fragment governance. Controls such as permission set design, Health Check baselines and Event Monitoring then have to be maintained in every org.

It adds that drift between orgs creates its own attack surface, since a permission tightened in one org can be missed in another, leaving a gap attackers can exploit. Treat permission sets, sharing rules and validation rules as metadata that goes through the same release process as code, reviewed by the same team.

Where Flosum fits

Flosum's risk and governance page lists capabilities that match several of the steps above. They include:

  • Tracking configuration drift, unauthorized changes and deployment activity with full traceability
  • Governance of profiles, permission sets, roles and privileged access
  • Sandbox data protection with masking, controlled seeding and environment governance
  • Audit-ready records for deployments, approvals, security checks and operational activity

In Flosum's DevOps Cloud App, admin changes, developer code and AI-generated changes go through one platform with the same version control, approvals and audit trail. Flosum DevOps runs in Flosum's cloud or in your own cloud.

If you run several orgs, our guide to Salesforce DevOps across multiple orgs shows how to keep one release model across them. Use it to send permission, validation and sharing changes to each org in the same order.

FAQs

What are the steps to implement data governance in Salesforce?

Set goals from your regulations, classify your data, name owners and lock down access. Then encrypt and mask sensitive fields, enforce data quality when records are saved and keep audit evidence under clear retention periods.

Which Salesforce features support data governance?

Classification metadata fields, permission set groups, field-level security, Shield Platform Encryption and validation rules do most of the work. Field History Tracking, Field Audit Trail and Setup Audit Trail keep the record of what changed.

How long does Salesforce keep field history?

Without Field Audit Trail, Salesforce keeps field history for up to 18 months, or 24 months through the API. With Field Audit Trail turned on, it keeps the data until you delete it.

How do you keep sensitive data out of Salesforce sandboxes?

Salesforce's Trust guide recommends masking or excluding Restricted data from non-production environments. You can use partial sandbox copies without that data, masking rules or synthetic data for development work.

Who should own data governance in Salesforce?

Give every sensitive field a named data owner who decides how it is handled, and record that person in its Data Owner field. Data stewards then handle quality fixes, while admins build and maintain the controls in Salesforce.

Book a demo to see how Flosum's DevOps Cloud App can put approvals and an audit trail on every Salesforce governance change.

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