Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

EKS IRSA role trust allows any service account (overly broad subject claim)

AWS_IAM_010 HIGH Security

What it checks

EKS IRSA role trust allows any service account (overly broad subject claim)

Where it applies

Terraform: aws_iam_role

CloudFormation: AWS::IAM::Role

How to fix it

  1. Replace the wildcard subject with the specific namespace and service account: "system:serviceaccount:NAMESPACE:SA_NAME". Use StringEquals (not StringLike) to prevent prefix bypasses.
  2. If multiple service accounts need this role, create a separate role per service account — or use StringEquals with a specific list of subjects.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules