Agentforce Governance Checklist: How to Monitor Activity and Reduce Security Risk

Enterprises are moving beyond traditional automation to AI agents that understand requests, retrieve business information, interact with applications, and execute tasks with varying levels of autonomy. Salesforce Agentforce makes this practical across sales, customer service, and internal operations: agents can read customer data, update CRM records, run workflows, and call connected systems, all within the permissions they are given.

That capability raises a direct question for IT leaders: how do you make sure every agent operates securely, follows business policy, and performs only authorized activities?

An agent that accesses data beyond its scope, executes the wrong action, follows a malicious instruction, or shares sensitive information in a response creates real operational and security risk. User access management and application monitoring alone do not cover this. You also need visibility into agent sessions, action invocations, data access, outcomes, configuration changes, and unusual behavior.

This guide, written by Dhruvsoft’s Salesforce team (a Salesforce Crest Partner and ISO 27001-certified organization with 200+ Salesforce projects delivered), explains how to monitor Agentforce activity, which risks to plan for, and how to apply a practical governance checklist. You can also download the checklist as a PDF to use in your own reviews.

What Is Agentforce Governance?  

Agentforce governance is the combination of policies, security controls, monitoring processes, access management, and accountability measures used to manage AI agents throughout their lifecycle. It keeps each agent within clearly defined business responsibilities and your organization’s security and compliance requirements.

Governance matters more for agents than for traditional automation because agents interpret natural-language instructions and choose from available actions based on context. A customer service agent may be authorized to retrieve customer information, create support cases, and provide product guidance, but it should not be able to modify billing details, approve refunds, or open unrelated customer records.

A complete governance framework covers:

  • Agent ownership and accountability
  • Identity and access management
  • Data privacy and information protection
  • Agent instructions and behavioral guardrails
  • Activity monitoring and audit logging
  • Action approval and human oversight
  • Incident detection and response
  • Testing, deployment, and configuration management
  • Continuous performance and risk assessment

The objective is simple: let agents do useful work while keeping appropriate human control and enterprise security.

Why Monitoring Agentforce Activity Matters  

Deploying an agent is not the end of implementation. An agent that behaves correctly in testing will meet situations in production that no test anticipated: real customers, real records, and real external applications. Monitoring gives administrators visibility into those interactions so problems surface before they become incidents. It serves five purposes:

  • Detect unauthorized activity. Incorrect permissions or a misconfigured action can let an agent reach records, fields, or applications outside its role. Monitoring exposes those attempts.
  • Catch incorrect actions. An agent may pick the wrong action, update the wrong record, or start a workflow with incomplete data. Reviewing actions shows where validation or approval is needed.
  • Protect sensitive information. CRM systems hold customer, financial, contract, and employee data. Watching access patterns reveals potential exposure.
  • Spot prompt injection. Agents encounter untrusted instructions in user prompts, emails, documents, knowledge articles, and external data. An instruction hidden in a document might try to make an agent disclose data or take an unauthorized action.
  • Prove accountability. Audit records show how automated work was performed, which permissions were used, and whether controls were followed, supporting internal reviews and compliance assessments.

Understanding Agentforce Observability  

Salesforce groups its agent monitoring capabilities under Agentforce Observability, which covers analytics, optimization, and health monitoring within Agentforce Studio. Monitoring is not a single dashboard. It has several layers that together describe agent interactions, system activity, response quality, and operational health. Availability depends on your Salesforce edition, licenses, enabled features, and agent type, so confirm what applies to your org before you plan.

1. Session Tracing  

Session tracing records each agent session in detail: user inputs, agent responses, reasoning steps, LLM calls, action invocations, guardrail checks, and outcomes. If a service agent receives an order-status request, a trace shows what started the interaction, which sub-agent and actions were selected, whether the right data was retrieved, whether an error occurred, and what response was returned.

Session trace data is stored in Data 360. That makes it a governance asset in its own right: decide who can view it, how long to retain it, and how its storage and credit consumption are managed.

2. Agent Analytics  

Agent Analytics shows performance and interaction trends across agents: session volumes, latency, task completion, escalations and abandonment, quality scores, common intents, and credit consumption per agent. Trends reveal recurring problems that individual sessions hide. For example, if a sales agent repeatedly fails to retrieve account information, the pattern points to a configuration, data access, or tool issue.

3. Agent Optimization  

Agent Optimization helps teams investigate sessions, cluster them by intent and sentiment, and identify underperforming sub-agents and actions. Findings feed directly into changes to agent instructions, actions, knowledge sources, and guardrails, turning monitoring into continuous improvement.

4. Agent Health Monitoring  

Agent Health Monitoring tracks health metrics in near real time and raises alerts when thresholds are breached, such as rising error rates, degraded task completion, latency spikes, or unusual activity. IT teams can intervene before customers or users report a problem.

