Join our Newsletter — 33% off our NHI Course
Home› Guides› Cloud Vulnerability Management Guide: Agentless Scanning, Ephemeral Assets…
Guide Cloud Security

Cloud Vulnerability Management Guide: Agentless Scanning, Ephemeral Assets and Clear Ownership

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 13 min read
On this page

Cloud vulnerability management works when findings are tied to the source that builds an asset and to a named owner, rather than to individual instances that may not exist by the time anyone reads the ticket. This guide sets out a cloud-wide process: what to put in scope, how agent-based, agentless, image and infrastructure as code scanning fit together, how to handle ephemeral and autoscaled assets, how to assign ownership through accounts and tags, and how to prioritise and measure remediation across providers.

It is deliberately provider neutral. For how each major provider's native scanner works, see Amazon Inspector, Defender Vulnerability Management and GCP Scanning Compared. For container images specifically, see the Container Image Vulnerability Management Guide. This page covers the programme that sits above those tools. Recommendations that are not drawn from a cited source are labelled as NHI Mgmt Group practice.

Key takeaways

  • NIST SP 800-40 Rev. 4 describes enterprise patch management as identifying, prioritising, acquiring, installing and verifying fixes. In the cloud each of those steps moves earlier, into images, templates and pipelines.
  • Scope is wider than virtual machines: images, containers, serverless functions, managed service versions, infrastructure as code and the identities that cloud workloads run as all carry exploitable weaknesses.
  • Agentless snapshot scanning closes coverage gaps quickly, but it reads disks at a point in time and depends on a powerful scanner role. Agents and image scanning remain necessary for runtime and build-time views.
  • For ephemeral assets, the unit of remediation is the image, function package or template, and the measure of success is that new instances launch clean.
  • Ownership comes from structure: accounts, subscriptions or projects mapped to teams, plus mandatory owner and service tags enforced at creation.
  • Prioritise with exploitation evidence such as the CISA Known Exploited Vulnerabilities catalog, likelihood such as EPSS, and cloud context: internet exposure and what the workload's identity can reach.

Why the cloud changes vulnerability management

Traditional programmes were built around a fairly stable list of servers, a scanner that reached them over the network and a monthly patch cycle. Cloud estates break each of those assumptions.

  • Assets are short lived. Autoscaling groups, spot capacity, batch jobs and containers can appear and disappear within minutes. A scan from yesterday may describe machines that no longer exist and miss those that do.
  • Assets are built, not configured. Most workloads come from a machine image, a container image, a function package or a template. A vulnerable package in a base image is replicated into every instance launched from it.
  • Responsibility is shared. For managed databases, serverless runtimes and platform services, the provider patches part of the stack and the customer is responsible for versions, configuration and code. The programme has to know which is which for each service.
  • Network scanning reaches less. Private subnets, security groups and the sheer number of accounts make network-based scanning slow and incomplete, which is why provider APIs, snapshots and agents dominate.
  • Identity is part of the blast radius. A remote code execution flaw in a workload that runs with a broad cloud role is far more serious than the same flaw in a workload with no cloud permissions. Vulnerability and identity risk have to be read together.

Scope: what counts as a cloud asset

A useful scope statement lists asset classes, not just accounts. As NHI Mgmt Group practice, the minimum set for a cloud programme is:

Asset classTypical weaknessWhere to find it
Virtual machines and their imagesOperating system and package vulnerabilitiesAgents, agentless snapshots, image pipelines
Container images and running containersBase image and library vulnerabilitiesRegistry scanning, admission checks, runtime inventory
Serverless functionsVulnerable dependencies, deprecated runtimesFunction package scanning, runtime version inventory
Managed servicesUnsupported engine or cluster versionsProvider APIs and version inventories
Kubernetes control planes and nodesVersion end of support, node image vulnerabilitiesCluster inventory and node image scanning
Infrastructure as codeVulnerable or pinned-old image references, insecure defaultsRepository and pipeline scanning
Workload identitiesExcess permissions that magnify any exploitCloud IAM analysis

Misconfiguration findings from posture tools overlap with this list. Many organisations run vulnerability and posture findings through the same triage and ownership process, while keeping the distinction clear in reporting. The Cloud Security Posture Management (CSPM) Guide covers the posture side.

Inventory comes first. NIST SP 800-53 pairs system component inventory (CM-8) with vulnerability monitoring and scanning (RA-5) and flaw remediation (SI-2), and the order matters: a scanner can only report on what it knows exists. In the cloud, the authoritative inventory is the provider's own resource APIs across every account, subscription and project, including those created outside the landing zone process.

