Docs / Rule catalogue

Rule catalogue

Every rule AccessLens checks, by analyzer: severity, what it detects, the permissions it needs and its compliance mapping. Searchable.

AccessLens runs 11 independent analyzers with 251 rules in total. Each analyzer works on a snapshot of one account's configuration. When a rule's input couldn't be collected, for example because AWS denied the read, the rule is reported as not evaluated and its findings are never auto-resolved.

Severities are each rule's default; some rules raise or lower them based on the evidence. The permission groups link to why the role needs them, and risk scores are explained in Risk scoring. Compliance mappings cover subsets of each framework and aren't an attestation.

Generated from AccessLens 0.1.0 (commit d0ab936), synced .

IAM identity hygiene identity_hygiene

MFA, root-user use, access-key age and usage, unused users and roles, and direct policy attachments. Driven mostly by the IAM credential report. Also the CIS IAM and account controls that need more than the credential report: hardware MFA on root, unused access keys on console users, a support role, expired server certificates, a security contact, centralized root access, AWSCloudShellFullAccess and EC2 instances without a role (D-033, D-037), and long-term Amazon Bedrock API keys. The unused-permissions findings carry each policy trimmed to what IAM shows was used.

24 rules

  • high

    Console user without MFA

    USER_WITHOUT_MFA

    An IAM user can sign in to the console with a password but has no MFA device.

    Category
    mfa
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.10, CIS v5 1.9, SOC 2 CC6.1, ISO 27001 A.8.5, NIST 800-53 IA-2(1), PCI DSS 8.4.2, HIPAA 164.312(d)
  • critical

    Root user without MFA

    ROOT_ACCOUNT_NO_MFA

    The account's root user has no MFA device.

    Category
    root account
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.5, CIS v5 1.4, SOC 2 CC6.1, ISO 27001 A.8.5, NIST 800-53 IA-2(1), PCI DSS 8.4.2, HIPAA 164.312(d)
  • critical

    Root user has access keys

    ROOT_ACCESS_KEYS_PRESENT

    The root user has active access keys, which can't be limited by any policy.

    Category
    root account
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.4, CIS v5 1.3, ISO 27001 A.8.2, NIST 800-53 AC-6(5), NIST 800-53 IA-5, PCI DSS 8.6.3
  • high

    Root user used recently

    ROOT_ACCOUNT_RECENT_USE

    The root user signed in or used an access key in the last 90 days.

    Category
    root account
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.7, CIS v5 1.6, ISO 27001 A.8.2, NIST 800-53 AC-6(5)
  • medium

    Access key older than 90 days

    OLD_ACCESS_KEY

    An active access key hasn't been rotated in more than 90 days.

    Category
    access keys
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.14, CIS v5 1.13, ISO 27001 A.5.17, NIST 800-53 IA-5, PCI DSS 8.6.3, HIPAA 164.308(a)(5)(ii)(D)
  • medium

    Active access key unused for 45+ days

    UNUSED_ACCESS_KEY

    An active access key hasn't been used in 45 days or more (or was never used).

    Category
    access keys
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.12, CIS v5 1.11, SOC 2 CC6.2, ISO 27001 A.5.18, NIST 800-53 AC-2, PCI DSS 8.2.6, HIPAA 164.308(a)(3)(ii)(C)
  • low

    User has two active access keys

    MULTIPLE_ACTIVE_ACCESS_KEYS

    A user has more than one active access key.

    Category
    access keys
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.13, CIS v5 1.12, NIST 800-53 AC-2
  • medium

    Console password unused for 45+ days

    UNUSED_CONSOLE_PASSWORD

    A console password exists but hasn't been used in 45 days or more.

    Category
    passwords
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.12, CIS v5 1.11, SOC 2 CC6.2, NIST 800-53 AC-2, PCI DSS 8.2.6, HIPAA 164.308(a)(3)(ii)(C)
  • low

    Console password not changed in 90+ days

    OLD_CONSOLE_PASSWORD

    A console user's password hasn't been changed in more than 90 days.

    Category
    passwords
    Permissions
    iam-credentials
    Maps to
    ISO 27001 A.5.17, NIST 800-53 IA-5, PCI DSS 8.3.9, HIPAA 164.308(a)(5)(ii)(D)
  • medium

    IAM user unused for 90+ days

    UNUSED_IAM_USER

    An IAM user hasn't signed in or used an access key in 90 days or more.

    Category
    unused access
    Permissions
    iam-credentials
    Maps to
    SOC 2 CC6.2, ISO 27001 A.5.16, NIST 800-53 AC-2, PCI DSS 7.2.4, PCI DSS 8.2.6, HIPAA 164.308(a)(3)(ii)(C)
  • low

    IAM role unused for 90+ days

    UNUSED_IAM_ROLE

    A role hasn't been assumed in 90 days or more.

    Category
    unused access
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.2, ISO 27001 A.5.18, NIST 800-53 AC-2, PCI DSS 7.2.4, HIPAA 164.308(a)(4)(ii)(C)
  • low

    User has policies attached directly

    USER_DIRECT_POLICY_ATTACHMENT

    An IAM user has managed or inline policies attached directly instead of through groups.

    Category
    access control
    Permissions
    iam-inventory
    Maps to
    CIS v3 1.15, CIS v5 1.14, SOC 2 CC6.2, ISO 27001 A.5.16, HIPAA 164.308(a)(4)(ii)(C)
  • low

    Permissions for services the principal doesn't use

    UNUSED_SERVICE_PERMISSIONS

    An active user or role has permissions for AWS services it hasn't used in 90 days, or at all in IAM's 400-day tracking period (IAM last-accessed data). Medium when the unused services include IAM, STS, Organizations, KMS, IAM Identity Center or Account Management. Principals created in the last 90 days and principals with no recent activity at all (see the unused-user and unused-role rules) aren't reported.

    Category
    unused access
    Permissions
    iam-last-accessed
    Maps to
    SOC 2 CC6.3, ISO 27001 A.5.18, NIST 800-53 AC-6, PCI DSS 7.2.4, HIPAA 164.308(a)(4)(ii)(C)
  • low

    Permissions for actions the principal doesn't use

    UNUSED_ACTION_PERMISSIONS

    For services IAM tracks at action level (such as IAM, EC2, Lambda and S3), an active user or role can perform actions it hasn't used in 90 days, in services it does use. Medium when they include IAM actions other than reads.

    Category
    unused access
    Permissions
    iam-last-accessed
    Maps to
    SOC 2 CC6.3, ISO 27001 A.5.18, NIST 800-53 AC-6, PCI DSS 7.2.4, HIPAA 164.308(a)(4)(ii)(C)
  • critical

    Access key exposed in public code

    EXPOSED_ACCESS_KEY

    AWS found this access key in a public code repository or elsewhere online (Trusted Advisor's Exposed Access Keys check). Only AWS can detect this; AccessLens shows AWS's result. Needs AWS Business Support or higher; with a lower plan the check is reported as unavailable.

    Category
    access keys
    Permissions
    trusted-advisor
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.17, NIST 800-53 IA-5, PCI DSS 8.6.3, HIPAA 164.308(a)(5)(ii)(D)
  • medium

    Root user's MFA is a virtual device

    ROOT_HARDWARE_MFA_MISSING

    The root user has MFA, but on a virtual (app-based) device rather than a hardware key or passkey. CIS recommends hardware MFA for root.

    Category
    root account
    Permissions
    iam-settings, iam-credentials
    Maps to
    CIS v3 1.6, CIS v5 1.5, SOC 2 CC6.1
  • low

    Unused access key on a console user

    ACCESS_KEY_CREATED_AT_SETUP

    A user with a console password has an active access key that has never been used, the pattern CIS describes as keys created during initial user setup.

    Category
    access keys
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.11, CIS v5 1.10
  • low

    No role for AWS Support incidents

    NO_SUPPORT_ROLE

    No user, group or role has the AWSSupportAccess policy attached, so nobody can manage AWS Support cases without broader permissions.

    Category
    governance
    Permissions
    iam-inventory
    Maps to
    CIS v3 1.17, CIS v5 1.16
  • low

    Expired server certificate stored in IAM

    EXPIRED_SERVER_CERTIFICATE

    An SSL/TLS server certificate stored in IAM has expired. It can be deployed to a load balancer by mistake.

    Category
    maintenance
    Permissions
    iam-settings
    Maps to
    CIS v3 1.19, CIS v5 1.18
  • low

    No security contact registered

    NO_SECURITY_CONTACT

    The account has no security alternate contact, so AWS security notifications go only to the root user's email address.

    Category
    governance
    Permissions
    iam-settings
    Maps to
    CIS v3 1.2, CIS v5 1.2
  • low

    Root access isn't managed centrally

    ROOT_ACCESS_NOT_CENTRALIZED

    The organization hasn't turned on centralized root access, so every member account keeps its own root password, access keys and MFA. Checked from the management account.

    Category
    root account
    Permissions
    iam-settings
    Maps to
    SOC 2 CC6.1
  • medium

    AWSCloudShellFullAccess attached

    CLOUDSHELL_FULL_ACCESS_ATTACHED

    The AWS-managed AWSCloudShellFullAccess policy is attached to a user, group or role. It allows uploading and downloading files through CloudShell, a path for moving data in and out that bypasses network controls (CIS 3.0.0 1.22).

    Category
    data exfiltration
    Permissions
    iam-inventory
    Maps to
    CIS v3 1.22, CIS v5 1.21
  • low

    EC2 instance without an IAM role

    EC2_INSTANCE_NO_ROLE

    A running or stopped instance has no instance profile, so anything on it that calls AWS needs long-lived access keys stored on the instance (CIS 3.0.0 1.18).

    Category
    access keys
    Permissions
    ec2-compute
    Maps to
    CIS v3 1.18, CIS v5 1.17
  • medium

    Long-term Amazon Bedrock API key

    BEDROCK_API_KEY_LONG_TERM

    An IAM user has an active long-term Amazon Bedrock API key (a service-specific credential). It works until it expires or is deleted, from anywhere. High when it never expires or the user has administrator or IAM-write access.

    Category
    access keys
    Permissions
    iam-settings, iam-inventory
    Maps to
    SOC 2 CC6.1

Policy analysis policy_analysis

Wildcard grants, NotAction/NotResource, privilege-escalation paths (27 methods after Rhino Security Labs and Bishop Fox), AWS-managed admin attachments, broad inline policies, and organizations with no restrictive SCPs. Principals that can read data and secrets, change resource policies, obtain credentials, or delete infrastructure and security logging on every resource (the risk categories Cloudsplaining uses, D-031), and AmazonBedrockFullAccess attachments. Effective permissions combine identity policies, permissions boundaries, explicit denies and, when the management account has been scanned, each account's service control policies along its OU path. Conditions on the principal's ARN, account and organization, on iam:PassedToService, and on the requested region are evaluated offline; anything else (MFA, source IP, tags) makes the result "depends on conditions", reported one severity lower. Resource control policies, session policies and resource-based policies aren't part of these findings.

15 rules

  • high

    Policy grants full administrative access (*:*)

    FULL_ADMIN_POLICY

    A customer-managed or inline policy allows every action on every resource.

    Category
    admin access
    Permissions
    iam-inventory
    Maps to
    CIS v3 1.16, CIS v5 1.15, SOC 2 CC6.1, ISO 27001 A.5.15, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B), HIPAA 164.312(a)(1)
  • high

    Policy grants a whole sensitive service

    SERVICE_WILDCARD_ACTION

    A policy allows every action of a sensitive service (for example iam:* or sts:*) on all resources.

    Category
    wildcard permissions
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.15, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • high

    Allow statement uses NotAction

    NOT_ACTION_ALLOW

    An Allow statement with NotAction grants everything except the listed actions, including services added later.

    Category
    wildcard permissions
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.1, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • medium

    Allow statement uses NotResource

    NOT_RESOURCE_ALLOW

    An Allow statement with NotResource applies to every resource except the listed ones.

    Category
    wildcard permissions
    Permissions
    iam-inventory
    Maps to
    NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • high

    Principal can escalate its privileges

    PRIVILEGE_ESCALATION_PATH

    The principal's permissions match a known IAM privilege-escalation method, after permissions boundaries, explicit denies and (when the organization's SCPs are visible) service control policies. Conditions on the principal's ARN, account and organization, on iam:PassedToService, and on the requested region are evaluated; when another condition (MFA, source IP, tags, ...) gates the method, the finding is reported one severity lower and marked "depends on conditions".

    Category
    privilege escalation
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6(5), PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B), HIPAA 164.312(a)(1)
  • high

    AWS-managed admin policy attached

    RISKY_IAM_POLICY

    AdministratorAccess, PowerUserAccess or IAMFullAccess is attached directly to a user, group or role.

    Category
    admin access
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.2, NIST 800-53 AC-6(5), PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B), HIPAA 164.312(a)(1)
  • medium

    iam:PassRole allowed on every role

    PASSROLE_ALL_RESOURCES

    The principal can pass any role in the account to a service.

    Category
    privilege escalation
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, NIST 800-53 AC-6, PCI DSS 7.2.5
  • medium

    sts:AssumeRole allowed on every role

    ASSUME_ROLE_ALL_RESOURCES

    The principal can attempt to assume any role whose trust policy admits it.

    Category
    privilege escalation
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, NIST 800-53 AC-6, PCI DSS 7.2.5
  • medium

    Overly broad inline policy

    BROAD_INLINE_POLICY

    An inline policy grants write-capable wildcard actions on every resource.

    Category
    wildcard permissions
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • low

    Organization has no restrictive SCPs

    ORGANIZATION_NO_SCPS

    The organization's only service control policy is FullAWSAccess, so SCPs restrict nothing.

    Category
    governance
    Permissions
    organizations
  • medium

    Principal can read data or secrets on every resource

    DATA_EXFILTRATION_UNRESTRICTED

    The principal is allowed actions that read data rather than configuration, such as s3:GetObject, ssm:GetParameter or secretsmanager:GetSecretValue, on all resources. High when secret values are readable.

    Category
    data exfiltration
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.312(a)(1)
  • high

    Principal can change resource policies on every resource

    RESOURCE_EXPOSURE_UNRESTRICTED

    The principal can rewrite resource-based policies, ACLs, sharing attributes or KMS grants on all resources (for example s3:PutBucketPolicy, kms:PutKeyPolicy, lambda:AddPermission or ec2:ModifySnapshotAttribute), so it can make data public or share it with any account.

    Category
    resource exposure
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.312(a)(1)
  • high

    Principal can obtain credentials on every resource

    CREDENTIAL_EXPOSURE_UNRESTRICTED

    The principal can create or retrieve credentials for other identities or services on all resources, such as service-specific credentials, federation tokens, EC2 Windows passwords, SSH keys pushed through EC2 Instance Connect, or database credentials. Medium when only the weaker ones are allowed: ec2:GetPasswordData (the password is encrypted to the instance's key pair), connect:GetFederationToken (Amazon Connect only), codepipeline:PollForJobs and gamelift:RequestUploadCredentials, which AWS's ReadOnlyAccess policy includes. Access-key and console-password creation are reported as privilege-escalation paths instead.

    Category
    credential exposure
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.312(a)(1)
  • medium

    Principal can delete infrastructure, backups or logging on every resource

    INFRASTRUCTURE_MODIFICATION_UNRESTRICTED

    The principal can terminate or delete compute, databases, buckets, backups and keys, or stop CloudTrail, AWS Config and GuardDuty, on all resources.

    Category
    infrastructure modification
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6, PCI DSS 7.2.2, HIPAA 164.312(a)(1)
  • medium

    AmazonBedrockFullAccess attached

    BEDROCK_FULL_ACCESS_ATTACHED

    The AWS-managed AmazonBedrockFullAccess policy is attached to a user, group or role. It allows every Bedrock action, including changing logging, guardrails and agents, plus iam:PassRole for Bedrock service roles.

    Category
    wildcard permissions
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6

Trust policy analysis trust_policy

Who can assume each role: * principals, cross-account trusts without ExternalId or conditions, accounts outside the organization, service trusts without source conditions (confused deputy), OIDC/SAML trusts without audience or subject conditions, and IAM Roles Anywhere trusts without trust-anchor or certificate conditions and profiles that don't limit sessions. The trust graph draws Roles Anywhere trust anchors as entry points.

9 rules

  • critical

    Role can be assumed by anyone

    ROLE_TRUSTS_ANYONE

    The trust policy allows Principal "*". Without restricting conditions, any AWS identity can assume the role.

    Category
    public exposure
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.15, NIST 800-53 SC-7, HIPAA 164.312(a)(1)
  • high

    Cross-account trust without ExternalId or conditions

    CROSS_ACCOUNT_TRUST_NO_EXTERNAL_ID

    Another account can assume the role with no sts:ExternalId or other restricting condition.

    Category
    trust policy
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.18, NIST 800-53 SC-7
  • medium

    Role trusts an account outside your organization

    TRUST_OUTSIDE_ORGANIZATION

    The trust policy names an account that isn't in your organization or in AccessLens.

    Category
    cross account exposure
    Permissions
    iam-inventory, organizations
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.18, NIST 800-53 SC-7
  • low

    Service trust without source conditions

    SERVICE_TRUST_CONFUSED_DEPUTY

    An AWS service can assume the role on behalf of any account, because there's no aws:SourceAccount or aws:SourceArn condition.

    Category
    trust policy
    Permissions
    iam-inventory
  • high

    OIDC trust without an audience condition

    OIDC_TRUST_NO_AUDIENCE

    A web-identity trust doesn't check the token audience (aud), so tokens issued for other clients are accepted.

    Category
    federated trust
    Permissions
    iam-inventory
  • high

    OIDC trust without a subject condition

    OIDC_TRUST_NO_SUBJECT

    A web-identity trust doesn't restrict the token subject (sub). For GitHub Actions this lets any repository assume the role.

    Category
    federated trust
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.6
  • medium

    SAML trust without an audience condition

    SAML_TRUST_NO_AUDIENCE

    A SAML trust doesn't check SAML:aud, the recommended condition for sign-in through the AWS SAML endpoint.

    Category
    federated trust
    Permissions
    iam-inventory
  • high

    Roles Anywhere trust without certificate conditions

    ROLES_ANYWHERE_TRUST_UNRESTRICTED

    The role trusts IAM Roles Anywhere without an aws:SourceArn condition naming a trust anchor, so a certificate from any trust anchor in the account can be exchanged for its credentials. Medium when the trust anchor is named but nothing restricts the certificate's subject or issuer.

    Category
    federated trust
    Permissions
    iam-inventory
    Maps to
    SOC 2 CC6.1, SOC 2 CC6.6, ISO 27001 A.5.15, NIST 800-53 AC-3, HIPAA 164.312(a)(1)
  • low

    Roles Anywhere profile doesn't limit sessions

    ROLES_ANYWHERE_PROFILE_UNRESTRICTED

    An enabled Roles Anywhere profile has no session policy or managed policies, so certificate-based sessions get the role's full permissions. Medium when a role in the profile has administrator access.

    Category
    session posture
    Permissions
    roles-anywhere-oam, iam-inventory
    Maps to
    SOC 2 CC6.3, NIST 800-53 AC-6

Resource policies resource_policy

Public and cross-account exposure in resource-based policies, S3 ACLs and Block Public Access, Lambda function URLs, and S3 access points, plus CloudWatch Observability Access Manager sinks that accept links from any account or from outside the organization, and links that send this account's telemetry outside it, and DynamoDB stream and S3 directory bucket policies.

34 rules

  • critical

    S3 bucket is public

    S3_BUCKET_PUBLIC

    A bucket policy or ACL grants access to everyone, and Block Public Access doesn't stop it.

    Category
    public exposure
    Permissions
    s3
    Maps to
    CIS v3 2.1.4, CIS v5 2.1.4, SOC 2 CC6.6, ISO 27001 A.5.15, NIST 800-53 AC-3, PCI DSS 1.4.4, HIPAA 164.312(a)(1)
  • high

    S3 ACL grants any AWS account

    S3_BUCKET_AUTHENTICATED_USERS_ACL

    The bucket ACL grants the AuthenticatedUsers group, which means any AWS account.

    Category
    public exposure
    Permissions
    s3
    Maps to
    HIPAA 164.312(a)(1)
  • medium

    S3 bucket policy grants another account

    S3_BUCKET_CROSS_ACCOUNT

    The bucket policy grants access to principals in another account.

    Category
    cross account exposure
    Permissions
    s3
    Maps to
    ISO 27001 A.5.18
  • high

    Account-level S3 Block Public Access is off

    S3_ACCOUNT_BLOCK_PUBLIC_ACCESS_OFF

    One or more of the four account-level Block Public Access settings is disabled.

    Category
    public exposure
    Permissions
    s3
    Maps to
    CIS v3 2.1.4, CIS v5 2.1.4, NIST 800-53 SC-7, PCI DSS 1.4.4, HIPAA 164.312(a)(1)
  • high

    KMS key policy allows any principal

    KMS_KEY_WILDCARD_POLICY

    The key policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    kms
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.15, HIPAA 164.312(a)(1)
  • medium

    KMS key usable by another account

    KMS_KEY_CROSS_ACCOUNT

    The key policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    kms
  • high

    Lambda function invocable by anyone

    LAMBDA_FUNCTION_PUBLIC

    The function's resource policy allows Principal "*" without a source condition.

    Category
    public exposure
    Permissions
    lambda
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3, HIPAA 164.312(a)(1)
  • high

    Lambda function URL without authentication

    LAMBDA_FUNCTION_URL_NO_AUTH

    The function has a function URL with AuthType NONE.

    Category
    public exposure
    Permissions
    lambda
    Maps to
    SOC 2 CC6.6, HIPAA 164.312(a)(1)
  • medium

    Lambda function invocable by another account

    LAMBDA_FUNCTION_CROSS_ACCOUNT

    The function's resource policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    lambda
  • high

    SQS queue is public

    SQS_QUEUE_PUBLIC_ACCESS

    The queue policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    sqs
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3, HIPAA 164.312(a)(1)
  • medium

    SQS queue shared with another account

    SQS_QUEUE_CROSS_ACCOUNT

    The queue policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    sqs
  • high

    SNS topic is public

    SNS_TOPIC_PUBLIC_ACCESS

    The topic policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    sns
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3, HIPAA 164.312(a)(1)
  • medium

    SNS topic shared with another account

    SNS_TOPIC_CROSS_ACCOUNT

    The topic policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    sns
  • critical

    Secret readable by any principal

    SECRET_PUBLIC_POLICY

    The secret's resource policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    secretsmanager
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.15, HIPAA 164.312(a)(1)
  • high

    Secret shared with another account

    SECRET_CROSS_ACCOUNT_POLICY

    The secret's resource policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    secretsmanager
    Maps to
    ISO 27001 A.5.18
  • high

    Event bus accepts events from anyone

    EVENTBRIDGE_BUS_PUBLIC

    The event bus policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    events
  • low

    Event bus accepts events from another account

    EVENTBRIDGE_BUS_CROSS_ACCOUNT

    The event bus policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    events
  • critical

    Backup vault policy allows any principal

    BACKUP_VAULT_PUBLIC

    The backup vault access policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    backup
  • medium

    Backup vault shared with another account

    BACKUP_VAULT_CROSS_ACCOUNT

    The backup vault access policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    backup
  • low

    API resource policy grants another account

    APIGATEWAY_POLICY_CROSS_ACCOUNT

    A private or regional API's resource policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    apigateway
  • high

    S3 access point is public

    S3_ACCESS_POINT_PUBLIC

    AWS evaluates the access point's policy as public.

    Category
    public exposure
    Permissions
    s3-access-points
    Maps to
    CIS v3 2.1.4, CIS v5 2.1.4
  • high

    ECR repository is public

    ECR_REPOSITORY_PUBLIC

    The repository policy allows Principal "*" without a restricting condition, so anyone can pull (or push) images.

    Category
    public exposure
    Permissions
    containers
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3
  • medium

    ECR repository shared with another account

    ECR_REPOSITORY_CROSS_ACCOUNT

    The repository policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    containers
    Maps to
    ISO 27001 A.5.18
  • high

    DynamoDB table is public

    DYNAMODB_TABLE_PUBLIC

    The table's resource policy allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    dynamodb
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3
  • medium

    DynamoDB table shared with another account

    DYNAMODB_TABLE_CROSS_ACCOUNT

    The table's resource policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    dynamodb
    Maps to
    ISO 27001 A.5.18
  • medium

    EFS file system policy allows anyone

    EFS_FILE_SYSTEM_PUBLIC

    The file system policy allows Principal "*" without a restricting condition, so any client with a network path to a mount target can use it.

    Category
    public exposure
    Permissions
    storage
    Maps to
    SOC 2 CC6.6, NIST 800-53 AC-3
  • medium

    EFS file system shared with another account

    EFS_FILE_SYSTEM_CROSS_ACCOUNT

    The file system policy grants principals in another account.

    Category
    cross account exposure
    Permissions
    storage
    Maps to
    ISO 27001 A.5.18
  • high

    DynamoDB stream is public

    DYNAMODB_STREAM_PUBLIC

    The stream's resource policy allows Principal "*" without a restricting condition, so anyone can read every change to the table.

    Category
    public exposure
    Permissions
    dynamodb
  • medium

    DynamoDB stream shared with another account

    DYNAMODB_STREAM_CROSS_ACCOUNT

    The stream's resource policy grants principals in another account, who can read every change to the table.

    Category
    cross account exposure
    Permissions
    dynamodb
  • high

    S3 directory bucket policy allows anyone

    S3_DIRECTORY_BUCKET_PUBLIC

    The bucket policy of an S3 Express One Zone directory bucket allows Principal "*" without a restricting condition.

    Category
    public exposure
    Permissions
    s3
  • medium

    S3 directory bucket shared with another account

    S3_DIRECTORY_BUCKET_CROSS_ACCOUNT

    The bucket policy of an S3 Express One Zone directory bucket grants principals in another account.

    Category
    cross account exposure
    Permissions
    s3
  • high

    Observability sink accepts links from any account

    OAM_SINK_PUBLIC

    A CloudWatch Observability Access Manager sink policy allows Principal "*" without a restricting condition, so any AWS account can link and send its telemetry here, or probe the monitoring account.

    Category
    public exposure
    Permissions
    roles-anywhere-oam
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.15, NIST 800-53 AC-3
  • medium

    Observability sink trusts an account outside your organization

    OAM_SINK_OUTSIDE_ORGANIZATION

    A sink policy lets an account that isn't in your organization or in AccessLens link to this monitoring account.

    Category
    cross account exposure
    Permissions
    roles-anywhere-oam, organizations
    Maps to
    SOC 2 CC6.6, ISO 27001 A.5.15, NIST 800-53 AC-3

Credential and session posture credential_posture

Account password policy, MFA enforcement by policy, IAM Identity Center permission sets (session length, admin access, wildcards), SAML metadata expiry, and organization membership.

9 rules

  • medium

    No account password policy

    PASSWORD_POLICY_MISSING

    The account has no IAM password policy, so console passwords only need to meet AWS's minimum.

    Category
    passwords
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.8, CIS v3 1.9, CIS v5 1.7, CIS v5 1.8, ISO 27001 A.5.17, NIST 800-53 IA-5(1), PCI DSS 8.3.6, PCI DSS 8.3.7, HIPAA 164.308(a)(5)(ii)(D)
  • medium

    Weak account password policy

    PASSWORD_POLICY_WEAK

    The password policy allows short passwords (under 14 characters) or password reuse.

    Category
    passwords
    Permissions
    iam-credentials
    Maps to
    CIS v3 1.8, CIS v3 1.9, CIS v5 1.7, CIS v5 1.8, ISO 27001 A.5.17, NIST 800-53 IA-5(1), PCI DSS 8.3.6, PCI DSS 8.3.7, HIPAA 164.308(a)(5)(ii)(D)
  • medium

    MFA isn't enforced by policy

    MFA_NOT_ENFORCED_BY_POLICY

    Console users without MFA have no policy denying actions unless MFA is present.

    Category
    mfa
    Permissions
    iam-credentials, iam-inventory
    Maps to
    CIS v3 1.10, CIS v5 1.9, ISO 27001 A.8.5, NIST 800-53 IA-2(1), PCI DSS 8.4.2, HIPAA 164.312(d)
  • medium

    Permission set allows sessions over 8 hours

    IDENTITY_CENTER_LONG_SESSION

    An IAM Identity Center permission set's session duration is longer than 8 hours.

    Category
    session posture
    Permissions
    identity-center
    Maps to
    ISO 27001 A.8.5
  • medium

    Administrator permission set

    IDENTITY_CENTER_ADMIN_PERMISSION_SET

    A permission set grants full administrator access (AdministratorAccess or *:*).

    Category
    identity center
    Permissions
    identity-center
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6(5), PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • medium

    Permission set grants a sensitive service wildcard

    IDENTITY_CENTER_SENSITIVE_WILDCARD

    A permission set's inline policy allows iam:*, sts:* or organizations:* on all resources.

    Category
    identity center
    Permissions
    identity-center
    Maps to
    SOC 2 CC6.3, PCI DSS 7.2.2, HIPAA 164.308(a)(4)(ii)(B)
  • low

    Identity Center has no permission sets

    IDENTITY_CENTER_NO_PERMISSION_SETS

    The IAM Identity Center instance has no permission sets, so access is probably managed with IAM users.

    Category
    identity center
    Permissions
    identity-center
    Maps to
    CIS v3 1.21, CIS v5 1.20, ISO 27001 A.5.16
  • low

    SAML provider metadata has expired

    SAML_PROVIDER_METADATA_EXPIRED

    A SAML identity provider's metadata is past its ValidUntil date.

    Category
    federated trust
    Permissions
    iam-inventory
  • low

    Account isn't in an AWS Organization

    ACCOUNT_NOT_IN_ORGANIZATION

    The account isn't managed by AWS Organizations, so no service control policies or central guardrails apply.

    Category
    governance
    Permissions
    organizations
    Maps to
    CIS v3 1.21, CIS v5 1.20, ISO 27001 A.5.16

IAM Access Analyzer import access_analyzer

Imports active findings from IAM Access Analyzers that already exist. AccessLens never creates an analyzer; without one, this analyzer reports the gap and the other analyzers still run.

3 rules

  • medium

    IAM Access Analyzer isn't enabled

    ACCESS_ANALYZER_NOT_ENABLED

    No active IAM Access Analyzer covers one or more scanned regions.

    Category
    governance
    Permissions
    access-analyzer
    Maps to
    CIS v3 1.20, CIS v5 1.19, SOC 2 CC7.2, NIST 800-53 SI-4
  • medium

    IAM Access Analyzer isn't active

    ACCESS_ANALYZER_INACTIVE

    An Access Analyzer exists but its status isn't ACTIVE.

    Category
    governance
    Permissions
    access-analyzer
    Maps to
    CIS v3 1.20, CIS v5 1.19
  • high

    Access Analyzer reports external access

    ACCESS_ANALYZER_ACTIVE_FINDING

    An existing Access Analyzer has an active finding for access from outside the zone of trust.

    Category
    external finding
    Permissions
    access-analyzer
    Maps to
    SOC 2 CC7.2, NIST 800-53 SI-4

Service access controls service_access

Access-control and authentication rules ported from the AccessLens SaaS scanner.

16 rules

  • high

    API Gateway method without authorization

    APIGATEWAY_NO_AUTHORIZATION

    A REST API method has authorization type NONE and doesn't require an API key.

    Category
    access control
    Permissions
    apigateway
    Maps to
    SOC 2 CC6.1, NIST 800-53 AC-3
  • medium

    AppSync API accepts API keys

    APPSYNC_API_KEY_AUTHENTICATION

    The GraphQL API accepts API-key authentication, which identifies no user.

    Category
    authentication
    Permissions
    appsync
  • high

    Cognito user pool has MFA off

    COGNITO_NO_MFA

    The user pool's MFA configuration is OFF.

    Category
    authentication
    Permissions
    cognito
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.5
  • medium

    Cognito user pool has a weak password policy

    COGNITO_WEAK_PASSWORD_POLICY

    The user pool allows passwords shorter than 12 characters or without mixed character classes.

    Category
    authentication
    Permissions
    cognito
    Maps to
    ISO 27001 A.5.17, NIST 800-53 IA-5(1)
  • medium

    Cognito threat protection is off

    COGNITO_NO_ADVANCED_SECURITY

    The user pool's threat protection (advanced security) is off, so compromised-credential and adaptive authentication checks don't run.

    Category
    authentication
    Permissions
    cognito
  • medium

    Cognito user pool has no account recovery

    COGNITO_NO_ACCOUNT_RECOVERY

    No account-recovery mechanism is configured for the user pool.

    Category
    authentication
    Permissions
    cognito
  • high

    Identity pool allows unauthenticated identities

    COGNITO_IDENTITY_POOL_UNAUTHENTICATED

    Anyone can get AWS credentials for the identity pool's unauthenticated role.

    Category
    access control
    Permissions
    cognito
    Maps to
    SOC 2 CC6.6
  • medium

    Identity pool allows the basic (classic) flow

    COGNITO_IDENTITY_POOL_CLASSIC_FLOW

    The basic authflow lets callers choose any role mapped to the pool, bypassing role-resolution rules.

    Category
    authentication
    Permissions
    cognito
  • medium

    ElastiCache replication group without authentication

    ELASTICACHE_REDIS_NO_AUTH_TOKEN

    The Redis/Valkey replication group has neither an AUTH token nor RBAC user groups.

    Category
    authentication
    Permissions
    caches
  • high

    MemoryDB cluster uses the open-access ACL

    MEMORYDB_OPEN_ACCESS

    The cluster uses the open-access ACL, so any client that can reach it has full access.

    Category
    authentication
    Permissions
    caches
  • high

    MemoryDB user without a password

    MEMORYDB_USER_NO_PASSWORD

    An enabled MemoryDB user authenticates with no password.

    Category
    authentication
    Permissions
    caches
  • medium

    MemoryDB user can run every command on every key

    MEMORYDB_USER_FULL_ACCESS

    A MemoryDB user's access string grants all keys, channels and commands.

    Category
    access control
    Permissions
    caches
  • low

    Backup vault has no access policy

    BACKUP_VAULT_NO_ACCESS_POLICY

    The vault has no access policy, so nothing prevents recovery points from being deleted by principals with backup permissions.

    Category
    access control
    Permissions
    backup
  • high

    Transfer Family user without an IAM role

    TRANSFER_USER_NO_ROLE

    A Transfer Family user has no IAM role scoping its access.

    Category
    access control
    Permissions
    transfer
    Maps to
    NIST 800-53 AC-3
  • medium

    S3 access point without a policy

    S3_ACCESS_POINT_NO_POLICY

    An internet-origin S3 access point has no access point policy.

    Category
    access control
    Permissions
    s3-access-points
  • low

    VPC endpoint uses the default full-access policy

    VPC_ENDPOINT_FULL_ACCESS_POLICY

    The endpoint policy allows any principal to perform any action on any resource through the endpoint.

    Category
    access control
    Permissions
    vpc-endpoints
    Maps to
    NIST 800-53 SC-7

Data protection data_protection

Encryption at rest, backups, versioning and deletion protection, public EBS and database snapshots and AMIs, KMS rotation, secret rotation and use, ECR image scanning, EKS secrets encryption and deprecated Lambda runtimes; certificates and private CAs, secrets in ECS environment variables and plain SSM parameters, and encryption for Firehose, DAX, Glue, Athena, EMR, MWAA, SageMaker and WorkSpaces, CloudHSM redundancy and AWS Backup plans; guardrails on Bedrock agents and customer-managed keys on Bedrock custom models; RDS and Aurora Multi-AZ.

53 rules

  • low

    S3 bucket without versioning

    S3_BUCKET_VERSIONING_DISABLED

    Versioning is off, so overwritten or deleted objects can't be recovered.

    Category
    data resilience
    Permissions
    s3
    Maps to
    CIS v3 2.1.2, CIS v5 2.1.2, SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9, HIPAA 164.308(a)(7)(ii)(A), HIPAA 164.312(c)(1)
  • low

    Versioned S3 bucket without MFA delete

    S3_BUCKET_MFA_DELETE_DISABLED

    The bucket is versioned but MFA delete is off, so object versions can be deleted without a second factor. Only versioned buckets are checked; unversioned ones are covered by S3_BUCKET_VERSIONING_DISABLED.

    Category
    data resilience
    Permissions
    s3
    Maps to
    CIS v3 2.1.2, CIS v5 2.1.2, SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9, HIPAA 164.312(c)(1)
  • medium

    S3 bucket accepts unencrypted (HTTP) requests

    S3_BUCKET_NO_TLS_ENFORCEMENT

    The bucket policy has no Deny for requests where aws:SecureTransport is false (or below a minimum s3:TlsVersion).

    Category
    encryption
    Permissions
    s3
    Maps to
    CIS v3 2.1.1, CIS v5 2.1.1, SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    EBS encryption by default is off

    EBS_DEFAULT_ENCRYPTION_DISABLED

    New EBS volumes and snapshot copies in the region aren't encrypted unless someone asks.

    Category
    encryption
    Permissions
    ec2-compute
    Maps to
    CIS v3 2.2.1, CIS v5 5.1.1, SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Unencrypted EBS volume

    EBS_VOLUME_UNENCRYPTED

    The volume's data at rest isn't encrypted.

    Category
    encryption
    Permissions
    ec2-compute
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • critical

    Public EBS snapshot

    EBS_SNAPSHOT_PUBLIC

    Anyone with an AWS account can create a volume from this snapshot and read its data.

    Category
    public exposure
    Permissions
    ec2-compute
    Maps to
    SOC 2 CC6.6, NIST 800-53 SC-7, PCI DSS 1.4.4, HIPAA 164.312(a)(1)
  • high

    Public AMI

    AMI_PUBLIC

    Anyone can launch this machine image, including whatever it contains.

    Category
    public exposure
    Permissions
    ec2-compute
    Maps to
    SOC 2 CC6.6, NIST 800-53 SC-7, HIPAA 164.312(a)(1)
  • high

    Unencrypted database storage

    RDS_STORAGE_UNENCRYPTED

    An RDS, Aurora, DocumentDB or Neptune instance or cluster doesn't encrypt storage at rest.

    Category
    encryption
    Permissions
    rds
    Maps to
    CIS v3 2.3.1, CIS v5 2.2.1, SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Database backups kept less than 7 days

    RDS_BACKUP_RETENTION_SHORT

    Automated backups are off or kept for less than 7 days. Severity is high when they're off.

    Category
    data resilience
    Permissions
    rds
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9, HIPAA 164.308(a)(7)(ii)(A)
  • low

    Database without deletion protection

    RDS_NO_DELETION_PROTECTION

    The instance or cluster can be deleted by a single API call.

    Category
    data resilience
    Permissions
    rds
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9
  • critical

    Public database snapshot

    RDS_SNAPSHOT_PUBLIC

    A manual DB or cluster snapshot is shared with all AWS accounts.

    Category
    public exposure
    Permissions
    rds
    Maps to
    SOC 2 CC6.6, NIST 800-53 SC-7, PCI DSS 1.4.4, HIPAA 164.312(a)(1)
  • low

    Database minor-version upgrades are off

    RDS_AUTO_MINOR_UPGRADE_DISABLED

    Security patches in minor engine versions aren't applied automatically.

    Category
    maintenance
    Permissions
    rds
    Maps to
    CIS v3 2.3.2, CIS v5 2.2.2, SOC 2 CC7.1, ISO 27001 A.8.8, NIST 800-53 SI-2, PCI DSS 6.3.3
  • medium

    DynamoDB table without point-in-time recovery

    DYNAMODB_PITR_DISABLED

    The table can't be restored to a point in time after accidental writes or deletes.

    Category
    data resilience
    Permissions
    dynamodb
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9, HIPAA 164.308(a)(7)(ii)(A)
  • low

    DynamoDB table without deletion protection

    DYNAMODB_NO_DELETION_PROTECTION

    The table can be deleted by a single API call.

    Category
    data resilience
    Permissions
    dynamodb
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9
  • high

    Unencrypted Redshift cluster

    REDSHIFT_UNENCRYPTED

    The cluster's data at rest isn't encrypted.

    Category
    encryption
    Permissions
    redshift
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • high

    OpenSearch domain not encrypted at rest

    OPENSEARCH_UNENCRYPTED_AT_REST

    Indexes and snapshots of the domain aren't encrypted at rest.

    Category
    encryption
    Permissions
    opensearch
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    OpenSearch node-to-node encryption is off

    OPENSEARCH_NODE_TO_NODE_UNENCRYPTED

    Traffic between the domain's nodes isn't encrypted.

    Category
    encryption
    Permissions
    opensearch
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    OpenSearch domain allows HTTP or old TLS

    OPENSEARCH_HTTPS_NOT_ENFORCED

    The domain endpoint doesn't require HTTPS, or accepts TLS 1.0 and 1.1.

    Category
    encryption
    Permissions
    opensearch
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    Unencrypted EFS file system

    EFS_UNENCRYPTED

    The file system's data at rest isn't encrypted.

    Category
    encryption
    Permissions
    storage
    Maps to
    CIS v3 2.4.1, CIS v5 2.3.1, SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Unencrypted Kinesis data stream

    KINESIS_STREAM_UNENCRYPTED

    Records in the stream aren't encrypted at rest.

    Category
    encryption
    Permissions
    storage
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    ElastiCache data not encrypted at rest

    ELASTICACHE_UNENCRYPTED_AT_REST

    The replication group doesn't encrypt data on disk, in backups or during syncs.

    Category
    encryption
    Permissions
    caches
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    ElastiCache traffic not encrypted in transit

    ELASTICACHE_UNENCRYPTED_IN_TRANSIT

    Clients and nodes talk to the replication group in plain text.

    Category
    encryption
    Permissions
    caches
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • low

    SNS topic not encrypted with KMS

    SNS_TOPIC_NOT_KMS_ENCRYPTED

    Messages stored by the topic aren't encrypted with a KMS key.

    Category
    encryption
    Permissions
    sns
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Unencrypted SQS queue

    SQS_QUEUE_UNENCRYPTED

    Neither SQS-managed nor KMS server-side encryption is on, so messages are stored unencrypted.

    Category
    encryption
    Permissions
    sqs
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Secret without automatic rotation

    SECRET_ROTATION_DISABLED

    The secret is never rotated automatically, so a leaked value stays valid.

    Category
    passwords
    Permissions
    secretsmanager
    Maps to
    PCI DSS 8.6.3
  • low

    Secret not used for 90 days

    SECRET_UNUSED

    The secret hasn't been retrieved in 90 days (or ever, for one created more than 90 days ago). It may no longer be needed.

    Category
    unused access
    Permissions
    secretsmanager
  • medium

    KMS key rotation is off

    KMS_KEY_ROTATION_DISABLED

    Automatic rotation is off for a customer-managed symmetric key.

    Category
    encryption
    Permissions
    kms
    Maps to
    CIS v3 3.6, CIS v5 3.6, SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.7.4
  • medium

    KMS key scheduled for deletion

    KMS_KEY_PENDING_DELETION

    A customer-managed key is pending deletion. Data encrypted with it becomes unrecoverable when it's deleted.

    Category
    data resilience
    Permissions
    kms
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9
  • medium

    ECR repository doesn't scan images

    ECR_SCAN_ON_PUSH_DISABLED

    Images pushed to the repository aren't scanned for vulnerabilities, and no registry-wide scanning rule covers it.

    Category
    maintenance
    Permissions
    containers
    Maps to
    SOC 2 CC7.1, ISO 27001 A.8.8, NIST 800-53 SI-2, PCI DSS 6.3.3
  • low

    ECR repository allows tag overwrites

    ECR_TAGS_MUTABLE

    Image tags can be moved to a different image, so a tag doesn't identify what runs.

    Category
    governance
    Permissions
    containers
  • medium

    EKS secrets not encrypted with your KMS key

    EKS_SECRETS_NOT_ENCRYPTED

    Kubernetes secrets aren't envelope-encrypted with a customer-managed KMS key.

    Category
    encryption
    Permissions
    containers
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Lambda function on a deprecated runtime

    LAMBDA_DEPRECATED_RUNTIME

    The function's runtime no longer gets security patches from AWS.

    Category
    maintenance
    Permissions
    lambda
    Maps to
    SOC 2 CC7.1, ISO 27001 A.8.8, NIST 800-53 SI-2, PCI DSS 6.3.3
  • medium

    Certificate in use expires within 30 days

    ACM_CERT_EXPIRING

    An ACM certificate that's attached to a resource expires within 30 days (or has expired). Severity is high within 7 days.

    Category
    maintenance
    Permissions
    certificates
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8
  • medium

    Certificate uses a 1024-bit RSA key

    ACM_CERT_WEAK_KEY

    The certificate's key is RSA 1024, which is too short.

    Category
    encryption
    Permissions
    certificates
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    Private CA without revocation

    ACMPCA_NO_REVOCATION

    An active private CA publishes neither a CRL nor OCSP, so revoked certificates can't be detected.

    Category
    encryption
    Permissions
    certificates
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8
  • high

    Secret-looking value in a plain ECS environment variable

    ECS_TASK_SECRETS_IN_ENVIRONMENT

    A container sets a variable whose name suggests a secret (PASSWORD, TOKEN, API_KEY, ...) as plain text instead of referencing Secrets Manager or Parameter Store. Only the name was read.

    Category
    passwords
    Permissions
    containers
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.17, NIST 800-53 IA-5, PCI DSS 8.6.3
  • low

    SageMaker notebook not encrypted with your KMS key

    SAGEMAKER_NOTEBOOK_NO_KMS

    The notebook instance's storage volume isn't encrypted with a customer-managed KMS key.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Unencrypted Firehose stream

    FIREHOSE_UNENCRYPTED

    Server-side encryption is off for a Direct PUT delivery stream. Streams fed by Kinesis Data Streams inherit that stream's encryption and aren't flagged.

    Category
    encryption
    Permissions
    streaming
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Secret-looking parameter stored as plain String

    SSM_PLAINTEXT_SECRET_PARAMETER

    A Parameter Store parameter whose name suggests a secret is a String, not a SecureString. Only the name and type were read.

    Category
    passwords
    Permissions
    systems-manager
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.17, NIST 800-53 IA-5, PCI DSS 8.6.3
  • medium

    DAX cluster not encrypted at rest

    DAX_UNENCRYPTED_AT_REST

    The DAX cluster doesn't encrypt cached data at rest.

    Category
    encryption
    Permissions
    data-services
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    CloudHSM cluster with one HSM

    CLOUDHSM_SINGLE_HSM

    An active CloudHSM cluster has fewer than two HSMs, so a single failure loses access to its keys.

    Category
    data resilience
    Permissions
    data-services
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9
  • medium

    Glue job without a security configuration

    GLUE_JOB_NO_SECURITY_CONFIG

    The job has no security configuration, so its S3 output, logs and bookmarks aren't encrypted with your keys.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Glue Data Catalog not encrypted

    GLUE_CATALOG_UNENCRYPTED

    Metadata in the region's Data Catalog isn't encrypted at rest.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    Glue connection passwords returned in plain text

    GLUE_CONNECTION_PASSWORDS_UNENCRYPTED

    Connection password encryption is off, so GetConnection returns passwords unencrypted.

    Category
    passwords
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.5.17, NIST 800-53 IA-5
  • medium

    Athena query results not encrypted

    ATHENA_RESULTS_UNENCRYPTED

    The workgroup doesn't encrypt query results written to S3.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • low

    Athena workgroup settings not enforced

    ATHENA_SETTINGS_NOT_ENFORCED

    Clients can override the workgroup's result location and encryption settings.

    Category
    governance
    Permissions
    analytics
  • medium

    EMR cluster without a security configuration

    EMR_NO_SECURITY_CONFIG

    A running EMR cluster has no security configuration, so encryption and Kerberos settings aren't applied.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • low

    MWAA environment not encrypted with your KMS key

    MWAA_NO_KMS

    The Airflow environment uses an AWS-owned key rather than a customer-managed KMS key.

    Category
    encryption
    Permissions
    analytics
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • high

    WorkSpace volumes not encrypted

    WORKSPACES_UNENCRYPTED

    The WorkSpace's root or user volume isn't encrypted.

    Category
    encryption
    Permissions
    end-user-computing
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • medium

    No AWS Backup plan in a region with databases or file systems

    BACKUP_NO_PLANS

    The region has RDS, DynamoDB or EFS resources but no AWS Backup plan.

    Category
    data resilience
    Permissions
    backup, rds, dynamodb, storage
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9, HIPAA 164.308(a)(7)(ii)(A)
  • low

    Database not deployed across Availability Zones

    RDS_NOT_MULTI_AZ

    An RDS DB instance (outside a cluster) or an Aurora cluster runs in a single Availability Zone, so an AZ outage takes it down until it's restored (CIS 5.0.0 2.2.4).

    Category
    data resilience
    Permissions
    rds
    Maps to
    CIS v5 2.2.4, SOC 2 A1.2
  • medium

    Bedrock agent without a guardrail

    BEDROCK_AGENT_NO_GUARDRAIL

    A Bedrock agent has no guardrail, so nothing filters prompt attacks, harmful content or sensitive information in what it receives and returns.

    Category
    access control
    Permissions
    bedrock
  • low

    Bedrock custom model not encrypted with your KMS key

    BEDROCK_CUSTOM_MODEL_NO_CMK

    A custom (fine-tuned or imported) model is encrypted with an AWS-owned key, so access to it can't be controlled or audited through a key policy.

    Category
    encryption
    Permissions
    bedrock
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28

Network exposure network_exposure

Security groups and network ACLs open to the internet, default security groups, IMDSv1, publicly accessible databases, OpenSearch domains and EKS endpoints, and TLS at load balancers and CloudFront; privileged ECS containers, SageMaker internet and root access, public MSK, Redshift Serverless, MWAA, SSM documents and CA policies, EMR block public access, transit gateway auto-accept, Network Firewall and WAF rules, DNSSEC, Shield, and TLS for MSK, DAX, RDS Proxy and Managed AD.

40 rules

  • high

    Security group open to the internet on all ports

    SG_OPEN_ALL_TRAFFIC

    A security group allows every protocol and port from 0.0.0.0/0 or ::/0.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    CIS v3 5.2, CIS v3 5.3, CIS v5 5.3, CIS v5 5.4, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.3.1
  • high

    Security group open to the internet on SSH or RDP

    SG_OPEN_ADMIN_PORTS

    A security group allows port 22 or 3389 from 0.0.0.0/0 or ::/0.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    CIS v3 5.2, CIS v3 5.3, CIS v5 5.3, CIS v5 5.4, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.3.1
  • medium

    Security group open to the internet on high-risk ports

    SG_OPEN_HIGH_RISK_PORTS

    A security group allows a database, file-sharing, mail or admin-console port (the AWS Foundational Security Best Practices EC2.19 list) from 0.0.0.0/0 or ::/0.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.3.1
  • low

    Default security group allows traffic

    DEFAULT_SG_ALLOWS_TRAFFIC

    A VPC's default security group has inbound or outbound rules, so resources launched without a group get them.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    CIS v3 5.4, CIS v5 5.5, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.3.1
  • medium

    Network ACL allows SSH or RDP from the internet

    NACL_OPEN_ADMIN_PORTS

    The first matching inbound rule for 0.0.0.0/0 or ::/0 on port 22 or 3389 is an allow. Default ACLs are reported at low severity.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    CIS v3 5.1, CIS v5 5.2, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.3.1
  • medium

    EC2 instance allows IMDSv1

    EC2_IMDSV1_ALLOWED

    The instance metadata service accepts requests without a session token, which makes credential theft through SSRF easier.

    Category
    access control
    Permissions
    ec2-compute
    Maps to
    CIS v3 5.6, CIS v5 5.7, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • high

    Publicly accessible database

    RDS_PUBLICLY_ACCESSIBLE

    The DB instance has a public DNS name and accepts connections from outside the VPC where its security groups allow.

    Category
    network exposure
    Permissions
    rds
    Maps to
    CIS v3 2.3.3, CIS v5 2.2.3, SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4
  • high

    Publicly accessible Redshift cluster

    REDSHIFT_PUBLICLY_ACCESSIBLE

    The cluster has a public endpoint.

    Category
    network exposure
    Permissions
    redshift
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4
  • critical

    OpenSearch domain open to anyone

    OPENSEARCH_OPEN_ACCESS

    The domain has a public endpoint and an access policy that allows any principal without a restricting condition.

    Category
    public exposure
    Permissions
    opensearch
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4, HIPAA 164.312(a)(1)
  • medium

    OpenSearch domain outside a VPC

    OPENSEARCH_NOT_IN_VPC

    The domain has a public endpoint; only its access policy controls who can reach it.

    Category
    network exposure
    Permissions
    opensearch
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4
  • high

    EKS API endpoint open to the internet

    EKS_PUBLIC_ENDPOINT_UNRESTRICTED

    The cluster's Kubernetes API endpoint is public and accepts connections from 0.0.0.0/0.

    Category
    network exposure
    Permissions
    containers
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    Internet-facing load balancer serves plain HTTP

    ELB_HTTP_NOT_REDIRECTED

    An internet-facing load balancer has an HTTP listener that doesn't redirect to HTTPS.

    Category
    encryption
    Permissions
    load-balancers
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    Load balancer accepts TLS 1.0 or 1.1

    ELB_WEAK_TLS_POLICY

    An HTTPS or TLS listener uses a security policy that allows TLS versions older than 1.2.

    Category
    encryption
    Permissions
    load-balancers
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    CloudFront distribution serves plain HTTP

    CLOUDFRONT_ALLOWS_HTTP

    A cache behavior's viewer protocol policy is allow-all, so viewers can use HTTP.

    Category
    encryption
    Permissions
    cloudfront
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    CloudFront distribution accepts old TLS

    CLOUDFRONT_WEAK_TLS

    The distribution's custom certificate allows viewer connections below TLS 1.2.

    Category
    encryption
    Permissions
    cloudfront
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    CloudFront reaches an origin over HTTP

    CLOUDFRONT_HTTP_ORIGIN

    A custom origin uses the http-only origin protocol policy.

    Category
    encryption
    Permissions
    cloudfront
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • low

    CloudFront distribution without AWS WAF

    CLOUDFRONT_NO_WAF

    No web ACL is associated with the distribution.

    Category
    network exposure
    Permissions
    cloudfront
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • critical

    Private CA policy open to anyone

    ACMPCA_POLICY_OPEN

    The CA's resource policy allows any principal, without a restricting condition, to use it.

    Category
    public exposure
    Permissions
    certificates
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • high

    ECS container runs privileged

    ECS_TASK_PRIVILEGED

    A container in the task definition runs with privileged: true, giving it root access to the host.

    Category
    access control
    Permissions
    containers
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6, PCI DSS 7.2.5
  • high

    SageMaker notebook with direct internet access

    SAGEMAKER_NOTEBOOK_DIRECT_INTERNET

    The notebook instance can reach the internet directly instead of through your VPC.

    Category
    network exposure
    Permissions
    analytics
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    SageMaker notebook users have root access

    SAGEMAKER_NOTEBOOK_ROOT_ACCESS

    Users of the notebook instance can become root and change its system configuration.

    Category
    access control
    Permissions
    analytics
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6
  • low

    Public hosted zone not signed with DNSSEC

    ROUTE53_ZONE_NO_DNSSEC

    Answers for the zone can't be validated, so they can be spoofed.

    Category
    network exposure
    Permissions
    dns
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • low

    VPC resolver doesn't validate DNSSEC

    RESOLVER_DNSSEC_VALIDATION_DISABLED

    Route 53 Resolver doesn't validate DNSSEC signatures for queries from the VPC.

    Category
    network exposure
    Permissions
    dns, ec2-network
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    Network Firewall passes unmatched packets

    NETWORK_FIREWALL_STATELESS_DEFAULT_PASS

    The firewall policy's default stateless action is aws:pass, so unmatched traffic skips inspection.

    Category
    network exposure
    Permissions
    network-security
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    Network Firewall policy has no stateful rules

    NETWORK_FIREWALL_NO_STATEFUL_RULES

    The firewall policy references no stateful rule groups.

    Category
    network exposure
    Permissions
    network-security
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • low

    Network Firewall without deletion protection

    NETWORK_FIREWALL_NO_DELETION_PROTECTION

    The firewall can be deleted by a single call.

    Category
    data resilience
    Permissions
    network-security
    Maps to
    SOC 2 A1.2, ISO 27001 A.8.13, NIST 800-53 CP-9
  • high

    Transit gateway accepts attachments automatically

    TGW_AUTO_ACCEPTS_ATTACHMENTS

    Shared VPC attachment requests are accepted without review.

    Category
    network exposure
    Permissions
    ec2-network
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    AWS WAF web ACL without rules

    WAF_WEB_ACL_NO_RULES

    The web ACL has no rules, so it only applies its default action.

    Category
    network exposure
    Permissions
    network-security
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • low

    Internet-facing resources without Shield Advanced

    SHIELD_ADVANCED_NOT_SUBSCRIBED

    The account has CloudFront distributions or internet-facing load balancers but no Shield Advanced subscription. Consider it for critical applications.

    Category
    network exposure
    Permissions
    network-security, cloudfront, load-balancers
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    MSK cluster allows plaintext traffic

    MSK_UNENCRYPTED_IN_TRANSIT

    Client-to-broker traffic allows plaintext, or traffic between brokers isn't encrypted.

    Category
    encryption
    Permissions
    streaming
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • high

    MSK cluster allows unauthenticated clients

    MSK_UNAUTHENTICATED_ACCESS

    Unauthenticated access is turned on for the cluster.

    Category
    authentication
    Permissions
    streaming
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6
  • high

    MSK cluster reachable from the internet

    MSK_PUBLIC_ACCESS

    Public access is turned on for the cluster's brokers.

    Category
    network exposure
    Permissions
    streaming
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4
  • medium

    DAX cluster endpoint without TLS

    DAX_NO_TLS

    Clients connect to the DAX cluster without encryption in transit.

    Category
    encryption
    Permissions
    data-services
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • medium

    RDS Proxy doesn't require TLS

    RDS_PROXY_NO_TLS

    Clients can connect to the proxy without TLS.

    Category
    encryption
    Permissions
    rds
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)
  • low

    RDS Proxy doesn't require IAM authentication

    RDS_PROXY_NO_IAM_AUTH

    Clients authenticate to the proxy with database passwords instead of IAM.

    Category
    authentication
    Permissions
    rds
    Maps to
    SOC 2 CC6.3, ISO 27001 A.8.2, NIST 800-53 AC-6
  • high

    Publicly accessible Redshift Serverless workgroup

    REDSHIFT_SERVERLESS_PUBLIC

    The workgroup has a public endpoint.

    Category
    network exposure
    Permissions
    data-services
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7, PCI DSS 1.4.4
  • critical

    EMR block public access is off

    EMR_BLOCK_PUBLIC_ACCESS_OFF

    New EMR clusters can be created with security groups open to the internet.

    Category
    network exposure
    Permissions
    analytics
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • high

    MWAA web server reachable from the internet

    MWAA_PUBLIC_WEBSERVER

    The Airflow web server's access mode is PUBLIC_ONLY.

    Category
    network exposure
    Permissions
    analytics
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • critical

    Systems Manager document shared publicly

    SSM_DOCUMENT_PUBLIC

    A document you own is shared with all AWS accounts.

    Category
    public exposure
    Permissions
    systems-manager
    Maps to
    SOC 2 CC6.6, ISO 27001 A.8.20, NIST 800-53 SC-7
  • medium

    Managed AD without client-side LDAPS

    DIRECTORY_LDAPS_DISABLED

    LDAP traffic to the Managed Microsoft AD directory isn't encrypted.

    Category
    encryption
    Permissions
    end-user-computing
    Maps to
    SOC 2 CC6.7, ISO 27001 A.8.24, NIST 800-53 SC-8, PCI DSS 4.2.1, HIPAA 164.312(e)(1)