5. Audit and Feedback  

Audit and feedback data captures model inputs and outputs, user feedback, guardrail results, and grounding quality. It helps you check whether responses are relevant and grounded. If a support agent’s answers frequently diverge from approved knowledge articles, this data helps you trace the cause to retrieval quality, content, or configuration. For technical detail, refer to Salesforce’s Agentforce Observability documentation.

Common Security Risks Associated with Agentforce  

Before designing monitoring, IT leaders should understand the risks it needs to catch. The key controls for each are summarized here; the full set appears in the checklist below.

1. Excessive Permissions and Unauthorized Access  

An agent with broader permissions than it needs can reach sensitive data or perform operations outside its role. An agent built to answer customer enquiries, for example, has no reason to see financial records or administrative functions.

Key controls: Apply least privilege to the user context each agent runs under, restrict object and field access to what its tasks require, and review the permissions of every connected action.

2. Prompt Injection  

Prompt injection is an attempt to make an agent ignore its instructions or perform an unauthorized task, either directly through a user prompt or indirectly through content the agent reads, such as an email or document. A typical example is a message telling the agent to disregard its rules and reveal customer information.

Key controls: Treat all external content as untrusted, enforce critical rules outside the language model through permissions and server-side validation, and include direct and indirect injection scenarios in testing.

3. Sensitive Data Exposure  

Agents may retrieve confidential customer, employee, or financial information, which can then surface in responses or in monitoring records. Note that the Einstein Trust Layer’s LLM data masking currently applies to embedded generative AI features, not to agents. Agent data protection therefore depends on access controls rather than masking.

Key controls: Enforce field-level security and record-level sharing, restrict who can view session traces and logs that may contain sensitive data, and test responses involving confidential records.

4. Unauthorized Business Actions  

Agents can create and update records, trigger workflows, and interact with external systems. A misconfigured action could create duplicates, update the wrong record, or start an unintended transaction.

Key controls: Maintain an approved action list, validate inputs, enforce business rules in Flow or Apex, and require human approval for high-impact operations.

5. Integration and API Security  

Agents often connect Salesforce to ERP systems, payment platforms, and external services. Weak authentication or overly broad API permissions widen the attack surface.

Key controls: Use secure authentication, protect credentials and secrets, restrict API scopes, and monitor API activity and failures with clear integration ownership.

6. Configuration and Deployment Risk  

Changes to instructions, actions, permissions, or connected systems can alter agent behavior unexpectedly, for example, a new action added without a permissions review.

Key controls: Test in non-production environments, review changes before deployment, keep version control, run regression tests, and maintain rollback procedures.

How to Monitor Agentforce Activity: A Practical Governance Framework  

Monitoring should be part of regular IT operations, not something you switch on after an incident. The following six steps give you a workable structure.

Step 1: Establish Ownership and Accountability  

How to Monitor Agentforce Activity: A Practical Governance Framework

Every production agent needs a named owner responsible for its purpose, outcomes, configuration, permissions, and ongoing review. Define the roles of Salesforce administrators, architects, information security, business process owners, compliance, and application support. Keep an agent inventory listing each agent’s name, purpose, owner, environment, connected applications, access level, and approval status.

Step 2: Define Normal Activity Patterns  

You cannot spot unusual behavior without a baseline. A service agent that normally reads cases and knowledge articles should raise an alert if it suddenly starts accessing financial or employee records. Baseline session volumes, record types accessed, actions invoked, API usage, execution time, error rates, data retrieval volumes, and escalation frequency.

Step 3: Enable the Right Logging  

Decide which capabilities each agent needs: session tracing, Agent Analytics, Agent Health Monitoring, audit and feedback data, and Salesforce Event Monitoring. Enabling everything by default is not the answer. Weigh data sensitivity, storage, retention, access, and Data 360 credit consumption, then define which events must be collected and who may review them.

Step 4: Monitor Actions and Data Access  

Confirm agents touch only the right records and invoke only approved actions. Watch especially for access to sensitive objects, unexpected field updates, repeated failed actions, unusual API requests, bulk data retrieval, and attempts at restricted operations. For high-risk agents, add application-level logging to capture business context that platform logs miss.

Step 5: Configure Alerts and Escalation  

Monitoring only helps if someone acts on it. Define alert conditions and responses for significant events:

Monitoring EventRecommended Response
Repeated unauthorized access attemptsInvestigate permissions and session activity
Unusual bulk record retrievalReview data access patterns and execution context
Repeated failed actionsInvestigate configuration and integration dependencies
Unexpected sensitive record updatesValidate the action and consider rollback
Increased prompt injection signalsReview inputs, guardrails, and agent instructions
Abnormal API usageInvestigate integration activity and credentials
High error or escalation ratesReview agent health and task configuration

