A Bedrock Agent Action Group defines the actions an Amazon Bedrock agent can take, described by an API schema or function definitions and usually carried out by an AWS Lambda function. Prompt injection can steer the agent into invoking these actions, so scope the Lambda role to least privilege, validate parameters in the function and log invocations.
What the action group is
A Bedrock Agent Action Group is the agent’s execution interface, the part that translates a natural-language request into a bounded API operation or Lambda invocation. The security question is not whether the agent can act, but which actions it is allowed to trigger, under what parameters, and with what backing permissions.
Because the action group is tied to callable functions rather than a free-form conversation, it becomes the point where intent is converted into concrete system change. That makes the action schema, function contract and downstream role design part of the control surface, not just implementation details.
Why it matters for agent security
The main security property of an action group is capability restriction. If the schema is too broad, the agent can be steered toward actions that were never intended for the current context, especially when prompt injection or manipulated tool outputs influence the model’s decision path. In practice, the action group should be treated as a trust boundary between model output and business-impacting operations.
Least privilege needs to apply twice, first to what the agent is permitted to request, and then to what the backing Lambda role can actually do. Amazon Bedrock Security Guide is the broader reference point for this control pattern, including service roles, guardrails and invocation logging. If the function can reach more systems or data than the agent genuinely needs, a successful prompt-injection path can turn a narrow tool call into a wider compromise.
Parameter validation, function design and logging
The action group does not make the function safe by itself. The Lambda handler still needs strong input validation, explicit allowlisting of expected parameters and defensive handling of unexpected values, because model-generated arguments are not trustworthy input. This is where the API contract and the runtime checks need to agree.
Logging is equally important because the action group is often the best place to reconstruct what the agent actually attempted. Invocation logs should capture the requested action, input values, calling context and outcome so that teams can distinguish approved behaviour from misfire, abuse or prompt-influenced misuse. For a deeper operational view of what to record and how to attribute agent behaviour, AI Agent Observability, Audit and Incident Response Guide is directly relevant.
How to think about blast radius
An action group should be designed around the smallest defensible blast radius. A well-scoped group exposes only the functions that a specific agent needs, and each function should be narrow enough that failure is detectable and reversible. If one action can chain into several privileged outcomes, the group is too coarse for safe agent operation.
This is especially important when the agent is allowed to touch customer records, operational workflows or infrastructure changes. The more irreversible the effect, the more the action group needs clear boundaries, explicit confirmation points and a dependable audit trail. Amazon Bedrock Agents Security Guide covers the adjacent control choices around least-privilege action groups, user confirmation and session isolation.
When the action group becomes a control decision
For practitioners, the key decision is not merely how to define the schema, but whether a given function belongs in an agent at all. If the action is destructive, high-impact or difficult to reverse, the safer design may be a separate approval path, a tighter function contract or a more constrained execution role rather than a direct agent tool call.
Pre-Execution Policy Checks vs Post-Execution Monitoring is useful when deciding whether to block an action before execution or detect and reconcile it after the fact. The practical rule is simple: if the agent can cause material change, the action group should be governed as a security boundary, not just as an integration detail.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5, CIS Controls v8 and OWASP ASVS set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-9 — Identification and Authentication (Non-Organizational Users) | Covers service-to-service and external callable auth behind agent actions. |
| AC-6 — Least Privilege | Directly fits narrowing what the agent and Lambda role can do. | |
| AU-2 — Event Logging | Logging agent tool calls and outcomes is central to this control boundary. | |
| Recommendation — Use IA-9 to authenticate the agent-backed function or service path before it can execute privileged actions. Apply AC-6 to minimize the permissions behind each agent action group. Log each action-group invocation, parameters and outcome for traceability and review. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | Maps to scoping and reviewing who and what can invoke sensitive actions. |
| Recommendation — Restrict and review the accounts, roles and paths that can trigger agent actions. | ||
| OWASP ASVS | V8 — Authorization | Action groups are an authorization boundary for tool use and function calls. |
| Recommendation — Verify each agent action against explicit authorization rules before execution. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Prompt-steered agent actions and overbroad permissions are core to this risk. |
| Recommendation — Constrain tool privileges and bind approvals to the exact agent action context. | ||
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org