Logging and threat detection logging_monitoring

CloudTrail coverage and integrity, AWS Config, GuardDuty, Security Hub and Macie in every scanned region, VPC flow logs, access logs for load balancers, CloudFront and API Gateway, EKS and Redshift audit logs, and log group retention and encryption; logging for ECS, Step Functions, Route 53, Network Firewall, WAF, MSK, Redshift Serverless, EMR, MWAA, Session Manager and Managed AD; the CIS monitoring alarms (section 4: a metric filter on the CloudTrail log group, an alarm on its metric and an SNS topic with a subscriber, for each high-risk event, D-033); and Bedrock model invocation logging where Bedrock is used.

47 rules

  • high

    No multi-region CloudTrail trail is logging

    CLOUDTRAIL_NO_MULTI_REGION_TRAIL

    No trail (including organization trails) records management events in every region.

    Category
    logging
    Permissions
    cloudtrail
    Maps to
    CIS v3 3.1, CIS v5 3.1, SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.308(a)(1)(ii)(D), HIPAA 164.312(b)
  • high

    CloudTrail trail has stopped logging

    CLOUDTRAIL_NOT_LOGGING

    A trail in this account exists but logging is turned off.

    Category
    logging
    Permissions
    cloudtrail
    Maps to
    CIS v3 3.1, CIS v5 3.1, SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.308(a)(1)(ii)(D), HIPAA 164.312(b)
  • medium

    CloudTrail log file validation is off

    CLOUDTRAIL_LOG_VALIDATION_DISABLED

    Changes to delivered log files can't be detected.

    Category
    logging
    Permissions
    cloudtrail
    Maps to
    CIS v3 3.2, CIS v5 3.2, SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, NIST 800-53 AU-9, PCI DSS 10.3.4, HIPAA 164.312(c)(1)
  • medium

    CloudTrail logs not encrypted with KMS

    CLOUDTRAIL_NOT_KMS_ENCRYPTED

    Log files are encrypted with S3-managed keys only, so anyone who can read the bucket can read them.

    Category
    encryption
    Permissions
    cloudtrail
    Maps to
    CIS v3 3.5, CIS v5 3.5, SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 AU-9, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • low

    CloudTrail bucket without access logging

    CLOUDTRAIL_BUCKET_NO_ACCESS_LOGGING

    Reads and deletes of the trail's log files aren't recorded. Only buckets in this account are checked.

    Category
    logging
    Permissions
    cloudtrail, s3
    Maps to
    CIS v3 3.4, CIS v5 3.4, SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, NIST 800-53 AU-9, PCI DSS 10.2.1, HIPAA 164.312(b)
  • medium

    AWS Config isn't recording

    CONFIG_NOT_RECORDING

    No configuration recorder is recording in the region, so there's no history of resource changes.

    Category
    logging
    Permissions
    security-services
    Maps to
    CIS v3 3.3, CIS v5 3.3, SOC 2 CC7.2, SOC 2 CC7.1, ISO 27001 A.8.15, ISO 27001 A.8.16, NIST 800-53 SI-4, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.308(a)(1)(ii)(D), HIPAA 164.312(b)
  • medium

    GuardDuty is off

    GUARDDUTY_NOT_ENABLED

    No enabled GuardDuty detector in the region, so threats there go unnoticed.

    Category
    threat detection
    Permissions
    security-services
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, PCI DSS 11.5.1, HIPAA 164.308(a)(1)(ii)(D), HIPAA 164.308(a)(6)(ii)
  • medium

    Security Hub is off

    SECURITYHUB_NOT_ENABLED

    Security Hub isn't enabled in the region.

    Category
    threat detection
    Permissions
    security-services
    Maps to
    CIS v3 4.16, CIS v5 4.16, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D), HIPAA 164.308(a)(6)(ii)
  • low

    Macie is off

    MACIE_NOT_ENABLED

    Amazon Macie isn't enabled in the region, so sensitive data in S3 isn't discovered.

    Category
    threat detection
    Permissions
    security-services
    Maps to
    CIS v3 2.1.3, CIS v5 2.1.3, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4
  • medium

    VPC without flow logs

    VPC_FLOW_LOGS_DISABLED

    Network traffic in the VPC isn't logged. Default VPCs are reported at low severity.

    Category
    logging
    Permissions
    ec2-network
    Maps to
    CIS v3 3.7, CIS v5 3.7, SOC 2 CC7.2, ISO 27001 A.8.15, ISO 27001 A.8.16, NIST 800-53 SI-4, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    Load balancer without access logs

    ELB_ACCESS_LOGS_DISABLED

    Requests to the load balancer aren't logged.

    Category
    logging
    Permissions
    load-balancers
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    CloudFront distribution without standard logging

    CLOUDFRONT_LOGGING_DISABLED

    Legacy standard logging is off. If you deliver logs through CloudWatch (standard logging v2), suppress this finding.

    Category
    logging
    Permissions
    cloudfront
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    API Gateway stage without access logs

    APIGATEWAY_STAGE_NO_ACCESS_LOGS

    A REST, HTTP or WebSocket API stage doesn't write access logs.

    Category
    logging
    Permissions
    apigateway
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • medium

    EKS audit logging is off

    EKS_AUDIT_LOGGING_DISABLED

    The cluster doesn't send Kubernetes audit logs to CloudWatch.

    Category
    logging
    Permissions
    containers
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • medium

    Redshift audit logging is off

    REDSHIFT_AUDIT_LOGGING_DISABLED

    Connections and queries to the cluster aren't logged.

    Category
    logging
    Permissions
    redshift
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    Log group kept less than a year

    LOG_GROUP_RETENTION_SHORT

    The log group's retention is under 365 days. Log groups that never expire pass.

    Category
    logging
    Permissions
    cloudwatch-logs
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.5.1
  • low

    Log group not encrypted with your KMS key

    LOG_GROUP_NOT_KMS_ENCRYPTED

    The log group uses CloudWatch's default encryption rather than a customer-managed KMS key.

    Category
    encryption
    Permissions
    cloudwatch-logs
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • low

    ECS cluster without Container Insights

    ECS_CONTAINER_INSIGHTS_DISABLED

    The cluster doesn't collect Container Insights metrics.

    Category
    logging
    Permissions
    containers
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • low

    ECS container without a log configuration

    ECS_TASK_NO_LOGGING

    A container in the task definition has no log driver configured, so its output isn't kept.

    Category
    logging
    Permissions
    containers
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • low

    Step Functions state machine without logging

    STEPFUNCTIONS_NO_LOGGING

    Execution history isn't logged to CloudWatch Logs.

    Category
    logging
    Permissions
    analytics
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • low

    Public hosted zone without query logging

    ROUTE53_ZONE_NO_QUERY_LOGGING

    DNS queries for the zone aren't logged.

    Category
    logging
    Permissions
    dns
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • medium

    Network Firewall without logging

    NETWORK_FIREWALL_NO_LOGGING

    The firewall sends no flow or alert logs anywhere.

    Category
    logging
    Permissions
    network-security
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • medium

    AWS WAF web ACL without logging

    WAF_WEB_ACL_NO_LOGGING

    Requests the web ACL inspects aren't logged.

    Category
    logging
    Permissions
    network-security
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    MSK cluster without broker logs

    MSK_NO_BROKER_LOGS

    Broker logs aren't delivered to CloudWatch Logs, S3 or Firehose.

    Category
    logging
    Permissions
    streaming
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • medium

    Redshift Serverless without audit logging

    REDSHIFT_SERVERLESS_NO_AUDIT_LOGGING

    The namespace exports no connection, user or user-activity logs.

    Category
    logging
    Permissions
    data-services
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    EMR cluster without log archiving

    EMR_NO_LOGGING

    A running EMR cluster has no S3 log location.

    Category
    logging
    Permissions
    analytics
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • low

    MWAA environment without logging

    MWAA_NO_LOGGING

    No Airflow log type is sent to CloudWatch Logs.

    Category
    logging
    Permissions
    analytics
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • medium

    Session Manager sessions aren't logged

    SSM_SESSION_NO_LOGGING

    Session Manager preferences don't send session output to S3 or CloudWatch Logs (or have never been set).

    Category
    logging
    Permissions
    systems-manager
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)
  • low

    Session Manager sessions not encrypted with KMS

    SSM_SESSION_NOT_ENCRYPTED

    Session Manager preferences exist but don't encrypt session data with a KMS key.

    Category
    encryption
    Permissions
    systems-manager
    Maps to
    SOC 2 CC6.1, ISO 27001 A.8.24, NIST 800-53 SC-28, PCI DSS 3.5.1, HIPAA 164.312(a)(2)(iv)
  • low

    Managed AD without log forwarding

    DIRECTORY_NO_LOG_FORWARDING

    Domain controller security logs aren't forwarded to CloudWatch Logs.

    Category
    logging
    Permissions
    end-user-computing
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2
  • low

    No CloudTrail trail sends to CloudWatch Logs

    CLOUDTRAIL_NO_CLOUDWATCH_LOGS

    No logging multi-region trail delivers events to a CloudWatch Logs log group in this account, so none of the CIS monitoring alarms can exist. Organization trails whose log group is in another account are checked there.

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.1, CIS v3 4.2, CIS v3 4.3, CIS v3 4.4, CIS v3 4.5, CIS v3 4.6, CIS v3 4.7, CIS v3 4.8, CIS v3 4.9, CIS v3 4.10, CIS v3 4.11, CIS v3 4.12, CIS v3 4.13, CIS v3 4.14, CIS v3 4.15, CIS v5 4.1, CIS v5 4.2, CIS v5 4.3, CIS v5 4.4, CIS v5 4.5, CIS v5 4.6, CIS v5 4.7, CIS v5 4.8, CIS v5 4.9, CIS v5 4.10, CIS v5 4.11, CIS v5 4.12, CIS v5 4.13, CIS v5 4.14, CIS v5 4.15, SOC 2 CC7.2, ISO 27001 A.8.15, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for unauthorized API calls

    NO_ALARM_UNAUTHORIZED_API_CALLS

    No metric filter and alarm notify anyone of AccessDenied and UnauthorizedOperation errors (CIS 4.1).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.1, CIS v5 4.1, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for console sign-in without MFA

    NO_ALARM_CONSOLE_SIGNIN_WITHOUT_MFA

    No metric filter and alarm notify anyone of console sign-ins without MFA (CIS 4.2).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.2, CIS v5 4.2, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for root user activity

    NO_ALARM_ROOT_USAGE

    No metric filter and alarm notify anyone when the root user is used (CIS 4.3).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.3, CIS v5 4.3, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for IAM policy changes

    NO_ALARM_IAM_POLICY_CHANGES

    No metric filter and alarm notify anyone of IAM policy creation, deletion, attachment or edits (CIS 4.4).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.4, CIS v5 4.4, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for CloudTrail changes

    NO_ALARM_CLOUDTRAIL_CHANGES

    No metric filter and alarm notify anyone when a trail is created, updated, deleted, started or stopped (CIS 4.5).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.5, CIS v5 4.5, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for console sign-in failures

    NO_ALARM_CONSOLE_AUTH_FAILURES

    No metric filter and alarm notify anyone of failed console sign-ins (CIS 4.6).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.6, CIS v5 4.6, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for disabling or deleting KMS keys

    NO_ALARM_KMS_KEY_DELETION

    No metric filter and alarm notify anyone when a customer managed key is disabled or scheduled for deletion (CIS 4.7).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.7, CIS v5 4.7, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for S3 bucket policy changes

    NO_ALARM_S3_BUCKET_POLICY_CHANGES

    No metric filter and alarm notify anyone of changes to bucket policies, ACLs, CORS, lifecycle or replication (CIS 4.8).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.8, CIS v5 4.8, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for AWS Config changes

    NO_ALARM_CONFIG_CHANGES

    No metric filter and alarm notify anyone when the Config recorder or delivery channel is stopped or changed (CIS 4.9).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.9, CIS v5 4.9, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for security group changes

    NO_ALARM_SECURITY_GROUP_CHANGES

    No metric filter and alarm notify anyone of security group rule changes (CIS 4.10).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.10, CIS v5 4.10, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for network ACL changes

    NO_ALARM_NACL_CHANGES

    No metric filter and alarm notify anyone of network ACL changes (CIS 4.11).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.11, CIS v5 4.11, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for network gateway changes

    NO_ALARM_NETWORK_GATEWAY_CHANGES

    No metric filter and alarm notify anyone of internet or customer gateway changes (CIS 4.12).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.12, CIS v5 4.12, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for route table changes

    NO_ALARM_ROUTE_TABLE_CHANGES

    No metric filter and alarm notify anyone of route table changes (CIS 4.13).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.13, CIS v5 4.13, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for VPC changes

    NO_ALARM_VPC_CHANGES

    No metric filter and alarm notify anyone of VPC and peering changes (CIS 4.14).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.14, CIS v5 4.14, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • low

    No alarm for AWS Organizations changes

    NO_ALARM_ORGANIZATIONS_CHANGES

    No metric filter and alarm notify anyone of changes to the organization, its accounts, OUs or policies (CIS 4.15).

    Category
    logging
    Permissions
    cloudtrail, cloudwatch-logs, sns
    Maps to
    CIS v3 4.15, CIS v5 4.15, SOC 2 CC7.2, ISO 27001 A.8.16, NIST 800-53 SI-4, HIPAA 164.308(a)(1)(ii)(D)
  • medium

    Bedrock model invocation logging is off

    BEDROCK_INVOCATION_LOGGING_DISABLED

    Bedrock is in use but model invocation logging isn't configured, so there's no record of prompts, responses or who invoked which model. Checked in regions with custom models or agents; on-demand model use alone isn't visible to a read-only scan.

    Category
    logging
    Permissions
    bedrock
    Maps to
    SOC 2 CC7.2, ISO 27001 A.8.15, NIST 800-53 AU-2, PCI DSS 10.2.1, HIPAA 164.312(b)

