OBLYTECH Logo
OBLYTECH Logo

Ingest or Federate: A Governance Test for Regulated Salesforce Data

Choose ingestion when regulated or high-value data needs one governed copy with a full audit trail. Choose federation when the data must stay at its source and the source already enforces its own access rules. Decide per data set, since a single Data 360 program often needs both patterns.

Start with the governance requirement, not the connector

Teams often begin by asking which connector they can build fastest. A better first question is what an auditor, a regulator or a data owner will need to see six months from now. If the answer includes a record of what was copied, when it was copied and which transformations touched it, you are describing a centralised copy. If the source system already is the record and already enforces its own access rules, you are describing federation.

Write those requirements down for each data set. A single Data 360 program often holds customer identity records that need traceability alongside product usage events that are large and change by the minute. Those two should not share one answer. Forcing them to share one usually leaves the identity data without audit history or the usage data carrying storage and refresh costs it does not need.

Name an owner for each data set as well. The owner decides whether a copy inside the platform is itself a compliance record. If nobody is willing to make that call, the question stays open and the build stalls, usually during user acceptance testing.

What centralised ingestion gives you

When data is physically copied into Data 360, governance decisions attach to one stored copy. Transformations, masking rules and access controls are defined against that copy, and the pipeline has to record lineage if you want to show where each value came from and what happened to it on the way in. That is the right pattern for know-your-customer checks, anti-money-laundering review, patient-related records and identity resolution, where a reviewer needs one profile they can audit from start to finish.

The cost of that control is duplication. Each ingested copy has to be secured, retained and deleted on request. Set retention rules before the first load, because changing them later means reviewing data that has already loaded. If you are moving data from an older store as part of this work, the cleanup and mapping steps belong in the same plan. For that groundwork, see the Salesforce data quality and migration page, and for the load itself, see the Salesforce data migration and integration page.

Ingested data also needs a reconciliation check. After each load, compare record counts and a few control totals against the source. A profile that looks complete but is missing a tranche of records is harder to spot than a federated query that fails outright, so build the comparison into the pipeline rather than relying on a spot check later.

  • Canonical profiles that need a complete audit history
  • Data a regulator or internal control team must be able to reproduce later
  • Records where access has to be controlled and reviewed in one place
  • Sources that feed several downstream uses, where one governed copy avoids conflicting versions

When federation is the better fit

Federation runs queries against the source platform and returns results without storing those values in Data 360. It suits data that must remain in its system of record, data already protected by row-level security or masking at the source, and data too large to copy at a reasonable cost. It also suits consumers who need the latest value, where a short delay would cause a problem.

The trade-off is that governance responsibility moves to the source. If the source team changes a masking rule, federated results should reflect that change at the source, which is usually what you want. The gap is that the platform holds no copy of what a user actually saw on a given day. If a later review needs that exact result, federation cannot reproduce it. Confirm that gap is acceptable before committing to the pattern.

Federated access comes in more than one form, and the forms behave differently enough that the choice matters:

  • Query-time reads go to the source when the query runs. The answer is current, but speed and cost depend on the source system and on how often people run the query.
  • Scheduled refresh keeps a stored result and updates it on a timetable. It is cheaper to serve, but figures can be stale between refreshes.
  • Read-only file access queries large files where they are stored, without copying them. Check file timestamps before you treat a figure as current.

Scheduled refresh needs the closest watch. A user looking at a stored figure has no obvious sign that it is a day old. Label stored views clearly, and set the refresh interval to match how the business reads the number rather than the fastest refresh you could configure. Confirm which refresh behavior your configuration supports on your instance before you promise users a freshness figure.

A six-step test for each data set

Run the same short test on each candidate data set and record the answers in your data inventory before any connector is built. The steps are ordered so that each one narrows the choice before the next one is needed.

  1. List the questions this data has to answer for an auditor, a customer or a regulator, and name the person who asks them.
  2. Check whether the source system already enforces the access rules you need, including row-level security and field masking. If it does not, you will need to build the same rules inside Data 360 before any users can query the data.
  3. Decide whether a copy inside Data 360 would itself be a compliance record. If it would, ingest. If the source is the record, federation is the stronger candidate.
  4. Measure how quickly the data changes and how quickly a consumer needs it. Continuous change capture, streaming and scheduled batch differ in how fast they deliver updates and what they cost to run. Choose the lowest-cost mode that still meets the need.
  5. Estimate volume and the cloud region where the data sits. In most cloud setups, moving data across regions adds transfer cost, so place storage as close to the platform as you can.
  6. Record the decision, the owner and a review date. Revisit the decision when a regulation changes, a source system is replaced or query volume grows past the level you planned for.

For help planning this work, see Salesforce implementation.

Hybrid designs and how the join is built

Mixed estates often settle on a hybrid. Ingest the governed core, such as customer identity and consent status, and federate the high-volume or volatile data, such as order events or sensor readings. The two sides can be joined at query time, so one view can show a governed profile next to a figure read from the source.

For the pipeline layout on each side of the join, see the Salesforce integration architecture page. The join is where hybrid designs usually fail. Confirm that the keys match on both sides, that identifiers and time zones are normalised the same way, and that a user who can see federated rows also has rights to the matching ingested profile. A row that appears on one side and not the other is usually a key mismatch, not missing data, so check keys before you check the pipeline.

Salesforce Connect is a related option for data that should appear inside the Salesforce interface while staying in an external system, through external objects that show records without copying them into Salesforce. If a report needs an organization-wide figure built from several sources, plan that aggregation as a separate step rather than assuming the external connection will produce it.

When the same customer or case exists in both Salesforce and ServiceNow, the integration boundary decides which side holds the governed copy. The Salesforce and ServiceNow integration boundaries page is the place to start that comparison.

Questions about ingesting or federating Data 360 data

Can a federated dataset still support an audit trail?

Partly. The source system may log access to its records, but Data 360 keeps no copy of the values a user received. A past result cannot be rebuilt from the platform alone. If reproducing a result matters to a review, ingest the fields that need to be reproduced and federate the rest.

Does ingesting regulated data change who can see it?

It usually does. Once a copy is inside Data 360, the access rules you configure there decide which users see each field, so the rules from the source need to be mapped across before the load. Test with a user from each role that should see the data and a user from each role that should not, and record the results.

How should a deletion request be handled for ingested records?

Start with your own record of where each subject’s data was loaded and copied, including downstream copies made from the ingested stream. Delete from each location and log every deletion. Removal behavior differs by data stream, so confirm how each one handles deletion on your instance before you commit to a turnaround time for the requester.

Is streaming ingestion the better choice for freshness?

Not by default. Continuous change capture usually costs more to run than a scheduled batch. Choose the interval the consumer genuinely needs. A monthly reporting figure rarely needs a one-minute update, and paying for one adds load without improving the decision.

When is it worth bringing in outside help for this decision?

It is worth bringing in help when the data includes regulated categories and the organization does not yet have an owner who can accept the trade-off in writing. An outside review is easiest to act on before the first connector is built, because the choice of pattern is hard to reverse once pipelines and access rules depend on it.