Does the Agentforce audit log meet your audit logging requirement?
The Einstein Trust Layer audit trail is a built-in record of prompt ID and user data, prompt text, a PII-masked prompt, and safety and toxicity scores, stored and analyzed in Data 360. It is not a full record of agent and user activity by itself. Salesforce says customers should regularly audit agent and user activity and enable Enhanced Event Logs, so whether your requirement is met depends on that setting and on the edition you buy. Confirm with Salesforce, in writing, which events are captured by default for your edition and which require Enhanced Event Logs to be switched on. Start from the Salesforce Help article on Agentforce security and the Shared Responsibility Model and map each event your auditors expect against it.
Once coverage is confirmed, the reviewer must decide how long records are kept. Retention is not fixed by the audit trail alone, so ask Salesforce for the retention period that applies to Data 360 audit records in your contract, and check whether it matches the period your own policy or regulator requires. Also confirm whether you can delete or export records on request, since a sensitive prompt may need to be removed before the normal retention period ends. Feedback data from the Feedback API, including thumbs-up or thumbs-down reactions and accept, regenerate, modify, decline or ignore actions, sits in the same review scope and should be covered by the same retention decision.
Two decisions remain that no product setting makes for you. First, decide whether logs will be exported to your SIEM, and confirm with Salesforce which export path and fields your edition supports, since the audit data lives in Data 360 rather than in the agent itself. Second, name the people who review the logs, how often they do it, and what triggers an investigation, such as repeated low safety scores or a spike in declined actions. Document the answers in your agent governance record. An auditor will ask who looks at the logs and what they did when something looked wrong, and the log alone cannot answer that.
Which audit capabilities are built in and which need configuration
This table separates the audit records the Einstein Trust Layer produces by default from the logs and review processes the customer must switch on or run. Read the Status column first, then check the last column for what to confirm with Salesforce before approval, since the supplied sources do not name the edition or license each capability requires.
| Capability | Status | What it needs |
|---|---|---|
| Einstein Trust Layer audit trail contents | Built in | Prompt ID and user data, prompt text, a PII-masked prompt, and safety and toxicity scores, per Salesforce Trailhead. Confirm which fields your org actually receives. |
| Feedback API data | Built in | Thumbs-up or thumbs-down reactions with reasons, plus accept, regenerate, modify, decline or ignore actions. Confirm the Feedback API is available in your org and what reviewers can query. |
| Conversation logs and customer profiles in Data 360 | Built in, encrypted at rest | Stored and analyzed in Data 360 per Trailhead. Confirm with Salesforce where these records sit and who can access them through Data 360 permissions. |
| Enhanced Event Logs | Customer must enable | Salesforce's shared responsibility article says customers should enable them. Confirm the setting, its owner and any edition or license requirement in writing. |
| Regular audit of agent and user activity | Customer process | Salesforce says customers should audit agent and user activity on a regular basis. Assign an owner, a review cadence and a documented sign-off. |
| Edition or license for each row | Not stated in sources | The supplied sources do not name an edition. Obtain written confirmation from Salesforce for each capability before the rollout is approved. |
| Audit retention period and export to an outside log store | Not stated in sources | No retention period or export path is named in the supplied sources. Ask Salesforce for retention limits, deletion behavior and supported export methods to your SIEM. |
How the Einstein Trust Layer audit trail records agent prompts and outputs
The Einstein Trust Layer sits between an Agentforce agent and the underlying Salesforce services, and it writes an audit record for each prompt the agent sends. According to Salesforce's Trailhead material, each record holds a prompt ID, user data, the prompt text, a PII-masked version of that prompt, and safety and toxicity scores for the interaction. These records are stored and analyzed in Data 360, not in the agent itself. For a reviewer, that means the first question is where Data 360 sits in your architecture, who can query it, and whether its retention and access controls match your own log policy. Confirm those settings with Salesforce and your admins before you assume the trail meets your requirements.
Feedback is captured separately through the Feedback API. Trailhead describes it as recording thumbs-up or thumbs-down reactions, including the reasons given, and whether a user accepted, regenerated, modified, declined or ignored a response. Treat this as a second data set with its own review path. A pattern of declined or regenerated responses can signal a grounding or topic problem, but it does not show that a prompt was malicious. Ask your Salesforce team to confirm how feedback records are retained and whether they fall within the same access model as the prompt audit records.
Salesforce's shared responsibility article places the audit logging capability with Salesforce, while the customer decides which agent and user activity to review and how often. The same article advises customers to audit agent and user activity regularly and to enable Enhanced Event Logs. The Trust Layer records what it is designed to record, but no one reviews it on your behalf. Assign an owner for reviewing the trail, define which events trigger escalation, and confirm with Salesforce which Enhanced Event Logs are available for your edition before you rely on them as evidence.
How prompts, scores and feedback reach the audit store
The diagram starts with a user or agent request that enters Agentforce and passes through the Einstein Trust Layer, which produces an audit trail record containing the prompt ID, user data, prompt text, a PII-masked prompt and safety and toxicity scores. Those records land in Data 360, where Feedback API events (thumbs reactions and accept, regenerate, modify, decline or ignore actions) are stored alongside them. Enhanced Event Logs are a separate path that the customer must enable, and the customer then reviews both stores. Check which steps are yours to configure and which Salesforce runs.
Salesforce-provided logging steps and the customer-owned review path, side by side.
Decisions to make before turning on audit logging
Before audit logging goes live, the organization has to settle who owns each logging choice, where the record lives, who may read it, and how long it stays. These four decisions shape how fast an incident can be investigated, how much personal data sits in logs, and what the organization must pay to keep records.
Which Enhanced Event Logs to enable
Salesforce's shared responsibility guidance says customers should enable Enhanced Event Logs and regularly audit agent and user activity. The Einstein Trust Layer audit trail covers AI prompts and safety scores, but it does not replace platform event logging, so the two sets of records answer different questions. Name one owner for this decision, usually the Salesforce platform admin with security sign-off, and confirm in writing which event types are on, which are off, and why. Check whether your license includes the logs you need.
Shared responsibility articleData 360 as system of record or SIEM copy
Salesforce's Trailhead material says Einstein Trust Layer audit trail data is stored and analyzed in Data 360. Decide whether that store is the authoritative record or whether the organization also exports events to its security information and event management tool. A copy in the SIEM speeds cross-system investigations and fits existing alerting, but it creates a second store with its own access rules and storage cost. Confirm how export works and whether the SIEM copy can be trusted as evidence.
Who may read prompt text
Audit records include prompt text, a PII-masked version of the prompt, and user data. Raw prompts can contain customer names, health details or account numbers, so read access is a privacy decision as well as a security one. Define which roles can open prompt text, which can see only the masked version, and how those grants are reviewed. Ask Salesforce to confirm how access to Data 360 is controlled for audit data, and document the answer before granting access to investigators.
How long records are kept
Retention sets how far back an investigation can reach and how much personal data remains exposed if the store is breached. Longer periods help with incident reconstruction and regulatory inquiries, while shorter periods reduce privacy exposure and storage spend. Ask Salesforce for the retention behavior of the audit trail and feedback data in Data 360, then have legal, privacy and security approve one period in writing. Record who approved it and when it will be reviewed.
Who reviews agent and user activity
Logs have no value unless someone reads them on a schedule. Assign a named team, such as security operations or the Salesforce platform team, to review agent and user activity at a defined interval and to triage unusual safety scores, declined actions and feedback patterns. Set the escalation path to incident response and decide who can suspend an agent user. Without this ownership, the audit trail becomes evidence that was collected but never examined.
How the audit requirement changes by situation
When agent prompts may carry protected health information or EU personal data, the audit trail itself becomes sensitive. The Trailhead material lists prompt text and a PII-masked prompt among the audit trail contents, so the raw prompt text may contain the very data your regulators care about. Reviewers should treat access to the Data 360 records as a controlled access decision, not a reporting convenience.
- Prompt text exposure: Confirm who can query the stored prompt text and whether the masked and unmasked versions are both retained.
- Access to Data 360: Map which roles can read audit trail objects and which can export them.
- Encryption at rest: Trailhead states that conversation logs and customer profiles are encrypted at rest in Data 360. Ask Salesforce how that applies to every audit field.
- BAA and DPA terms: Check the conditions in the sibling HIPAA and GDPR pages before storing PHI or EU personal data in the trail.
- Deletion requests: Confirm how a data subject or patient request reaches audit records that already hold their prompts.
The audit trail alone cannot tell you whether a logged prompt was lawful to process or whether masking caught every identifier. Verify those points against the contract terms and your own test prompts.
The effort to collect audit evidence grows with the number of Salesforce orgs and sandboxes that run agents. A single production org may need one review path. Several orgs, or sandboxes that copy agent configuration and data, create separate audit trails that must each be found, scoped and explained.
- Inventory of orgs: List every production org, sandbox and developer environment where an agent can run.
- Sandbox data: Confirm whether sandboxes copy real customer records and whether their prompts reach the same Data 360 store.
- Consistent settings: Check that the Einstein Trust Layer and event logging settings match across environments.
- Cross-org reporting: Ask whether audit records from different orgs can be combined in one query or export.
- Retention per org: Record the retention position for each org separately.
The audit trail for one org does not show what an agent did in another. Reviewers need an org-level inventory to know what the evidence covers.
An organization with an existing SIEM will want Salesforce audit records and event logs to flow into it, so that agent activity is correlated with identity, network and endpoint signals. Salesforce's shared responsibility article states that customers should regularly audit agent and user activity and enable Enhanced Event Logs. Whether and how those records reach your SIEM is a configuration and integration question for your team.
- Feed coverage: Confirm which audit trail objects and Enhanced Event Logs you can forward, and which must be queried directly.
- Parsing and schema: Check that the field names in the exported data map to your SIEM parsers.
- Correlation rules: Define alerts for unusual agent actions, such as high volumes of prompts or repeated safety score flags.
- Log integrity and access: Confirm who can alter forwarding rules and how gaps are detected.
- Retention in the SIEM: Set your own retention period in the SIEM, separate from the Salesforce position.
The SIEM can only correlate what the Salesforce logs contain. It cannot recover prompts or scores that were never recorded, so confirm the logging scope first.
An organization without a SIEM still needs a way to review agent activity, investigate incidents and show evidence to an auditor. Without central tooling, the Data 360 audit records and the Enhanced Event Logs become the main sources, and the review process has to be written down and scheduled by people.
- Review cadence: Set a recurring review of agent and user activity, as the shared responsibility article recommends.
- Named reviewer: Assign an owner who can query the records and sign off on findings.
- Export procedure: Document how records are pulled, in what format, and where the exports are stored and protected.
- Investigation steps: Write a short runbook for suspicious prompts, including how to check safety and toxicity scores.
- Enablement check: Confirm that Enhanced Event Logs are switched on before you rely on them.
Manual review does not give continuous coverage. Ask Salesforce which records are queryable on demand and how long they remain available, and document the gap.
Some organizations must keep logs in a specific country or region. The Trailhead material states that audit trail data is stored and analyzed in Data 360, but it does not, in the supplied sources, name a storage location for each customer. Location must be confirmed with Salesforce for your own contract and org before you make a commitment to a regulator.
- Storage location: Ask Salesforce in writing where your Data 360 audit records are held and whether the location can be fixed.
- Backups and replicas: Confirm where copies, backups and processing records are kept.
- Sub-processors: Check where support or processing personnel and sub-processors access the data from.
- Transfer mechanisms: Verify which transfer terms apply to audit data, using the sibling GDPR page as a starting point.
- Evidence of location: Ask for documentation you can give an auditor that states the location.
The audit trail shows what was recorded, not where the platform stores it. Confirm the location with Salesforce and in your contract before relying on it.
What the Agentforce audit trail does not cover on its own
The Einstein Trust Layer audit trail records prompts, masked prompts, user data and safety scores, but it is one input to a review process rather than a complete control. The cards below cover the gaps a reviewer should close before relying on it for oversight, investigation or evidence.
Retention period and export method
The supplied sources do not state how long audit trail records are kept in Data 360, or how a customer exports them on a schedule. Without a documented retention period, you cannot tell whether records will exist when an investigation or audit needs them. Ask Salesforce in writing for the default retention period, any configurable limits, and the supported export methods. Then set a written retention requirement that matches your own policy.
Shared responsibility articleDownstream changes need event logs
The audit trail records prompts and scores, not every change an agent makes in the records it touches. To see what an agent changed after a response, enable Enhanced Event Logs, which Salesforce says customers should do, and review field history on the objects the agent can edit. Map each agent action to the log that would show it, and test that the mapping works before go-live.
Readable prompt text needs access limits
Prompt text is stored in readable form in the non-masked field, while the PII-masked prompt is a separate field. Anyone with access to the non-masked field can read personal data that the masking was meant to hide. Restrict access to that field through Data 360 permission sets, limit who can query it, and confirm which roles can export it. Review those roles on a set schedule.
SIEM integration is customer-built
Nothing in the supplied sources says the audit trail feeds an outside SIEM or log store automatically. If your security operations team monitors through a SIEM, your team or your integration partner must build the pipeline that moves records out, maps their fields, and handles failures. Ask Salesforce which integration paths it supports, then document the pipeline, its owner and its test steps.
Alerting and review are manual
The audit trail does not raise alerts on its own, so a high-risk safety score or an unusual pattern of declined or overridden actions will sit unread unless someone looks at it. Define which safety scores, feedback actions and agent users trigger a review, and assign an owner. Set a review schedule, record each review, and keep the evidence that the review took place.
The trail records misuse, it does not stop it
An audit trail shows what happened after the fact. It does not stop a user from pushing an agent past its intended topics, nor does it stop a prompt injection from reaching an action. Permissions, restricted topics, action limits and approval steps are the preventive controls. Use the audit trail to confirm those controls worked and to find what they missed, and treat it as a detective control in your design.
The order of work to switch on agent audit logging before go-live
This sequence confirms what Salesforce provides for your edition, turns on the event logs you need, proves the Einstein Trust Layer audit trail records real test conversations, and leaves a documented evidence set for your security reviewer before any agent reaches production users.
Confirm edition and audit retention in writing
Ask your Salesforce account team to state in writing which Agentforce edition, license and Data 360 entitlements your contract covers, and how long the Einstein Trust Layer audit trail and feedback data are retained in your org. Do not rely on the pricing page or a sales call alone. Ask whether any retention period can be changed and who controls it. The step is done when you hold a written answer that names the edition, the retention behavior and the contact who owns any change.
Assign a log owner and review cadence
Name one accountable owner for agent audit data, usually a Salesforce platform admin paired with someone from security operations, and agree how often they review agent and user activity. Salesforce's shared responsibility guidance says customers should regularly audit agent and user activity, so the cadence is your decision and must be written down. The step is done when the owner, the backup owner and the review schedule appear in your agent governance record.
Enable Enhanced Event Logs for the activity you need
Turn on Enhanced Event Logs, which Salesforce recommends customers enable, and map each log type to a question your reviewers must answer, such as who invoked an agent, which records it read and which actions it took. Confirm with Salesforce which log types are available in your edition, since not every event is captured by default. The step is done when a documented list shows each enabled log, its purpose and the owner who reviews it.
Verify audit trail records for test conversations
Run scripted test conversations in a sandbox or non-production org that include a prompt containing dummy personal data and a prompt that tries to override agent instructions. Then check that the Einstein Trust Layer audit trail shows the prompt ID, user data, the prompt text, the PII-masked prompt and the safety and toxicity scores. Confirm the feedback records appear when testers use thumbs-up, thumbs-down or regenerate. The step is done when every expected field appears for each test and a screenshot or export of the results is saved as evidence.
Restrict access to Data 360 audit data by role
Audit trail data is stored and analyzed in Data 360, and conversation logs and customer profiles are encrypted at rest there. Create a role for reviewers that can read audit data and keep it separate from roles that build or publish agents, so makers cannot edit the record of their own tests. Confirm that unmasked prompt content is visible only to the roles that need it. The step is done when a permission review shows which users and groups can open the audit data and that the separation of duties is written into your access policy.
Set up export or forwarding to your log store
Decide whether audit data stays in Data 360 or is exported to your central security information and event management or log archive, and confirm with Salesforce which export or streaming method your edition supports. Test one full cycle: a test conversation, the export, and a search in your log store that returns the same prompt ID and scores. Check that exported data keeps the same masking and encryption rules you applied in Data 360. The step is done when the export runs on the schedule you set and the test event is found in your own tooling.
Document the evidence for the security reviewer
Assemble one evidence pack that lists the edition confirmation, the log owner and review cadence, the enabled event logs, the test results with masked prompts and scores, the role model for Data 360 and the export test. Add the Salesforce documents you relied on, such as the Agentforce security and shared responsibility article, and note which items you still need to verify. The step is done when the security reviewer signs off on the pack and any gaps have a named owner and a close-out date set by your team.
What a security reviewer asks to see for audit logging
This table maps each question a security reviewer asks about the Einstein Trust Layer audit trail to the evidence to request and its source. Read the platform rows as Salesforce's published position and the configuration rows as what your own administrators must prove. The main takeaway is that the audit trail's contents and storage are documented by Salesforce, but Enhanced Event Logs, access to prompt text and retention must be confirmed in your org.
| Reviewer question | Evidence to request | Where it comes from |
|---|---|---|
| Which events are recorded? | A written list of audit trail fields, including prompt ID, user data, prompt text, PII-masked prompt, and safety and toxicity scores, plus feedback records from the Feedback API | Trailhead documentation on the Einstein Trust Layer audit trail and feedback data |
| Where are records stored? | Confirmation that audit trail data sits in Data 360 and a list of the Data 360 objects that hold it in your org | Trailhead documentation; org-level Data 360 configuration |
| Is stored data encrypted at rest? | Salesforce's statement that conversation logs and customer profiles are encrypted at rest in Data 360, plus the encryption scope for other audit fields | Trailhead documentation; confirm the scope in writing with Salesforce |
| Which Enhanced Event Logs are enabled, and who enabled them? | Change history showing activation, the named administrator, date, and the event types turned on for agent and user activity | Customer configuration record; Salesforce's shared responsibility article advises enabling Enhanced Event Logs |
| Who can read prompt text, and how is access granted? | Data 360 permission sets and profiles that include read access to audit objects, the list of assigned users, and access review records | Customer role configuration in Data 360 |
| How long are records kept, and how are they deleted? | Written retention period for audit trail and feedback data, the deletion method, and whether deletion covers backups | Salesforce written confirmation; not stated in the supplied Trailhead material |
| Does the platform's security evidence cover logging? | The SOC 2 report and the vulnerability and penetration test summary for AI Platform and Agentforce, read with the scope statements they contain | Salesforce compliance site; these cover the platform, not your configuration |
Questions buyers and reviewers ask before approving Agentforce audit logging
Is the Einstein Trust Layer audit trail included in every Agentforce edition?
The sources supplied for this page do not name the editions that include the audit trail, so confirm this in writing with Salesforce before approval. Ask your account team which Agentforce edition, add-on or license your org holds, whether the Einstein Trust Layer audit trail and Feedback API data are enabled for that edition, and whether any of this depends on Data 360 being provisioned in your org. Record the answer in the approval file with the date and the name of the Salesforce contact, because editions and bundles change over time and the answer should match the contract you actually sign.
What drives the effort of setting up Agentforce audit logging?
Effort depends mostly on four factors: the number of agents and topics in scope, how much of the Enhanced Event Logs scope you enable, whether logs go to a SIEM or other monitoring tool, and how your review process is staffed. Each additional agent adds prompts, responses and feedback records to review. Enhanced Event Logs add activity records across the org, so the scope you choose decides how much data your team must filter and retain. SIEM integration adds connector work, field mapping and access control on the destination. The review process sets how often someone reads the logs, who escalates findings and what evidence is kept for an audit.
Can our Salesforce admins configure and review Agentforce audit logs without outside help?
Yes, for most of the work. Your Salesforce admins can configure permissions, decide which agents and events to log, and run a recurring review of agent and user activity, which is the customer responsibility Salesforce describes in its shared responsibility article. Your team should confirm two questions with Salesforce directly: which edition and retention terms apply to the audit trail, and how long Data 360 keeps the records. Ask the same questions of your security team, since they will own alerting and evidence collection. Outside help is useful when the team lacks SIEM or log engineering experience, not because the configuration is hidden.
When does outside help make sense, and what does a fixed-scope engagement cover?
Outside help makes sense when you need to integrate Agentforce logs with an existing SIEM, define review procedures for security operations, or prepare evidence for an assessment. DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens and documents self-hosted open-source platforms inside client environments, and runs security testing, including AI and agent security. DeployOpen does not work on Salesforce's hosted Agentforce service, and it does not issue audit reports or certifications. Most engagements are fixed-scope, so the written scope should name the agents, log sources, integration points, deliverables and timeline before work starts.
What cost drivers should we weigh, and what should we ask for in a quote?
Costs fall into three groups: Salesforce licensing and consumption charges, internal staff time for configuration and review, and any outside services. Salesforce's pricing page lists Flex Credits at $500 per 100,000 credits, conversations at $2 each and Agentforce add-ons from $150 per user per month, as of November 2026, so confirm which of these apply to your org. Storage, retention and any SIEM license are separate recurring costs. For an outside quote, ask for a written scope listing agents, log sources and deliverables, one-time setup items, recurring review or retainer items, assumptions about your environment, and what is excluded.
Is prompt data stored in the Einstein Trust Layer audit trail encrypted at rest?
Salesforce's Trailhead material states that conversation logs and customer profiles are encrypted at rest in Data 360. The same material lists prompt ID and user data, prompt text, a PII-masked prompt and safety and toxicity scores as audit trail contents, so reviewers should confirm that each of these fields falls under the encryption statement. Ask Salesforce for the encryption method, key management ownership and whether any field is excluded. Encryption at rest does not limit who in your org can read the logs, so combine it with permission set review and access logging on the monitoring side.
Are Agentforce audit logs enough evidence for a HIPAA or GDPR review?
No. Audit logs are evidence inputs for a review, not a compliance determination. They show what prompts, responses, safety scores and feedback were recorded and where Data 360 stores them, which helps a privacy or security reviewer trace agent activity. Whether Agentforce meets HIPAA or GDPR obligations depends on the Business Associate Addendum conditions, the Data Processing Addendum, your own data flows and your legal review. Confirm those conditions with Salesforce, and have your compliance lead or an independent auditor assess the result. Only auditors and certification bodies issue attestations.
How DeployOpen works on this
DeployOpen plans, implements and documents self-hosted open-source platforms and runs security testing, including AI and agent security. For Agentforce audit logging, we help you define what the audit trail and event logs should capture, test whether those records exist and are retained as you expect, and write down the evidence your security and compliance reviewers need.
How we scope
- We agree in writing which Agentforce agents, prompt and feedback records, and log sources are in scope.
- We confirm with your team which Data 360 and event log settings are enabled in your org before work starts.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work begins.
How we build
- We test whether audit trail entries for prompts, responses and safety scores are created for sample agent interactions.
- We check that the access rights to stored audit data match the roles your reviewers and administrators actually hold.
- We verify that the event logs Salesforce recommends are enabled and that their outputs reach the systems you monitor.
How we hand over
- You receive a written record of what each log holds, where it is stored, who can read it and how long it is kept.
- The documentation maps logging evidence to the control questions your auditors and vendor risk reviewers ask.
- We walk your security and platform teams through the findings, open gaps and the steps needed to close them.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
- A retainer lets us re-check audit logging after Agentforce releases, org configuration changes or new agent actions.
- Preparing evidence for a compliance assessment is in scope, but audit reports and certifications come from independent auditors.

