Click a node to navigate. Scroll to zoom. Drag to pan.
Loading graph...
Shield Platform Encryption, Event Monitoring & Field Audit Trail
Salesforce Shield is a suite of three products that address enterprise compliance, audit, and data protection requirements. For CTA scenarios, Shield surfaces whenever the customer has regulatory obligations (HIPAA, GDPR, PCI-DSS, SOX) or needs data protection beyond what standard platform security provides.
Figure 1. Shield bundles three distinct compliance capabilities. Each addresses a different audit dimension: encryption protects data at rest, Event Monitoring answers who accessed what data and when, and Field Audit Trail provides the long-term change history required by SOX and HIPAA retention mandates.
Platform Encryption encrypts data at rest in the Salesforce database. It sits on top of the standard encryption that protects data in transit (TLS) and at rest (AES-256 for all Salesforce data).
Maximum security: Description, Notes, custom text areas
Figure 2. Encryption scheme selection is driven entirely by how the field is queried. Fields that need substring search (LIKE, CONTAINS) cannot be fully satisfied by either scheme. The masked formula field pattern is the only workaround that preserves partial display without exposing the source value.
Database Encryption (also called Transparent Data Encryption) encrypts the entire database at the storage layer, rather than selectively encrypting individual fields. It is available only on Hyperforce with a Shield license.
Because Database Encryption operates at the storage layer, it has none of the field-type restrictions that FLE has. Number, Currency, and all other field types are encrypted transparently without breaking queries, sorting, aggregation, or reporting. The trade-off: you cannot selectively encrypt specific fields. It is all or nothing at the database level.
Figure 3. BYOK gives the customer control over encryption key generation and rotation while Salesforce retains a copy as a tenant secret. The key trade-off versus cache-only keys: the key is persisted in Salesforce infrastructure, which simplifies availability but gives the customer less absolute control.
Understanding the full key management decision flow helps select the right approach for a given compliance scenario.
Figure 4. Cache-only keys provide maximum control but introduce an availability dependency: if the customer’s key service is down, Salesforce cannot decrypt data. When the customer cannot accept that risk, BYOK is the correct fallback, as it offers key control without the availability dependency.
Cache-only keys provide the highest level of customer control. The key is sent to Salesforce on-demand and only exists in memory; it is never persisted.
Figure 5. Event Monitoring splits into two paths: log files for retrospective forensic analysis (with a 24-hour delay) and real-time platform events that feed Transaction Security policies for immediate automated responses like blocking or requiring MFA re-authentication.
Transaction Security policies evaluate events in real-time and can block, notify, or require MFA when conditions are met.
Figure 6. Transaction Security evaluates policies in real time at the moment of the user action. The three response options (block, MFA step-up, and notify-only) allow graduated responses: blocking for high-risk actions like mass data export, MFA step-up for sensitive record access, and notification-only for audit visibility.
Example policies:
Block report exports containing more than 10,000 records
Require MFA when a user logs in from an unrecognized IP
Notify admin when a user views more than 500 records in an hour
Block API sessions that exceed normal query patterns
Figure 7. Field Audit Trail extends standard field history by archiving changes to a Big Object, enabling up to 10 years of retention with 60 fields per object. The FieldHistoryArchive Big Object is queried like any other object via SOQL, making historical data accessible for SOX and HIPAA audit responses.