Skip to content
← Blog
Development

Written by

How to Do a Cybersecurity Audit of a Cloud App

A step-by-step cybersecurity audit for a cloud app: scope, inventory, shared responsibility, identity, cloud settings, the app itself, dependencies and logging. Based on NIST CSF 2.0, CIS Benchmarks and the OWASP Top 10 2025, with a checklist you can copy.

Cover listing the eight steps of a cloud app security audit, from scope and permission to logs, alerts and backups

Short answer: a cybersecurity audit of a cloud app checks four things: who can get in, how your cloud is configured, how safe your code and its dependencies are, and whether you would notice an attack. You do it in eight steps:

  1. Write down the scope and get written permission.
  2. List everything you run: accounts, services, data and code.
  3. Mark which parts are your job and which are your cloud provider's.
  4. Check identity and access first.
  5. Compare your cloud settings against a published benchmark.
  6. Test the app itself against OWASP.
  7. Check your dependencies and secrets.
  8. Check logging, alerts and backups, then write up and fix what you found.

The rest of this guide walks through each step, then gives you a checklist you can copy.

Before you start: pick your yardsticks

An audit compares what you have against a standard. Without one, it's just opinions. Three public standards cover most of a cloud app:

  • NIST Cybersecurity Framework (CSF) 2.0 for the big picture. NIST published it on February 26, 2024, for "organizations of all sizes and sectors". It groups security into six functions: Govern, Identify, Protect, Detect, Respond and Recover.
  • CIS Benchmarks for cloud settings. CIS publishes configuration recommendations for AWS, Microsoft Azure and Google Cloud, among others. The PDFs are free for non-commercial use, after a short sign-up.
  • OWASP ASVS and the OWASP Top 10 for the application. ASVS 5.0.0 came out on May 30, 2025. The Top 10 is now in its 2025 edition.

You don't need to follow all of them line by line. Use CSF to make sure you haven't skipped a whole area. Use CIS and OWASP for the detailed checks.

Step 1: Set the scope and get permission

Write down what is in the audit and what is not. Name the cloud accounts, environments, domains and repositories.

Then get written permission from whoever owns them. Testing systems you don't own, or weren't cleared to test, can break your provider's terms or the law. This includes third-party services your app calls.

Decide one more thing up front: production or a copy of it. Some checks, like scanning, can slow a live system down.

Step 2: List everything you run

You can't secure what you don't know about. Make a simple list of:

  • Cloud accounts and projects, including old test ones
  • Services: servers, containers, functions, databases, storage buckets, queues
  • Domains and public endpoints
  • Code repositories and CI/CD pipelines
  • Third-party services that hold your data or keys
  • What data you store, and which of it is personal or sensitive

This is the "Identify" function in NIST CSF. Forgotten resources are a common way in, because nobody patches them.

Step 3: Mark what's yours to secure

Every major cloud splits security between you and them. AWS calls it security "of" the cloud versus security "in" the cloud. Microsoft puts it plainly: "For all cloud deployment types, you own your data and identities." Google says customers "always remain responsible for their access policies and data."

So your provider secures the data centers and the hardware. Your users, your permissions, your settings and your code are on you. That second half is where your audit spends its time.

Step 4: Check identity and access first

Broken Access Control is number one in the OWASP Top 10 2025. Authentication Failures is number seven. Start here:

  • Is multi-factor authentication on for every admin and console user?
  • Is the cloud root or owner account locked away and unused day to day?
  • Does each person and service have only the permissions it needs?
  • Are there access keys nobody has used in months? Remove them.
  • Do people who left still have access?
  • Can a normal user in your app reach another user's data by changing an ID?

Step 5: Compare your cloud settings to a benchmark

Security Misconfiguration is number two in the OWASP Top 10 2025. Download the CIS Foundations Benchmark for your provider and go through it. Pay most attention to:

  • Storage buckets and databases that are open to the internet
  • Network rules that allow traffic from anywhere
  • Encryption for data at rest and in transit
  • Audit logging switched on for every account and region

Your cloud provider also has built-in tools that check many of these settings for you. Turn them on, but read the results yourself. A tool can flag a public bucket. It can't tell you whether that bucket should be public.

Step 6: Test the app itself

Now look at your code and API. OWASP ASVS gives you "a basis for testing web application technical security controls". Use it as your checklist. At minimum, check:

  • Input handling, to catch injection (number five in the Top 10 2025)
  • Authorization on every API endpoint, not just in the user interface
  • Session handling and password reset flows
  • How the app handles errors: no stack traces or internal details shown to users

If you can, have someone who didn't write the code review it. The author tends to see what they meant to write.

Step 7: Check dependencies and secrets

Most of your app is code you didn't write. Software Supply Chain Failures is number three in the OWASP Top 10 2025.

  • Run a dependency scan and list packages with known vulnerabilities.
  • Note packages that are far behind their latest version, or no longer maintained.
  • Search your repositories, including their history, for passwords, API keys and private keys.
  • Check that your CI/CD pipeline can't be changed by anyone who can open a pull request.

If you find a secret in your code history, deleting the file is not enough. Rotate the key.

Step 8: Check you would notice, and could recover