Scanning methods and how they fit together

No single method covers a cloud estate. The table below describes what each method sees, as a way to plan layered coverage rather than to pick one.

MethodWhat it seesLimits to plan for
Agent-basedInstalled packages and running processes on a live host, continuouslyNeeds deployment on every image; short-lived hosts may report late or not at all
Agentless snapshotDisk contents of a workload, read from a snapshot through provider APIsPoint in time; misses what is only in memory; requires a broad, trusted scanner identity
Registry and imagePackages in images before and after they are pushedDoes not show which images are actually running unless joined to runtime inventory
Function packageDependencies and runtime versions of serverless codeRuntime layers and provider-managed parts may be out of view
Infrastructure as codeImage references, versions and settings before deploymentOnly covers resources built through the repositories you scan
Network or externalExposed services as an attacker sees themSlow across many accounts; blind to private workloads

As NHI Mgmt Group practice, a practical layering is agentless scanning across all accounts for breadth, agents on long-lived hosts that need continuous visibility, image and function scanning in pipelines and registries for build-time prevention, and external scanning of internet-facing endpoints to confirm exposure. Join the outputs on a stable asset key such as image digest or resource identifier so that the same vulnerability on the same image is one finding with many instances, not hundreds of separate tickets. Amazon Inspector, Defender Vulnerability Management and GCP Scanning Compared covers how each provider's tooling implements agent and agentless modes.

Ephemeral assets: fix the source, not the instance

For anything launched from an image, template or package, patching the running instance is at best a stopgap. The next scale-out event launches from the same vulnerable source. The programme should treat the source as the asset of record.

  1. Record lineage. For every finding on an instance or container, record the image digest, function version or template that produced it. Without lineage you cannot route the fix to whoever owns the build.
  2. Group by source. Report one finding per vulnerable image or package, with a count of running instances as an exposure measure.
  3. Rebuild and redeploy. The fix is a new image or package, rolled out through the normal deployment path. Long-lived instances that cannot be replaced are the exception and should be tracked as such.
  4. Verify by launch, not by scan. The closure test is that newly launched instances are clean and that no running instance still uses the old digest.
  5. Block regressions. Pipeline and registry gates should stop images with known exploited vulnerabilities from being deployed, with a documented exception path.

Short-lived assets also distort metrics. If an instance lives for an hour, its findings close themselves when it terminates, which can make mean time to remediate look excellent while the vulnerable image keeps launching. Measure time to remediate at the source level to avoid that illusion.

Environments created for testing are a common gap. Preview and feature environments are often built from the same images but outside the usual guardrails, and are sometimes left running. The Ephemeral and Preview Environment Security Guide covers keeping them inside the programme.

Ownership through accounts, tags and pipelines

A finding without an owner is a finding that will not be fixed. In cloud estates, ownership is best derived from structure rather than maintained by hand. As NHI Mgmt Group practice:

  • Account structure first. Map each account, subscription or project to an owning team in a source of truth. Where accounts are shared, rely on tags.
  • Mandatory tags at creation. Require owner, service and environment tags, and enforce them with provider policy at resource creation rather than by after-the-fact reports.
  • Pipeline ownership for images. Assign every base image and shared template to a platform team, and every application image to the service team that builds it. A vulnerability in a shared base image goes to the platform team, not to the dozens of services that inherit it.
  • Owner for unowned. Route findings on untagged resources to the account owner, and treat a rising count of untagged resources as a governance finding in its own right.
  • Provider-managed versus customer-managed. For each managed service in use, record which version and patch decisions belong to you. Unsupported engine versions are your responsibility even when the provider runs the hosts.

The Asset Inventory and CMDB Security Guide covers keeping the ownership source of truth accurate.

Prioritising in cloud context

Severity scores alone produce more urgent work than any team can complete. A cloud programme should combine three kinds of signal.

  • Exploitation evidence. CISA's Known Exploited Vulnerabilities catalog lists vulnerabilities that have a CVE ID, clear remediation guidance and reliable evidence of exploitation in the wild. Binding Operational Directive 22-01 requires US federal agencies to remediate catalogued vulnerabilities within two weeks, or within six months for CVE IDs assigned before 2021. The directive binds only federal agencies, but CISA encourages all stakeholders to use the catalog, and many private organisations use the same timelines as a benchmark.
  • Likelihood and decision support. FIRST publishes the Exploit Prediction Scoring System (EPSS), which many teams use to rank the large set of vulnerabilities that are not yet catalogued. CISA's BOD 22-01 guidance also suggests using the KEV catalog alongside a decision framework such as its Stakeholder-Specific Vulnerability Categorization (SSVC).
  • Cloud context. Is the workload reachable from the internet? Does it process sensitive data? What can its cloud identity do? A workload whose role can read secrets or assume roles in other accounts turns a host-level flaw into an account-level incident.