AWS Security Hub import security_hub

Active, failed or open findings from AWS Security Hub where it's already enabled: its security standards' controls and the products that send to it, such as GuardDuty and Inspector. Read-only: AccessLens never enables Security Hub or writes findings back. IAM Access Analyzer findings are left out, because the Access Analyzer import already has them. Where Security Hub is off, the logging and threat detection analyzer reports it.

1 rule

  • medium

    Security Hub reports an active finding

    SECURITY_HUB_FINDING

    An active Security Hub finding that isn't resolved or suppressed there: a failed control from one of its security standards, or a finding sent by a product such as GuardDuty or Inspector. The severity is Security Hub's. AccessLens shows it while it's active in Security Hub; resolve or suppress it there.

    Category
    external finding
    Permissions
    security-services

Privilege-escalation methods

The PRIVILEGE_ESCALATION_PATH rule checks each principal's effective permissions against 27 known IAM privilege-escalation methods, after Rhino Security Labs' research and Bishop Fox's iam-vulnerable catalog. A principal has a method when its permissions broadly allow every action the method needs.

Privilege-escalation methods: ID, name, the actions it needs, and why it matters
IDMethodNeeds
PE-01Create a new policy version
Can publish a new default version of any customer-managed policy it is attached to, granting itself admin.
iam:CreatePolicyVersion
PE-02Set default policy version
Can switch a policy to an older, more permissive version.
iam:SetDefaultPolicyVersion
PE-03Pass a role to EC2
Can launch an instance with a privileged role and read its credentials from instance metadata.
iam:PassRole + ec2:RunInstances
PE-04Create access key for another user
Can mint long-lived keys for other (possibly admin) users.
iam:CreateAccessKey
PE-05Create console login profile
Can set a console password on a user that has none and sign in as them.
iam:CreateLoginProfile
PE-06Update console login profile
Can reset another user's console password.
iam:UpdateLoginProfile
PE-07Attach user policy
Can attach AdministratorAccess to itself.
iam:AttachUserPolicy
PE-08Attach group policy
Can attach AdministratorAccess to a group it belongs to.
iam:AttachGroupPolicy
PE-09Attach role policy
Can attach AdministratorAccess to a role it can assume.
iam:AttachRolePolicy
PE-10Put user inline policy
Can write an admin inline policy onto itself.
iam:PutUserPolicy
PE-11Put group inline policy
Can write an admin inline policy onto its group.
iam:PutGroupPolicy
PE-12Put role inline policy
Can write an admin inline policy onto a role it can assume.
iam:PutRolePolicy
PE-13Add user to group
Can add itself to an administrators group.
iam:AddUserToGroup
PE-14Update assume-role policy
Can rewrite a privileged role's trust policy to trust itself, then assume it.
iam:UpdateAssumeRolePolicy + sts:AssumeRole
PE-15Pass a role to a new Lambda function and invoke it
Runs code as a privileged role.
iam:PassRole + lambda:CreateFunction + lambda:InvokeFunction
PE-16Pass a role to Lambda with an event source
Runs code as a privileged role, triggered by an event source.
iam:PassRole + lambda:CreateFunction + lambda:CreateEventSourceMapping
PE-17Update existing Lambda code
Can replace the code of a function that already runs with a privileged role.
lambda:UpdateFunctionCode
PE-18Pass a role to a Glue dev endpoint
Gets a shell with a privileged role's credentials.
iam:PassRole + glue:CreateDevEndpoint
PE-19Update a Glue dev endpoint
Can add its SSH key to an endpoint running with a privileged role.
glue:UpdateDevEndpoint
PE-20Pass a role to CloudFormation
Can create arbitrary resources (including IAM) as a privileged role.
iam:PassRole + cloudformation:CreateStack
PE-21Pass a role to Data Pipeline
Runs commands as a privileged role.
iam:PassRole + datapipeline:CreatePipeline + datapipeline:PutPipelineDefinition
PE-22Pass a role to a SageMaker notebook
Gets a notebook running with a privileged role.
iam:PassRole + sagemaker:CreateNotebookInstance + sagemaker:CreatePresignedNotebookInstanceUrl
PE-23Pass a role to CodeBuild
Runs a build as a privileged role.
iam:PassRole + codebuild:CreateProject + codebuild:StartBuild
PE-24Run commands with SSM
Can run commands on instances that have privileged instance profiles.
ssm:SendCommand
PE-25Pass a role to ECS
Runs a container as a privileged task role.
iam:PassRole + ecs:RegisterTaskDefinition + ecs:RunTask
PE-26Delete permissions boundary
Can remove the boundary limiting a user.
iam:DeleteUserPermissionsBoundary
PE-27Delete role permissions boundary
Can remove the boundary limiting a role.
iam:DeleteRolePermissionsBoundary

