Blayde

Guide · updated November 2026

How to audit your AWS account for security

To audit your AWS account for security, review five areas in order: the root user, IAM users and access keys, anything reachable from the internet, logging and threat detection, and what you are spending by service. Do it on a regular schedule and after any big change, such as someone leaving the team, and fix the highest-risk findings first.

AWS's own guidance says the same thing in its security audit guidelines: audit periodically, when people leave, when you stop using a service, when you add or remove software, and whenever you suspect someone got in who shouldn't have. This guide turns that into a plan a small team can finish in an afternoon.

Before you start

Step 1: Lock down the root user

The root user can do anything in the account, including closing it. AWS recommends you don't use it for everyday work.

  1. Confirm the root user has multi-factor authentication (MFA) turned on.
  2. Check whether the root user has access keys. If it does and you aren't using them, AWS says you can remove them (source).
  3. Make sure the root email address is one your company controls, not one person's inbox.

Step 2: Review IAM users, roles and access keys

This is where most small accounts drift. People leave, scripts get keys "just for now", and admin rights spread.

  1. Download the IAM credential report. It lists every IAM user with the status of their passwords, access keys and MFA devices, and when each key was last used.
  2. Delete what isn't needed: users who have left, keys nobody has used in months, passwords on users that are really applications.
  3. Require MFA for every human. AWS's IAM best practices also recommend temporary credentials through federation or IAM Identity Center instead of long-lived IAM users where you can.
  4. Look for admin rights handed out too widely. Watch for policies with "Action": "*" and for anyone who can create or attach policies (iam:CreatePolicy, iam:AttachUserPolicy, iam:PutRolePolicy and similar). AWS points out that this power is effectively full access, because those users can grant themselves anything.
  5. Check every role's trust policy. Know who can assume each role and why.

Step 3: Find what's exposed to the internet

  1. Security groups: look for admin ports (such as 22 for SSH or 3389 for RDP) and database ports open to 0.0.0.0/0. Focus first on groups that are actually attached to running resources.
  2. Storage and databases: check for public S3 buckets and publicly accessible databases.
  3. Encryption: confirm volumes, databases and buckets are encrypted at rest, and that public endpoints use current TLS.
  4. Secrets in the wrong place: keys and passwords pasted into function environment variables or app settings are a common leak.

Step 4: Make sure you'd know if something went wrong

  1. Audit trail: confirm CloudTrail is on in every Region you use.
  2. Threat detection: consider turning on Amazon GuardDuty.
  3. Backups: check that databases have backups, and that someone has tested a restore.
  4. Outdated runtimes: functions on runtimes AWS no longer supports stop getting security patches.

Step 5: Look at spend by service

Cost is part of a security audit because surprise charges are often the first sign of a leaked key or a forgotten resource. AWS Cost Explorer shows up to the last 13 months of cost by service, and its console view is free. Look for services you don't recognise, Regions you don't use, and sudden jumps.

Map findings to a standard

Two free benchmarks make findings easier to rank and explain to others: the CIS AWS Foundations Benchmark and AWS Foundational Security Best Practices (FSBP). If you'd rather not check every item by hand, AWS Security Hub CSPM and the open-source tool Prowler both automate checks against these standards. We compare them honestly in Blayde vs AWS Security Hub and Blayde vs Prowler.

Fix in the right order

  1. Anything that gives an outsider a way in: exposed admin or database ports, public data, root keys, admins without MFA.
  2. Anything that would stop you noticing: missing audit trail, no backups.
  3. Hygiene: unused users and keys, outdated runtimes, oversized permissions.

Before each fix, write down what will change and how you'd undo it. Deleting a user also deletes their permissions, so record them first.

Or let Blayde run the audit, and approve each fix

Blayde audits an existing AWS account read-only. It reads settings and metadata only, never your data, secrets or logs. Every finding is mapped to the CIS AWS Foundations Benchmark and AWS Foundational Security Best Practices, and each audit draws your account's architecture from its real configuration, including what each piece is allowed to read or write (that's permissions, not observed traffic). If several apps share one account, Blayde tells them apart by names and tags, and lists anything it couldn't trace.

For the fixes Blayde can make today (access fixes such as removing unused IAM users or requiring MFA, and account settings such as CloudTrail, GuardDuty, S3 Block Public Access and default disk encryption), Blayde turns the fix into a plan with its cost and how to undo it. You approve it, signed in with multi-factor, and a separate read-only identity checks afterwards that only the approved changes were made. Nothing is fixed without your approval. Run the audit again any time with one click.

The Free plan is $0, with 500 AI credits a month and no card. Blayde needs a GitHub account today. See how it works.

FAQ

How often should I audit my AWS account? AWS recommends auditing on a regular schedule and after changes such as people leaving, services being retired or software being added. Many small teams pick a monthly or quarterly rhythm and add an extra check after any incident.

What permissions do I need to audit an AWS account? A read-only identity is enough for a security audit, and AWS provides a managed SecurityAudit policy for it. Sign in with MFA and avoid using the root user for the review.

What's the most common AWS security problem in small accounts? Old credentials are a frequent one: unused IAM users, access keys that haven't been rotated, and admins without MFA. Public exposure, such as open admin ports or public storage, is the other big category to check first.

Is an AWS security audit free? Doing it by hand with the IAM credential report and the Cost Explorer console costs nothing. Automated tools vary: Security Hub CSPM has a 30-day free trial, Prowler's open-source CLI is free, and Blayde has a Free plan with 500 AI credits a month and no card.

Will an audit change anything in my account? A proper audit only reads settings, so it shouldn't change anything. With Blayde, changes happen only after you approve a specific plan, and a separate read-only identity checks the result.

Sources

Written by Blayde in November 2026 from each product's public pages. Products change; if something here is out of date, tell us at support@blayde.app and we'll fix it.

Guides: How to audit your AWS account · AWS security audit checklist · Deploy to AWS without a DevOps engineer
Compare: AWS Security Hub · Prowler · a DevOps contractor · Lovable · Hercules · Bolt · Replit · v0