An audit isn't only about keeping attackers out. NIST CSF also asks whether you can detect, respond and recover. Security Logging and Alerting Failures is number nine in the OWASP Top 10 2025.

  • Are logins, permission changes and admin actions logged?
  • Does anyone get an alert when something unusual happens?
  • Are backups taken, stored separately, and actually tested by restoring one?
  • Is there a short written plan for who does what during an incident?

Write it up and fix it

NIST SP 800-115, NIST's guide to security testing, covers "planning and conducting technical information security tests and examinations, analyzing findings". It dates from 2008, but it's still the current final version and the flow still holds: plan, test, analyze, report.

For each finding, write down where it is, how to reproduce it, what an attacker could do with it, and how to fix it. Then rank the findings. Put first whatever is easy to exploit and hurts the most, not whatever a scanner labels "critical".

Fix the top items, then test them again. A finding isn't closed until someone has checked the fix.

Cloud app audit checklist

AreaWhat to checkReference
ScopeWritten scope and permissionNIST SP 800-115
InventoryAccounts, services, data, code, third partiesNIST CSF 2.0 (Identify)
ResponsibilityWhat you secure vs. what your provider securesAWS, Azure, Google Cloud docs
IdentityMFA, least privilege, unused keys, leaversOWASP Top 10 2025 (A01, A07)
Cloud settingsPublic storage, open network rules, encryption, audit logsCIS Foundations Benchmarks
ApplicationInjection, API authorization, sessions, error handlingOWASP ASVS 5.0
DependenciesKnown vulnerabilities, stale packages, CI/CD accessOWASP Top 10 2025 (A03)
SecretsKeys and passwords in code or historyStep 7 above
DetectionLogs, alerts, tested backups, incident planNIST CSF 2.0 (Detect, Respond, Recover)

When to bring in outside help

You can run most of this yourself. An outside review is worth it when a customer or investor asks for one, when you handle health or payment data, or when nobody on the team has done this before.

Our cybersecurity audit covers code, authentication, dependencies, secrets, API design and cloud configuration, and ends with a prioritized fix list. If you're not sure which kind of review you need, our security and compliance audits overview explains the options. If you need someone to actively attack the app, that's a penetration test, which is a different job.

Frequently Asked Questions

What's the difference between a security audit and a penetration test?

An audit checks your setup against a standard: settings, permissions, code and process. A penetration test tries to break in, the way an attacker would. An audit finds more issues. A pentest proves which ones can really be exploited. Many teams do the audit first.

How often should I audit a cloud app?

There's no single rule. We suggest a full audit at least once a year, and a lighter check after any big change: a new cloud account, a new payment flow, or a major dependency upgrade.

Can I automate a cloud security audit?

Partly. Built-in cloud tools and dependency scanners catch many configuration and package issues. They can't judge your business logic, like whether one customer can see another's invoices. That part needs a person.

Which standard should a US startup start with?

Start with the CIS Foundations Benchmark for your cloud provider and the OWASP Top 10 2025. Both are concrete, and OWASP's material is free. Use NIST CSF 2.0 to check you haven't missed a whole area, like backups or incident response.

Sources

  1. NIST — The NIST Cybersecurity Framework (CSF) 2.0Publication date (February 26, 2024), the six functions, and "organizations of all sizes and sectors". Retrieved November 27, 2026.
  2. NIST SP 800-115 — Technical Guide to Information Security Testing and AssessmentStatus (final, September 2008) and the quoted scope. Retrieved November 27, 2026.
  3. CIS BenchmarksConfiguration recommendations, including the AWS, Microsoft Azure and Google Cloud Foundations Benchmarks; PDFs "free of charge … for non-commercial use" per learn.cisecurity.org/benchmarks. Retrieved November 27, 2026.
  4. OWASP Application Security Verification StandardVersion 5.0.0, published May 30, 2025, and the quoted purpose. Retrieved November 27, 2026.
  5. OWASP Top 10 2025Category names and their numbers. Retrieved November 27, 2026.
  6. AWS — Shared Responsibility ModelSecurity "of" the cloud versus security "in" the cloud. Retrieved November 27, 2026.
  7. Microsoft — Shared responsibility in the cloud"For all cloud deployment types, you own your data and identities." Retrieved November 27, 2026.
  8. Google Cloud — Shared responsibilities and shared fate"customers always remain responsible for their access policies and data." Retrieved November 27, 2026.

What this article does not claim

  1. No claim that following these steps makes an app compliant with SOC 2, HIPAA, PCI DSS or any other framework. Those have their own requirements and, often, their own auditors.
  2. No claim about how often cloud incidents start with misconfiguration. This guide cites no incident statistics.
  3. No legal advice. Whether you may test a given system is a question for its owner and, if in doubt, a lawyer.

Related articles

Work with Applefy →
Let’s talk

Book a call with our CEO

Portrait of Denys Havryliak, Founder & CEO of Applefy

Denys Havryliak

Founder & CEO

  • 10+ years in Software Engineering
  • Master’s in Cybersecurity
  • Deep, current knowledge of AI tooling

You’ll talk to the person who builds. Denys works hands-on across product, architecture, and delivery — and keeps a close watch on what today’s AI tooling can genuinely do in production, not just in a demo.