What is recorded
Every collection of a connected cluster or cloud account records each running container image, one row per running digest, in a running-image index:
When a platform reports no digest, the container is matched by tag, unless its
image reference is pinned by digest (
image@sha256:…), which is the digest it
runs.
What each platform’s exposure means
The exposure text names the workload, so a finding’s risk breakdown reads, for
example, “exposed: ECS service prod/api: internet-facing load balancer web”.
Limits of the serverless sources
- Not read: AWS App Runner, Google Cloud Functions, Azure Functions and App Service containers.
- ECS: up to 5,000 running tasks per region per collection; past that the rest are not recorded. Exposure is read from services; a standalone task’s is unknown.
- Cloud Run: Cloud Run reports one digest per revision, so a revision with several containers is matched by tag. Cloud Run jobs are not read. Up to 500 revision and invoker-policy reads per collection.
- Container Apps: in multiple-revision mode, an older revision still taking traffic is not seen.
- Container Instances: the listing may not report a group’s state, so a finished group can still be recorded until it is deleted.
- A refused read is not a failed collection. These reads feed code to cloud only, so a policy or role without them still collects and evaluates in full. The collection then records what it could read and removes nothing, so a running container recorded earlier stays until a complete collection no longer sees it.
elasticloadbalancing:DescribeTargetGroups on AWS; on
Google Cloud and Azure the reads are inside roles/viewer and Reader.
A workload with no pods (a Deployment scaled to zero, a CronJob between runs)
is not running and is not recorded. A Deployment in the middle of a rollout
runs two builds and is recorded twice. A complete collection replaces what the
location ran before; a partial one adds what it saw and removes nothing.
Not read yet in a cluster: Gateway API routes and service meshes.
How a running image is matched to a scan
- By digest. The running digest is one the image’s latest successful scan recorded: the digest the scanner resolved, or the registry’s digest for the scanned tag. For a multi-arch tag the scan also records the platform manifests of the index, so a workload pinned to one platform’s digest still matches the scan of the tag. A digest match says the running build is the scanned build.
- By tag, labelled weaker. When no digest matches, a running image whose reference names the same image and tag matches it. The page and the risk breakdown say “tag only”. When both sides know their digest and they differ, it says the running build differs from the scanned one: the findings shown describe the scanned build, and you should scan the running digest.
Exposure and privilege
In a cluster, a workload is internet exposed when a Service of typeLoadBalancer selects its pods, or an Ingress routes to a Service that does. A
LoadBalancer carrying the EKS, GKE or AKS internal annotation is not. A
NodePort, a host port and the host network are recorded as paths in, but not
as internet exposure, because whether a node’s address is public is not
something the cluster’s API says. Privileged means a container sets
privileged: true or the pod uses the host network.
Reading exposure needs get and list on services and
networking.k8s.io/ingresses, which the ClusterRole in the Connect cluster
dialog includes. A cluster connected with an older role still collects in full;
its exposure shows as unknown, which is never scored or filtered as “not
exposed”. See Kubernetes posture.
Where you see it
- An image’s page lists where it runs: each workload, function or serverless service, its cluster or account, the running digest, how it matched, and its exposure. A Lambda function, ECS service or task definition, Cloud Run service, container group or container app links to its page in the AWS console, Google Cloud console or Azure portal.
- A workload’s or cloud resource’s page lists the images it runs, each with the matched image’s open findings by severity.
- A cluster’s or cloud account’s page lists everything running there.
- Findings has Running and Internet exposed filters (
running=trueandexposed=trueonGET /api/v1/findings). - The API:
GET /api/v1/assets/{id}/runtimereturns up to 200 placements.
How it moves the risk score
Three factors of the risk score read the index:
Exposure and privilege count only for a running build. An image no connected
location runs keeps every other point and stays in the backlog: lower, never
hidden. The breakdown says how many workloads run it and whether the match was
by digest or by tag.