Set escalation paths for security incidents, and decide in advance who has authority to restrict or deactivate an agent.

Step 6: Run Regular Governance Reviews  

Governance continues for the life of the agent. Review permissions, connected tools, instructions, activity trends, audit records, and incidents on a defined schedule. Agents that can modify financial records, access personal data, or perform external transactions warrant more frequent reviews than agents that only retrieve information.

Extending Governance Across Integrations with MuleSoft  

Agentforce rarely works alone. Agents call ERP systems, payment platforms, and external APIs, and many enterprises also run agents built outside Salesforce. Governing the agent inside Salesforce does not govern what happens across those connections.

Salesforce positions MuleSoft as the governance layer for this wider estate, alongside Agentforce Observability and Data 360. With MuleSoft you can apply consistent API security policies, rate limits, and access controls to every system an agent touches, and gain visibility into integration traffic that Salesforce-side monitoring cannot see. For organizations with significant integration footprints, this closes one of the largest gaps in agent governance.

Agentforce Governance Checklist for IT Leaders  

CIOs, CTOs, Salesforce administrators, and security teams can use this checklist during initial deployment reviews, quarterly governance assessments, and before major configuration changes.

Download the checklist: Get the Agentforce Governance Checklist as a printable PDF with tick boxes, owner and review-date fields for every section.

1. Agent Inventory and Ownership  

  • Maintain an inventory of all active agents
  • Document each agent’s business purpose and responsibilities
  • Assign a business owner and a technical owner
  • Record connected applications and data sources
  • Classify each agent by business and security risk
  • Review and retire inactive or unused agents

2. Identity and Access Management  

  • Confirm the user context each agent runs under
  • Apply least-privilege access through permission sets
  • Review object, field-level, and record-level access
  • Restrict sensitive actions to authorized agents only
  • Review permissions of connected integrations
  • Remove access when an agent’s responsibilities change

3. Data Protection and Privacy  

  • Identify sensitive data each agent can reach
  • Apply data classification and handling requirements
  • Rely on access controls for agents since LLM data masking does not currently apply to them
  • Restrict access to confidential customer and employee data
  • Restrict who can view session traces and logs
  • Define retention for monitoring data stored in Data 360
  • Validate external data sources before using them for grounding

4. Instructions and Guardrails  

  • Write clear instructions for each agent and sub-agent
  • Define permitted and prohibited activities
  • Limit each agent to approved actions
  • Define fallback and human-escalation behavior
  • Validate critical inputs and outputs outside the model
  • Require human approval for high-impact operations

5. Monitoring and Audit Logging  

  • Enable the Agentforce Observability capabilities each agent needs
  • Configure session tracing where appropriate
  • Review action invocations and failed actions
  • Monitor unusual data access patterns
  • Review Agent Analytics and quality scores
  • Configure health alerts for abnormal activity
  • Forward relevant events to your SIEM where required

6. Testing and Deployment  

  • Test agents in a non-production environment, using Agentforce Testing Center for batch test scenarios
  • Cover normal, edge-case, and unauthorized-request scenarios
  • Test direct and indirect prompt injection
  • Verify connected integrations and API permissions
  • Review configuration changes before deployment
  • Maintain deployment and rollback procedures
  • Run regression tests after significant changes

7. Incident Response and Continuous Improvement  

  • Define an AI agent incident response process
  • Assign investigation responsibilities
  • Document how to restrict or deactivate a compromised agent
  • Review incidents and failed interactions
  • Record corrective actions
  • Update instructions and safeguards based on findings

How Salesforce Security Features Support Agentforce Governance  

Agentforce governance builds on Salesforce’s wider security platform. Four capabilities matter most.

  • Einstein Trust Layer (also called the Agentforce Trust Layer): The Trust Layer sits between Salesforce data and the large language models agents use. It supports secure prompt handling, grounding, toxicity detection, zero data retention with supported model providers, and an audit trail of generative AI interactions. Review which Trust Layer controls apply to your configuration, and remember that its LLM data masking does not currently extend to agents.
  • Salesforce Event Monitoring: Event Monitoring records user, API, and data access activity across your org. Security teams can investigate unusual behavior and stream relevant events into a centralized SIEM.
  • Salesforce Shield: Shield combines Event Monitoring, Field Audit Trail, and Platform Encryption. Field Audit Trail extends field history retention well beyond standard limits, which matters when you need to reconstruct what an agent changed and when.
  • Agentforce Observability: Session tracing, Agent Analytics, Agent Optimization, and Agent Health Monitoring provide the agent-specific layer. Combined with the platform controls above, they give you a complete view: what the agent did, under what permissions, with what data, and with what result.