CloudTrail alerts

While AccessLens runs, it polls LookupEvents for iam.amazonaws.com, signin.amazonaws.com and cloudtrail.amazonaws.com and raises these 31 alerts. Attaching an admin-equivalent managed policy is raised to critical, and failed attempts are reported one severity lower. See CloudTrail alerts.

CloudTrail alert rules: ID, event, default severity and alert
IDEventSeverityAlert
CT-IAM-001CreateUsermediumIAM user created
CT-IAM-002CreateAccessKeyhighAccess key created
CT-IAM-003CreateLoginProfilemediumConsole password created for user
CT-IAM-004UpdateLoginProfilemediumConsole password changed for user
CT-IAM-005AttachUserPolicymediumManaged policy attached to user
CT-IAM-006AttachRolePolicymediumManaged policy attached to role
CT-IAM-007AttachGroupPolicymediumManaged policy attached to group
CT-IAM-008PutUserPolicyhighInline policy written on user
CT-IAM-009PutRolePolicyhighInline policy written on role
CT-IAM-010PutGroupPolicyhighInline policy written on group
CT-IAM-011CreatePolicyVersionhighNew managed policy version created
CT-IAM-012SetDefaultPolicyVersionhighDefault policy version changed
CT-IAM-013UpdateAssumeRolePolicyhighRole trust policy changed
CT-IAM-014CreateRolelowIAM role created
CT-IAM-015AddUserToGroupmediumUser added to group
CT-IAM-016DeleteUserPermissionsBoundaryhighUser permissions boundary removed
CT-IAM-017DeleteRolePermissionsBoundaryhighRole permissions boundary removed
CT-IAM-018DeactivateMFADevicehighMFA device deactivated
CT-IAM-019DeleteVirtualMFADevicemediumVirtual MFA device deleted
CT-IAM-020CreateSAMLProviderhighSAML identity provider created
CT-IAM-021UpdateSAMLProviderhighSAML identity provider updated
CT-IAM-022CreateOpenIDConnectProviderhighOIDC identity provider created
CT-IAM-023UpdateAccountPasswordPolicymediumAccount password policy changed
CT-IAM-024DeleteAccountPasswordPolicyhighAccount password policy deleted
CT-TRAIL-001StopLoggingcriticalCloudTrail logging stopped
CT-TRAIL-002DeleteTrailcriticalCloudTrail trail deleted
CT-TRAIL-003UpdateTrailmediumCloudTrail trail updated
CT-TRAIL-004PutEventSelectorsmediumCloudTrail event selectors changed
CT-SIGNIN-001ConsoleLogin (root user)criticalRoot account console sign-in (high when the sign-in failed)
CT-SIGNIN-002ConsoleLogin (IAM user)highConsole sign-in without MFA
CT-ROOT-001Any API call by the root userhighRoot account API activity