The identity factor is the one most often missing. As NHI Mgmt Group practice, add the workload's attached role or service account to every finding and flag those with administrative, cross-account or secrets-read permissions. Reducing those permissions is a legitimate compensating control while a fix is built, and it also reduces risk from vulnerabilities nobody has found yet. The Vulnerability Prioritisation Guide covers scoring models in depth.

Remediation timelines and exceptions

Set timelines by priority tier rather than by raw severity, and apply them at the source level. NHI Mgmt Group practice is a small number of tiers, for example known exploited and internet exposed, known exploited or high likelihood, and the rest, each with a target time and an owner who can approve exceptions.

Cloud remediation has more options than patching:

  • Rebuild and redeploy from a fixed image or package.
  • Upgrade a managed service or runtime version.
  • Remove internet exposure through security groups, private endpoints or a gateway.
  • Reduce the workload identity's permissions.
  • Decommission the asset, which is often the fastest fix for forgotten resources.

Exceptions should carry an expiry date, a compensating control and an accountable approver, and they should be reviewed when the vulnerability's status changes, for example when it is added to the KEV catalog. The Remediation SLAs and Vulnerability Exceptions Guide provides a full exception process.

The scanner's own identity

Agentless and API-based scanning depends on a cloud identity that can list resources and, for snapshot scanning, read or copy disk contents across every account in scope. That makes the scanner role one of the most powerful non-human identities in the estate. As NHI Mgmt Group practice:

  • Grant the scanner role only the read and snapshot permissions its documentation requires, and deny it write access to workloads.
  • Restrict who can modify the role and its trust relationships, and alert on changes.
  • Prefer federated, short-lived credentials for third-party scanners over long-lived keys.
  • Log and review the scanner's API activity like any privileged identity, and confirm snapshots it creates are deleted.
  • Include the scanner in third-party risk reviews when it is operated by a vendor.

Securing the vulnerability scanner itself covers this in detail.

Measuring the programme

Choose a few measures that reflect cloud realities:

  • Coverage. Percentage of accounts, and of running compute, covered by at least one scanning method, broken down by method.
  • Source-level time to remediate. Time from detection to the last running instance of a vulnerable image or package being replaced.
  • Known exploited exposure. Count of running assets with a KEV-listed vulnerability, and how long each has been open.
  • Ownership quality. Percentage of findings with a valid owner, and count of untagged resources.
  • Clean launch rate. Share of new deployments that launch with no known exploited vulnerabilities.
  • Identity-amplified findings. Open findings on workloads with administrative or cross-account permissions.

Common failure patterns

  • Instance-level tickets. Hundreds of tickets for one vulnerable image, closed as instances terminate, while the image keeps launching.
  • Coverage assumed from one tool. Agentless scanning enabled in the main organisation but not in accounts created outside it, or serverless and managed services ignored.
  • Base image findings sent to every service. The platform team that owns the base image never sees the finding as its own.
  • Severity-only priority. Critical but unreachable findings displace exploited, internet-facing ones.
  • Ignoring workload identity. The same CVE treated identically on a sandboxed job and on a workload with an administrator role.
  • Overprivileged scanner. A scanner role with write permissions or long-lived keys becomes a high-value target.
  • Exceptions without expiry. Temporary risk acceptances that outlive the systems they were granted for.

Practitioner checklist

  • Scope covers every account, subscription and project, including those outside the landing zone, and every asset class in the scope table.
  • At least one scanning method covers all running compute, with image and function scanning in pipelines.
  • Findings record lineage to image digest, function version or template, and are grouped by source.
  • Owner, service and environment tags are enforced at creation, with account owners as the fallback.
  • Priority combines KEV status, EPSS or SSVC, internet exposure and workload identity permissions.
  • Remediation timelines are set by tier and measured at source level, with expiring exceptions.
  • Pipeline or registry gates block known exploited vulnerabilities with a documented exception path.
  • The scanner identity is least privilege, short-lived where possible, logged and reviewed.
  • Coverage, source-level time to remediate and known exploited exposure are reported monthly.

Standards and references

Related NHI Mgmt Group resources: Amazon Inspector, Defender Vulnerability Management and GCP Scanning Compared · Container Image Vulnerability Management Guide · Vulnerability Prioritisation Guide · Remediation SLAs and Vulnerability Exceptions Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.