Measuring Agentforce Governance Effectiveness  

Security controls are only the beginning. IT leaders also need to know whether governance is working. These KPIs provide that view:

KPIWhat It Measures
Unauthorized access attemptsAttempts to reach restricted records or operations
Agent action success rateShare of intended actions completed successfully
Failed action rateFrequency of unsuccessful tool or workflow execution
Security incident countNumber of agent-related security incidents
Human escalation rateShare of interactions transferred to people
Policy violation rateFrequency of actions or responses that breach defined policies
Agent response qualityAccuracy and relevance of agent responses
Mean time to investigateAverage time to investigate agent-related incidents
Permission review completionShare of agents reviewed against access policies
Audit coverageShare of production agents covered by required monitoring

Set baselines and targets according to each agent’s risk. A customer-facing agent handling sensitive account data needs tighter thresholds and closer monitoring than an internal agent that retrieves product documentation.

Final Thoughts  

Agentforce opens real opportunities to automate processes and bring AI into customer service, sales, and internal operations. Greater autonomy, though, raises the stakes for monitoring, access management, and accountability.

AI agents are not ordinary application features that need attention only at deployment. They require continuous review of activity, permissions, and execution patterns, with clear ownership when something looks wrong. By combining Agentforce Observability, Salesforce’s platform security, MuleSoft governance for integrations, and a structured checklist, IT leaders can scale AI agents with confidence.

The goal is not simply to deploy agents. It is to make sure every agent stays within approved boundaries, protects enterprise information, and delivers measurable business value.

Frequently Asked Questions

Agentforce governance is the framework of policies, access controls, monitoring processes, security safeguards, and accountability measures used to manage Salesforce AI agents throughout their lifecycle.

Administrators use Agentforce Observability, which includes session tracing, Agent Analytics, Agent Optimization, and Agent Health Monitoring, along with audit and feedback data. Salesforce Event Monitoring adds visibility into wider platform activity. Availability depends on edition, licensing, and configuration.

The main risks are excessive permissions, unauthorized data access, prompt injection, sensitive data exposure, incorrect agent actions, insecure integrations, and uncontrolled configuration changes.

Session tracing records each agent interaction in detail, including user inputs, reasoning steps, LLM calls, action invocations, guardrail checks, and responses. The data is stored in Data 360 and helps teams investigate behavior, errors, and unexpected outcomes.

The Einstein Trust Layer, also called the Agentforce Trust Layer, provides secure prompt handling, grounding, toxicity detection, zero data retention with supported model providers, and audit logging for generative AI. Its LLM data masking currently applies to embedded AI features rather than agents, so agent data protection relies on access controls.

An agent can access whatever its permissions, user context, and connected actions allow. Apply least-privilege access and validate object, field-level, and record-level permissions for every agent.

Review on a regular schedule, such as quarterly, and whenever agent permissions, instructions, connected applications, or responsibilities change. Higher-risk agents need more frequent reviews.

It should cover agent inventory and ownership, identity and access management, data protection, instructions and guardrails, monitoring and audit logging, testing and deployment, and incident response.

Yes. Relevant events from Salesforce Event Monitoring and other supported sources can be integrated with centralized monitoring or SIEM platforms, depending on your architecture and licensing.

Human oversight makes sure sensitive, ambiguous, or high-impact activities are reviewed before they take effect, and gives agents a clear escalation path when they cannot safely complete a task.

Plan Your Agentforce Governance Strategy  

Whether you are preparing your first agent or bringing existing agents under control, Dhruvsoft can help you design the permissions, monitoring, testing, and integration governance your organization needs. Talk to our Agentforce experts to discuss your Salesforce security, implementation, and AI governance requirements.

About Dhruvsoft  

Dhruvsoft is a Salesforce Crest Partner and AppExchange Partner with more than 15 years in business, 200+ Salesforce projects delivered, 50+ certified consultants, and 100+ clients across seven industries. Our ISO 27001 and ISO 9001 certifications mean information security and quality management are built into how we deliver, which matters when you are giving AI agents access to your business data.

For Agentforce, we cover the full lifecycle. We start with readiness assessments that test use cases, data, and permissions before anything is built, then design agent architecture with clear boundaries on actions, data access, and integrations. Our Salesforce Testing Services include dedicated Agentforce testing, from prompt-injection scenarios to regression runs. As a MuleSoft partner, we extend governance across the ERP and external systems your agents connect to, and our managed services keep agents monitored, reviewed, and improving after go-live.

About Surender Patel

Surender Patel is a Salesforce Architect and Solution Designer with 11+ years of experience building scalable, business-focused solutions. As a Practice Manager, he designs end-to-end Salesforce architectures that simplify processes, improve efficiency, and deliver measurable value.