Cloud vulnerability scanning is the automated process of checking cloud workloads — virtual machines, containers, serverless functions, images and infrastructure code — against databases of known flaws such as CVEs, then ranking the findings by severity, exploitability and exposure so teams can fix the riskiest ones first.
Key takeaways
- Cloud scanning covers VMs, containers, images, Lambda functions and infrastructure code — not just servers.
- CVSS severity alone is a poor priority list: combine it with CISA KEV status, exploit probability and internet exposure.
- Scan in the pipeline and continuously in production, and fix the small set of exploitable, exposed findings first.
Connect a scanner to a real cloud account and the first report can contain tens of thousands of findings. That is not a failure of the scanner — it is the nature of cloud estates, where every image, package and configuration is a potential flaw.
Cloud vulnerability scanning is how teams turn that flood into a short, fixable list. This guide explains what it scans, how it works, which tools cover which clouds, and how to prioritize findings so the riskiest flaws get fixed first.
What is cloud vulnerability scanning?
Cloud vulnerability scanning is the automated checking of cloud workloads for known security flaws, by matching installed software and configurations against databases of published vulnerabilities.
A scanner inventories what you run — virtual machines, container images, serverless functions, Kubernetes clusters and infrastructure code — then compares every package version against the CVE list. When a match is found, it reports the CVE identifier, a severity score, the affected asset and a recommended fix, usually a patch or an updated base image.
The same scanners increasingly check configuration too: a storage bucket open to the internet, a security group allowing access from anywhere, or an IAM role with excessive permissions. Those findings need no exploit, so they often outrank software flaws in real risk.
How does cloud vulnerability scanning work?
Every cloud scanner follows the same five steps, whether it runs inside your pipeline or continuously against your live account.
1. Discover assets
The scanner connects to your cloud accounts through APIs and lists everything: virtual machines, containers, functions, databases, storage and network resources. Discovery is the step most teams underestimate, because forgotten test accounts and shadow projects are where the worst findings hide.
2. Inventory software and configuration
For each asset, the scanner records installed packages and versions, plus configuration settings. Agent-based scanners read this from inside the machine; agentless scanners read it from disk snapshots or cloud APIs. Container scanners read the image layers and the software bill of materials (SBOM).
3. Match against vulnerability databases
The inventory is compared with CVE records in databases such as NIST's National Vulnerability Database. Each match produces a finding with a CVSS severity score, a description and a fix, usually an updated package version.
4. Prioritize by risk, not just severity
Raw severity is a starting point, not a priority list. A good scanner adds exploitability, whether the flaw is in CISA's Known Exploited Vulnerabilities catalog, whether the asset is internet-exposed, and whether the vulnerable code is actually reachable.
5. Remediate and verify
Fixes are patches, rebuilt images, updated dependencies or configuration changes. The scanner re-checks after the fix to confirm the finding is gone, which also gives auditors evidence that remediation happened.
What does cloud vulnerability scanning cover?
Modern cloud scanning covers far more than servers. Each layer needs its own scan, because a flaw in one layer does not show up in another.
| Layer | What is scanned | Typical tool |
|---|---|---|
| Virtual machines | OS packages, installed software, open ports | AWS Inspector, Defender for Cloud, Tenable, Qualys |
| Container images | Image layers, OS and app packages, secrets in layers | AWS Inspector, Trivy, Grype, Defender for Cloud |
| Serverless functions | Function code and dependencies | AWS Inspector, Snyk, Wiz |
| Infrastructure as code | Terraform and CloudFormation templates | Checkov, tfsec, Wiz, Prisma Cloud |
| Dependencies (SCA) | Open-source libraries in your code | Snyk, Dependabot, Trivy |
| Cloud configuration | Buckets, security groups, IAM, encryption | Native CSPM, Wiz, Prisma Cloud, Prowler |
| Web applications | Running apps for known and runtime flaws | DAST scanners, Tenable Web App Scanning |
Container image scanning deserves special attention. An image built from an old base image carries every flaw in that base image into production. Scan images in the CI/CD pipeline and block deployment when a critical or KEV-listed flaw is found, rather than discovering it in production days later.
Agent-based vs agentless scanning: which is better?
Agent-based scanning installs a small agent on each virtual machine, which reports installed software and running processes in detail. Agentless scanning inspects workloads from outside, usually by reading disk snapshots, and needs no software on the machine.
Agent-based scanning sees more: running processes, loaded libraries and runtime state. It is the better choice for long-lived servers and for vulnerability management that feeds an EDR platform. Microsoft Defender for Cloud uses this approach, with the Defender for Endpoint sensor providing the inventory.
Agentless scanning is faster to deploy and covers machines you cannot install agents on, such as short-lived instances and appliances. AWS Inspector offers both: about $1.2528 per EC2 instance per month for agent-based scanning and $1.75 for agentless scanning in US East (N. Virginia). Many teams run both, using agentless scanning for coverage and agents for depth on critical servers.
Which cloud vulnerability scanning tools should you use?
Start with the native scanner of the cloud you already use, then add a third-party platform only if you run multiple clouds or need deeper prioritization.
AWS Inspector
Amazon Inspector continuously scans EC2 instances, ECR container images, Lambda functions and, since November 2026, AMIs, for software vulnerabilities and unintended network exposure. It produces findings with risk scores and integrates with Security Hub, EventBridge and Systems Manager for automated remediation.
Microsoft Defender for Cloud
Defender for Cloud provides vulnerability scanning for Azure virtual machines and, through multicloud connectors, for AWS and GCP machines as well. It uses Microsoft Defender Vulnerability Management, with agentless scanning in Defender for Servers Plan 2 and agent-based scanning through the Defender for Endpoint sensor. It also supports bring-your-own-license scanners from Qualys and Rapid7.
Google Cloud Security Command Center
Google Cloud's Security Command Center includes vulnerability scanning for Compute Engine VMs, container images in Artifact Registry and misconfigurations across GCP projects, with findings centralized in one console and risk scores for prioritization.
Tenable and Qualys
Tenable Nessus and Qualys VMDR are the long-established third-party scanners. They cover on-premises and multicloud assets from one console, with extensive compliance reporting, and they integrate with Defender for Cloud as bring-your-own-license options.
Wiz, Prisma Cloud and CNAPP platforms
Cloud-native application protection platforms (CNAPPs) such as Wiz and Palo Alto Prisma Cloud combine vulnerability scanning with cloud configuration, identity and runtime context, so a finding can be judged by whether the vulnerable asset is actually reachable from the internet. Choose one of these if you run multiple clouds and want one prioritized list.
Open-source options exist too: Trivy and Grype scan container images and filesystems for free, and Prowler audits AWS, Azure and GCP configuration. They are excellent for pipelines and small teams, though they lack the managed prioritization of commercial platforms.
Scanning is one layer of a wider program: our small business cybersecurity checklist puts it alongside patching, backups and access control, and CISA's KEV guidance explains how to use the catalog to order fixes.
How to prioritize findings: CVSS, KEV, EPSS and reachability
A scan that returns 50,000 findings is useless without a priority order. The modern stack layers five signals, and each one cuts the list dramatically.
- CVSS severity: the base score from 0 to 10, rating how bad the flaw is in theory. Useful as a first filter, but it says nothing about whether anyone is exploiting it.
- EPSS: the Exploit Prediction Scoring System estimates the probability a CVE will be exploited in the next 30 days. A high EPSS score on a medium CVSS flaw often matters more than a critical CVSS flaw nobody is attacking.
- CISA KEV: CISA's Known Exploited Vulnerabilities catalog lists CVEs with reliable evidence of exploitation in the wild. CISA strongly recommends prioritizing these, and federal agencies must fix them on set deadlines.
- Reachability: is the vulnerable code actually loaded and reachable? A flaw in a library your application never calls is far less urgent than one in the code path handling internet traffic.
- Asset criticality: a flaw on a public-facing production server outranks the same flaw on an isolated test machine.
Set service-level targets by tier: KEV-listed flaws on exposed assets within days, critical CVEs on production within two weeks, and everything else in the normal patch cycle. Track the age of open findings, not just the count, because a shrinking backlog with old findings is still a risk.
Scanning in the CI/CD pipeline
The cheapest place to fix a vulnerability is before it deploys. Add scanning to the pipeline at three points: when dependencies change, when the container image builds, and when infrastructure code is proposed.
- Scan dependencies on every pull request. Software composition analysis flags a vulnerable library before it merges. Block the merge for KEV-listed or critical flaws, and warn for the rest.
- Scan the container image at build time. Fail the build if the image contains a critical or KEV-listed CVE. Rebuild images from fresh base images regularly, because a clean image becomes vulnerable as new CVEs are published.
- Scan infrastructure code. A Terraform plan that opens a bucket to the internet should fail review the same way a failing test does.
- Keep scanning in production. Pipeline scanning cannot catch new CVEs in already-running workloads, so continuous runtime scanning remains essential.
Keep build failures rare and meaningful. If the pipeline fails on every medium CVE, developers will learn to ignore it. Fail only on the tier that genuinely needs an immediate fix, and file tickets automatically for the rest.
Common mistakes in cloud vulnerability scanning
Most scanning programs fail on process, not on tooling. The same mistakes appear in team after team.
- Scanning only one cloud. A second cloud account, a test project or a forgotten region is where the exploitable asset lives. Cover every account, including sandbox and personal projects.
- Sorting by CVSS only. A critical CVE on an unreachable internal library is less urgent than a medium CVE on a public server. Use KEV, EPSS and exposure to order the work.
- Ignoring misconfigurations. An open bucket or an over-privileged role needs no exploit. Configuration findings often deserve the fastest fix of all.
- No owner for findings. A finding without an owner and a deadline never gets fixed. Assign every finding to a team and a date, and escalate when the date passes.
- Scanning without patching. The scan is the easy part. If patching takes weeks, the scan only documents the risk. Fix the patching workflow first, then scan more.
The bottom line
Cloud vulnerability scanning is not about finding every flaw — it is about finding the few flaws an attacker will actually use, and fixing them before they do. Scan continuously, scan in the pipeline, and prioritize by exploitation evidence and exposure, not by severity score alone.
Start with your cloud's native scanner, cover every account, and set a deadline for KEV-listed flaws on exposed assets. You can check the security posture of your own public services with our free SSL checker.
For a second quick check, run the security headers checker against the same services while you build the program.
Frequently asked questions
What is cloud vulnerability scanning?
Cloud vulnerability scanning is automated checking of cloud workloads for known security flaws. A scanner inventories your virtual machines, containers, images and code, matches installed software against vulnerability databases such as the National Vulnerability Database, and reports which flaws are present and how severe they are.
What is the difference between vulnerability scanning and penetration testing?
Vulnerability scanning is automated and continuous: it finds known flaws from a database. Penetration testing is a manual, point-in-time exercise where a tester tries to exploit flaws, including unknown ones, to prove real-world impact. Use both: scanning every day, penetration testing once or twice a year.
How often should you scan cloud workloads?
Continuously. Cloud resources change constantly, and new CVEs are published daily. At minimum, scan container images on every push, scan running workloads daily, and re-scan immediately when a critical CVE such as a CISA KEV entry is announced.
What does AWS Inspector cost?
In US East (N. Virginia), Amazon Inspector charges about $1.2528 per EC2 instance per month for agent-based scanning, $1.75 per instance for agentless scanning, $0.09 per newly pushed container image for initial scanning, and $0.30 per Lambda function per month. Prices vary by region, so check the AWS pricing page for your region.
What is agentless cloud vulnerability scanning?
Agentless scanning inspects cloud workloads from outside, usually by reading disk snapshots or API data, without installing software on each machine. It is faster to deploy and covers machines you cannot install agents on, but it sees less runtime detail than an agent-based scan.
How do you prioritize cloud vulnerabilities?
Start with vulnerabilities in CISA's Known Exploited Vulnerabilities catalog, then high CVSS scores on internet-exposed or privileged assets, then exploitable flaws on critical systems. A critical CVE on an internal test server matters far less than a medium CVE on a public-facing production server.
Can vulnerability scanning find misconfigurations?
Yes, many cloud scanners also check configuration: public storage buckets, open security groups, missing encryption and overly broad IAM permissions. These misconfiguration findings are often more dangerous than software CVEs, because they need no exploit at all.
Does cloud vulnerability scanning replace patching?
No. Scanning finds the flaws; patching fixes them. A scan report without a patching workflow is just a list. The value of scanning is that it tells you which patches matter most and proves they were applied.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against AWS Inspector pricing and documentation, CISA's Known Exploited Vulnerabilities catalog, NIST's National Vulnerability Database and Microsoft Defender for Cloud documentation.
How we write and fact-check →