Ensure IAM policies do not use NotAction with Allow effect
Using NotAction with Allow grants permissions on all actions except those listed. As AWS adds new services and actions, they are automatically allowed, violating least privilege.
Security Impact
New AWS services and actions are automatically granted, potentially allowing unintended access to new capabilities.
How to Remediate
Replace NotAction statements with explicit Action statements that list only the required permissions.
Affected Resources
Compliance Frameworks
How TigerGate Helps
TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:
- Continuous Scanning
Automatically scans all Identity and Access Management (IAM) resources across your AWS accounts every hour
- Instant Alerts
Get notified via Slack, email, or webhooks when this misconfiguration is detected
- One-Click Remediation
Fix this issue directly from the TigerGate dashboard with our guided remediation
- Compliance Evidence
Automatically collect audit evidence for SOC 2, NIST 800-53 compliance
- Drift Detection
Get alerted if this configuration drifts back to an insecure state after remediation
Check Details
- Check ID
- aws-iam-23
- Service
- Identity and Access Management (IAM)
- Category
- Permissions Management
- Severity
- MEDIUM
Automate This Check
TigerGate automatically scans your AWS environment for this and 575+ other security checks.
Start Free TrialRelated Identity and Access Management (IAM) Checks
View all checksAvoid the use of root account
Ensure MFA is enabled for the root account
Ensure hardware MFA is enabled for the root account
Ensure no root account access keys exist
Ensure IAM password policy requires at least one uppercase letter