
Summary
This rule detects a successful UpdateGateway call on an AWS Bedrock AgentCore Gateway where the policyEngineConfiguration.mode is set to LOG_ONLY. In LOG_ONLY, Cedar policy evaluation continues for each tool call, but blocks are not enforced, effectively shifting the gateway from active authorization enforcement to observation. No Cedar policy write permission is required to trigger this change; the caller only needs UpdateGateway, GetGateway, and iam:PassRole on the gateway’s execution role. This creates a privilege-inversion scenario where a principal can disable enforcement without Cedar policy permissions, potentially masking unauthorized activity. The rule prioritizes detecting potential defense-evasion or policy-management misuse patterns and ties to investigation guidance and remediation steps.
Triage and investigation guidance (included in the rule) recommends reviewing the caller’s CloudTrail identity, origin, and parameters; verifying the current mode via GetGateway; assessing whether the caller has Cedar policy write permissions; and monitoring subsequent tool invocations through the gateway to identify enforcement gaps. False positives may include legitimate automation or testing that deliberately enables LOG_ONLY as part of change management. Remediation emphasizes re-enabling ENFORCE mode, restricting UpdateGateway to principals with Cedar policy-engine write permissions, and auditing gateway activity since the switch to log-only.
References to AWS Bedrock AgentCore Gateway documentation are provided, and risk context is captured with a medium severity and a risk score of 47. The rule maps to MITRE ATT&CK defense evasion (impair defenses) and MITRE ATLAS AML.T0012 (Valid Accounts/Privilege Escalation) framing when viewed through privilege escalation patterns.
Categories
- Cloud
- AWS
Data Sources
- Cloud Service
ATT&CK Techniques
- T0012
- T1562
Created: 2026-11-26