Skip to content

lookout scan

Start here when you know something is wrong but not what: one call runs every target-free incident check across the cluster — broken workloads, dead admission webhooks, stuck volumes and PVCs, rejected Gateway routes, config drift — then drills into the dependency edges of whatever it flagged and sweeps for edge faults no workload owns, including every TLS Secret whose certificate is expired or expiring (referenced or not). Needs no target. Opt-in groups answer other questions: --include=cloud for quota headroom, zone capacity stockouts, subnet IP space and orphaned disks or static IPs; --include=audit for security and reliability posture; --include=perf for control-plane latency.

MCP tool: k8s_scan (MCP profile: triage, audit)

Terminal window
lookout scan [flags]
FlagTypeDefaultMeaning
--includestring—additionally run these opt-in groups: audit,cloud,perf. cloud = quota headroom, zone capacity stockouts, subnet IP space, orphaned disks and static IPs; audit = security and reliability posture; perf = API server, APF, etcd and pod-startup latency. Comma-separated, ‘all’ for every one, ’-’ to subtract (all,-cloud). Left out by default because they answer a different question than what is broken; where the build or the credentials cannot reach the cloud, cloud and perf report an explicit unavailable finding rather than nothing
--max-drilldownint20cap the stage-2 dependency-edge drill-down at this many workloads, worst severity first (0 disables it); the number dropped is reported as truncated= in the summary
--cert-warnduration720hreport TLS certificates expiring within this window (stage 2: the drill-down and the TLS Secret sweep; same meaning as state edges --cert-warn)
FlagTypeDefaultMeaning
--namespacestring—limit the scan to one namespace
-Abool—scan all namespaces
--workloadstring—target one workload as <Kind>/<namespace>/<name>, e.g. Deployment/prod/api
--sinceduration—how far back to look (0 = command default)
--formatstringlogfmtoutput format: logfmt|json (one record per line either way)
--timeoutduration1m0sabort the invocation after this long (exit 1)
--kubeconfigstring—path to a kubeconfig file, instead of $KUBECONFIG / ~/.kube/config
--kubeconfig-dirstring—directory of kubeconfig files to fan out across (mutually exclusive with —kubeconfig); each finding is stamped with cluster=<label> and the summary reports clusters=<n>
--contextstring—kubeconfig context to read, instead of its current-context. Selects a cluster for THIS invocation only — nothing is written back — so concurrent invocations can target different clusters. Reported as context=<name> in the summary line
--contextsstring—comma-separated kubeconfig contexts to fan out across, or ’*’ for every context in the selected kubeconfig(s) (mutually exclusive with —context); each finding is stamped with cluster=<label> and the summary reports clusters=<n>
--concurrencyint4maximum concurrent cluster executions when fanning out with —contexts or —kubeconfig-dir
--google-authstring—how Google Cloud and GKE DNS requests authenticate: auto (default: honors LOOKOUT_GOOGLE_AUTH, CORE_AGENT_GOOGLE_AUTH, MAST_GOOGLE_AUTH), adc, or injected (static placeholder bearer token, zero GCE metadata lookups)
--exemptionsstring—path to a git-reviewed exemption file (YAML); covered findings are ANNOTATED with their reason and expiry and counted as exempt=<n> in the summary, never dropped

Every kind= this command can emit, and the severities it carries them at. Nothing else appears in its output; a kind absent from a run means the check looked and found nothing. See the finding-kind glossary for the whole vocabulary.

KindSeverityClaim
scan.check_skippedinfoa stage declined this invocation because a zero-argument scan cannot supply something it needs — the coverage claim is smaller than it looks
scan.check_failedwarninga stage errored; the scan continued without it, so this run saw less than a whole cluster — unless EVERY stage failed and none read anything, which is a runtime error (exit 1) rather than a scan
scan.incompletewarningthe —timeout expired with stages still to run; not_run names them
pod.crashloopcriticala container is crash looping
pod.imagepullcriticala container cannot pull its image
pod.waitingwarninga container is stuck in an error waiting state (CreateContainerConfigError, InvalidImageName, …)
pod.oomkilledwarninga container’s last termination was an OOM kill
pod.restartswarninga container has restarted at least —restarts times
pod.notreadywarninga container in a Running pod has been not-ready past the —pending-age grace, or at any age when the pod had been Ready and a fresh readiness failure took it down (event=Unhealthy)
pod.probe_flapwarninga Running container’s readiness keeps failing and recovering — flapping, not down: its readiness failures recur within the last 15m without holding it down, its Ready condition changed within the last 3m45s, and it has not restarted since they began. The read-path counterpart of degradation.probe_flap; status alone reads such a pod as down on half the polls and healthy on the other half. Not held back by —pending-age
pod.failedwarningthe pod reached phase Failed
pod.pendingcritical, warningthe pod has been Pending longer than —pending-age with no container-level diagnosis, or at any age when a fresh Warning event says it is failing rather than starting (event=); critical when the scheduler has declared it Unschedulable, which is a capacity or constraint problem rather than latency
workload.replicafailurecriticalthe controller cannot create pods at all (quota, PodSecurity, admission) — no pod exists to diagnose
workload.stalledcriticala Deployment’s Progressing condition is False: the rollout has given up
workload.rolloutcritical, warningreplicas are short of desired; critical when nothing is serving at all
job.failedwarninga Job’s Failed condition is set
cron.missedcritical, warningan unsuspended CronJob’s schedule said to run more than —cron-grace ago and status says it did not; critical once several activations in a row are gone
cron.unparseablewarninga CronJob’s spec.schedule could not be parsed, so its activations cannot be judged at all
node.notreadycriticalthe node’s Ready condition is not True
node.pressurecriticalthe node reports Memory/Disk/PID pressure
node.conditioncritical, warninga non-standard node condition is True — NPD and its cousins publish problems that way
node.cordonedwarningthe node is unschedulable but still holds pods: a stuck drain or a forgotten maintenance step
node.preemptcritical, warning, infoa reclaim taint marks the node for termination; severity tracks how imminent
pdb.gridlockedcritical, warningthe budget permits no disruptions; critical when healthy pods are already below the required minimum
addon.degradedcritical, warninga kube-system add-on (dns, proxy, cni, csi, metrics, connectivity) is short of replicas; critical when none are available
quota.nearwarninga ResourceQuota resource is at or past —quota-warn percent of its hard limit
quota.exhaustedcriticala ResourceQuota resource is at its hard limit: the next create is rejected
hpa.scale_failedwarningan HPA’s AbleToScale condition has been False past —hpa-grace: the controller cannot read or write its target’s scale
hpa.scaling_inactivewarningan HPA’s ScalingActive condition has been False past —hpa-grace (a failed metric fetch, an invalid selector; not a deliberate scale-to-zero): it cannot compute a replica count
cluster.autopilot_idleinfoan Autopilot cluster with no workloads of its own, scaled to 0 nodes by design: its GKE system pods wait for the first workload, and this one finding replaces every finding that state causes in GKE-managed namespaces
autoscaler.scaleup_blockedcritical, warning, infopods are unschedulable and this says why the cluster autoscaler has not added a node: the node pools that cannot grow (autoscaling off, maximum 0) and the autoscaler’s own recent refusals, from the cloud provider; critical when no pool can grow, when the only pools that can grow have no node the pods could use (a compute class’s pools, for pods that select no class) and node auto-provisioning is off, or when no node is Ready; warning when a pool is blocked or the autoscaler refused; info when neither. With Nodes and Pods read cluster-wide it also accounts for each node against the pending pods: the taints they do not tolerate (one set on a node alone, with who set it and when), the room left where they could go, the largest requests there, and DaemonSets created in the last 7 days
read.unavailableinfoa resource this command reads was refused (RBAC forbidden, e.g. Nodes, Secrets or RBAC objects under the built-in view role) or is not served, so the checks that need it did not run and their silence is not a clean bill; everything else was still verified. The message names the refused verb and resource, whether it is cluster-scoped, whether the built-in view role grants it, and the grant that fixes it; resource= carries the refused resource as resource[.group] — an explicit degradation record, never silence
webhook.failing_closedcriticalthe webhook has no working backend and failurePolicy=Fail: the admissions its rules match are rejected (the message names them; requests it does not match are unaffected)
webhook.dead_backendwarningthe webhook’s service backend is missing, has no ready endpoints, or does not serve the named port
webhook.slow_riskinfothe webhook’s timeout is long enough to slow every gated write if the backend degrades
webhook.ca_expiredcriticalthe webhook’s caBundle has expired: the API server cannot verify it
webhook.ca_expiringwarningthe webhook’s caBundle expires within —cert-warn
volume.multi_attachcriticalan RWO claim is wanted by pods on more than one node — the second pod never starts
volume.zone_conflictcriticalthe PV is locked to a zone the pod’s node is not in
volume.attach_errorcritical, warningthe attach or detach is failing; critical once it has been failing long enough to be stuck rather than slow
volume.orphaned_attachmentinfoa VolumeAttachment survives its PV or its node
volume.unconsumed_pvcinfoa Bound claim that no pod (in any phase) mounts and no workload template or live StatefulSet claim template references — its volume is provisioned and billed for nothing; consumers outside the built-in workload kinds (a VM operator, a CI workspace) are invisible here, so read it as a lead, not a verdict
volume.expansion_unsupportedwarninga Bound claim requests more storage than its current capacity, but its StorageClass does not allow volume expansion
storage.missing_classcriticalthe claim names a StorageClass that does not exist — it will stay Pending forever
storage.no_default_classcriticalthe claim names no class and the cluster has no default StorageClass
storage.no_provisionerwarningthe claim’s class is static-only (kubernetes.io/no-provisioner) and no matching PV is available
storage.multiple_defaultswarningmore than one StorageClass is annotated as the cluster default; which one wins is not defined
storage.pv_failedwarninga PersistentVolume is Failed: its reclaim did not complete, so the backing disk stays allocated and the volume cannot be reused
storage.pv_releasedinfoa PersistentVolume is Released — retained on purpose, but its capacity is unusable until spec.claimRef is cleared
gateway.missing_classcriticalthe Gateway names a GatewayClass that does not exist — nothing will program it
gateway.class_not_acceptedcriticalthe Gateway’s GatewayClass is not Accepted by its controller
gateway.not_acceptedcriticalthe Gateway itself is not Accepted
gateway.not_programmedcriticalthe Gateway is Accepted but not Programmed: no data plane is carrying its traffic
gateway.listener_invalidwarningone listener of an otherwise working Gateway is not resolved or not programmed
route.missing_parentcriticalthe route’s parentRef names a Gateway that does not exist
route.not_acceptedcriticalthe Gateway refused the route’s attachment (listener, hostname, or namespace policy)
route.missing_backendcriticalthe route’s backendRef Service does not exist
route.backend_portcriticalthe route’s backendRef Service exists but does not expose the named port
crd.unavailableinfothe API group this check reads is not served by the cluster, so nothing was examined (no coverage lies)
keda.missing_targetwarningthe ScaledObject’s scaleTargetRef names a Deployment or StatefulSet that does not exist — nothing is being scaled
keda.missing_authwarninga trigger’s authenticationRef names a TriggerAuthentication or ClusterTriggerAuthentication that does not exist — the scaler cannot read its metric
keda.not_readywarningKEDA reports the scaler Ready=False: scaling has stopped at the current size
kcc.not_readywarning, infoa Config Connector object is not Ready, stuck terminating, or has an unreconciled spec generation
kcc.unavailableinfono Config Connector (*.cnrm.cloud.google.com) CRDs are served by the cluster, so nothing was examined (no coverage lies)
wi.gsa_missingcriticalthe annotated Google service account does not exist — every GCP call from these pods fails
wi.unboundcriticalthe KSA annotates a GSA but the roles/iam.workloadIdentityUser binding is missing or malformed
wi.unannotated_useinfoa pod sets GOOGLE_APPLICATION_CREDENTIALS but its ServiceAccount carries no Workload Identity annotation
cloud.unavailableinfothe cloud capability this check needs is unavailable, so nothing was examined — an explicit degradation record, never silence
drift.manual_editcritical, warninga manager other than the GitOps controller owns spec fields on this object; critical when one of them is high blast radius (image, replicas, env)
audit.ai_workload_exposurewarning, infoan AI/inference workload has an unisolated serving Service, hostNetwork with accelerators, a hostPath model-cache mount, an automounted default ServiceAccount token, or an unpinned model-loader/inference container image
audit.workload_identity_offwarningWorkload Identity is off cluster-wide, or a node pool bypasses it — pods authenticate to the cloud as the node
audit.legacy_metadatawarninga node pool still serves the pre-v1 instance-metadata endpoints, which any pod can read
audit.public_control_planewarning, infothe control-plane endpoint is reachable from the internet; info when authorized networks narrow it
audit.nodepool_cannot_growwarninga node pool has autoscaling on with a maximum of 0 nodes: it can never hold a node, so a pod only it could host stays Pending forever
audit.cluster_security_posturewarning, infocluster-level security posture gap: Shielded Nodes disabled, Binary Authorization disabled, application-layer etcd secrets encryption disabled, or legacy ABAC enabled
audit.cluster_network_posturewarning, infocluster-level network posture gap: nodes carry public IPs, Dataplane V2 is disabled, or master global access is off on a private control-plane endpoint
audit.cluster_observability_offwarning, infocluster-level observability disabled: Cloud Logging, Cloud Monitoring, or Managed Service for Prometheus is turned off
audit.cluster_backup_offinfoBackup for GKE addon is disabled on the cluster
audit.compute_class_posturewarning, infoa workload’s GKE ComputeClass or hardware-placement spec has no fallback or cannot be satisfied by the cluster: references a non-existent ComputeClass, requests a class or accelerator with zero matching nodes and no node-pool auto-creation, pins multi-replica pods directly to Spot without a ComputeClass priority fallback chain, or pins an accelerator workload to a zone with zero matching accelerator nodes while other zones have them
audit.single_zone_nodepoolwarning, infoa multi-node pool has all of its nodes in a single availability zone while the cluster spans multiple zones, or a workload with zone topologySpreadConstraints is pinned to a single-zone node pool
audit.exemption_expiredwarningan exemption entry has lapsed: the findings it used to annotate are being reported unqualified again
audit.exemption_expiringinfoan exemption entry lapses within —within — renew it or let it go deliberately
audit.privileged_containerwarninga container runs privileged or holds a node-root capability (ALL, SYS_ADMIN): a container escape is a node compromise
audit.host_namespacewarningthe pod shares the node’s network, PID, or IPC namespace
audit.hostpath_mountwarning, infothe pod mounts a host path; warning when it is writable, info when read-only
audit.default_sa_automountwarningthe pod runs as the namespace’s default ServiceAccount with its token automounted, and something in the pod can use it
audit.sa_token_automountinfothe pod runs as a non-default ServiceAccount with its token automounted, but no RoleBinding or ClusterRoleBinding binds that ServiceAccount
audit.container_security_gapswarning, infoa non-privileged container runs as UID 0, leaves runAsNonRoot unset, permits privilege escalation, or has no RuntimeDefault/Localhost seccomp profile
audit.writable_rootfsinfoa container does not set readOnlyRootFilesystem: true, so the root filesystem is writable at runtime
audit.capabilities_addedwarning, infoa container adds Linux capabilities below node-root (NET_ADMIN, NET_RAW, SYS_PTRACE, …) or does not drop ALL default capabilities
audit.podsecurity_gapswarningthe namespace enforces no Pod Security Admission level, so none of the above is prevented
audit.image_floating_taginfoa container image reference names no particular bytes — a tag that by convention moves (latest, main, master, dev, nightly, stable, edge) or no tag at all, with no digest: the next pull may run different code with no deploy and no record
audit.no_resource_quotawarning, infoworkload-bearing namespace has no ResourceQuota or a ResourceQuota is >= 90% of hard limit
audit.no_limit_rangeinfoworkload-bearing namespace has no LimitRange while containers omit resource requests/limits
audit.namespace_onboarding_gapswarning, infoworkload-bearing namespace is missing required onboarding labels
audit.netpol_missingwarning, infonothing restricts this direction for the subject — a namespace with no policy at all, or a workload the covering policies’ selectors miss; info for the egress direction, where no policy is a defensible default
audit.netpol_selects_nothingwarningthis NetworkPolicy’s podSelector matches no workload in its namespace, so neither its isolation nor its allow rules apply to anything; reported only where the namespace claim does not already say the namespace’s policies select nothing
audit.network_policy_allow_allwarning, infothis NetworkPolicy has an allow-all peer rule (empty from/to peer list, 0.0.0.0/0 or ::/0 without except, or an empty namespaceSelector with no podSelector); warning for ingress, info for egress
audit.cluster_admin_bindingwarning, infothe binding grants a full-wildcard role (cluster-admin, or one with the same rule) to its subjects; warning for a ClusterRoleBinding, info for a RoleBinding, which confines it to one namespace
audit.wildcard_rbacwarning, infothe role has a rule using * for verbs or resources; warning for a full wildcard that something binds, info for an unbound one and for the narrower wildcards
audit.exec_attach_grantwarning, infothe binding grants pods/exec, pods/attach, or pods/portforward to its subjects; warning for exec or attach, info for portforward
audit.impersonate_escalate_grantwarningthe binding grants impersonate on identities or bind/escalate on RBAC roles to its subjects
audit.version_behindcritical, warning, infothe control plane or a node pool is behind what the provider publishes, or a node pool has skewed from the control plane; info while the gap is still within the supported skew
audit.upgrade_unmanagedwarningnothing will close that gap on its own: no release channel, or node auto-upgrade/auto-repair off
audit.upgrade_blockedcritical, warning, infoan active maintenance exclusion, a node image on the removed Docker runtime, a removed API in use, a fail-closed upgrade-path webhook, or a zero-disruption PDB will stop or stall the upgrade when it comes
audit.deprecated_api_in_usecritical, warninga cluster resource was last applied with a Kubernetes API version that is deprecated or removed in the target minor release
audit.upgrade_unattendedinfoupgrades will happen with nobody watching: no maintenance window, or no upgrade notifications
audit.no_pdbwarningthe workload has no PodDisruptionBudget: a drain can take every replica at once
audit.pdb_posturewarninga PodDisruptionBudget overlaps another PDB on the same workload or allows zero disruptions by spec, permanently blocking voluntary node drains
audit.single_replicawarningthe workload runs a single replica, so any disruption is an outage
audit.no_readiness_probewarninga container has no readiness probe, so traffic reaches it before it can serve
audit.no_liveness_probeinfoa container has no liveness probe, so a wedged process is never restarted
audit.no_startup_probewarning, infoa container has a livenessProbe and no startupProbe, with either a liveness deadline under 60s (info) or a readinessProbe initialDelaySeconds >= 30s (warning) that shows slow startup is expected
audit.no_resource_requestswarninga container has no CPU or memory request (and no limit or namespace LimitRange to default it from), so the scheduler places it blind and node eviction ranks it first
audit.no_resource_limitswarning, infoa container has no memory or CPU limit (and no namespace LimitRange default): an unbounded memory leak OOMs the node (warning), while an unbounded CPU spike is throttled only by contention (info)
audit.no_spreadinfothe workload’s replicas are not spread across nodes or zones
audit.rigid_schedulingwarning, infoplacement constraints pin the workload to too few nodes to survive losing one
audit.hpa_cannot_scalewarning, infothe autoscaler structurally cannot scale or drops HA at idle: min equals max, the target is missing, a container has no request for its utilization target to divide by, or minReplicas is 1
audit.suspended_cronjobwarninga CronJob has been suspended past —cron-suspended and has skipped activations because of it: whatever it does is not happening, and nothing else reports that
audit.cronjob_overlap_riskwarning, infoa CronJob permits concurrent runs without an activeDeadlineSeconds bounding them to the schedule interval, or sets startingDeadlineSeconds below the controller’s 10s check loop
audit.cronjob_failingwarningan active CronJob has scheduled runs, none are currently running, and status.lastSuccessfulTime is nil — it has never succeeded
audit.suspended_jobinfoa standalone Job (no controller owner, not queued by Kueue) has been suspended past —job-suspended without finishing: the one-shot task it carries is not happening
audit.liveness_preempts_readinesswarning, infoliveness and readiness probe the same handler and liveness gives up no later than readiness: the kubelet restarts the container before readiness can take it out of the Service, so the readiness probe is decoration; info when the two deadlines tie, warning when liveness is strictly earlier
audit.rollout_drops_trafficwarninga Service-backed, multi-replica workload (or a Service-backed DaemonSet) whose serving container has no preStop hook, or a container whose preStop sleep reaches or exceeds terminationGracePeriodSeconds: SIGTERM races endpoint removal or SIGKILL arrives with zero drain time
audit.recreate_strategywarninga Service-backed, multi-replica Deployment whose strategy permits zero surviving pods — Recreate, or rollingUpdate.maxUnavailable at or above the replica count — so every rollout is an outage the Deployment never reports
ipspace.rangecritical, warning, infoa pod/service/node range is at 80% of its CIDR or worse; critical from 95%, info for a range the cloud APIs cannot rate and for an —all row below the line
orphan.diskwarninga GCE disk has been unattached for at least —min-age and is still billing
orphan.lbwarninga forwarding rule or load balancer routes to zero endpoints and is still billing
orphan.addresswarning, infoan external static IP has been reserved for at least —min-age, nothing uses it, and it is still billing — warning when no Cloud DNS record in the project resolves to it (or the DNS check could not run, which the record says); info, reason=ReferencedByDNS, when DNS records still point at it, because releasing it would leave those names dangling
orphan.nodepoolinfo—only=nodepools: a node pool has at least one node and no workload pod scheduled on any of them (DaemonSet-owned and mirror/static pods do not count), judged on this one observation — info, because a batch pool between runs looks the same; the reason names the autoscaler case and so the remedy
quota.pressurecritical, warning, infoa cloud quota is at or above —quota-warn percent of its limit; critical from 95%, info for an —all row below the line
stockout.zonewarningthe cloud had no capacity for a machine type in this zone during the window — the reason a scale-up failed and pods stayed Pending
perf.apiserver_p99critical, warningapiserver request latency p99 crossed the pack threshold for a verb/resource — warning from 1s, critical from 4s
perf.apf_saturationcritical, warningan API Priority and Fairness level is holding a sustained queue — warning from 10 queued, critical from 100
perf.apf_rejectscritical, warningAPF is shedding load: the apiserver is returning 429s at a priority level
perf.etcd_fsynccritical, warningetcd WAL fsync p99 crossed the pack threshold — warning from 10ms, critical from 100ms
perf.etcd_db_sizecritical, warningthe etcd database is approaching its quota — warning from 4 GiB, critical from 5.5 GiB
perf.startup_p95critical, warningpod first-ready p95 crossed the pack threshold — warning from 60s, critical from 300s
perf.pack_unavailablewarninga metric the requested pack needs is not in the metrics workspace, so part of the pack could not run; the rest still did (no coverage lies)
edge.missing_refcriticala referenced ConfigMap, Secret, ServiceAccount, TLS secret, IngressClass, StorageClass, or governing Service does not exist
edge.missing_keycriticalthe referenced key is absent from an existing ConfigMap/Secret
edge.invalid_refwarningthe referenced object exists but is the wrong type to serve the reference
edge.unclassedwarningthe Ingress names no class and no IngressClass declares itself the cluster default — no controller will claim it
edge.selector_emptycritical, infoa Service selector selects zero pods, so the service routes nowhere; info, not critical, when every workload it matches is scaled to zero on purpose
edge.selector_unreadycritical, warningthe Service selects pods but some are not Ready; critical when none are
edge.endpoints_missingcriticala selecting Service has no EndpointSlices at all
edge.endpoints_orphanedwarningan endpoint targetRef names a pod that no longer exists
edge.endpoints_unreadycritical, warningthe endpoint ready-count disagrees with the selected pods (stale or lagging slices); critical at zero ready
edge.backend_missingcriticalan Ingress backend service, or the port it names, does not exist
edge.cert_expiredcritical, warninga TLS certificate’s NotAfter is in the past (a bundle is judged by its earliest-expiring certificate); warning instead of critical when the target-free TLS Secret sweep finds nothing in the cluster referencing the Secret (referenced_by=none)
edge.cert_expiringwarninga TLS certificate expires within —cert-warn — one a workload or Ingress reaches, or, in the target-free sweep, any kubernetes.io/tls Secret in scope, referenced or not
edge.cert_invalidwarning, infotls.crt is missing or unparseable, or the secret is not kubernetes.io/tls; info instead of warning when the target-free TLS Secret sweep finds nothing referencing the Secret
edge.rbac_danglingwarninga (Cluster)RoleBinding for the workload’s ServiceAccount points at a missing (Cluster)Role

Beyond the shared envelope fields (kind, severity, namespace, kind_of_object, name, reason, message, fingerprint, exempt_reason, exempt_expires):

FieldMeaning
checkwhich registered command produced this finding — also the command to run for the full detail behind it
not_runon scan.incomplete: the checks the timeout left unrun, comma-separated
checkssummary-line note: how many checks this scan actually ran
skippedsummary-line note: opt-in groups this scan did NOT run (switch one on with —include=<group>) — stated so a quiet scan is never mistaken for a complete one
drilldownsummary-line note: workloads the stage-2 dependency-edge drill-down covered
truncatedsummary-line note: drill-down candidates dropped by —max-drilldown
unavailablesummary-line note: the checks that ran but could not answer in full — each emitted an explicit *.unavailable record saying why — comma-separated; state edges here means stage 2 could not list Secrets, so the TLS Secret expiry sweep did not run
autopilot_idle_foldedsummary-line note: webhook findings folded under cluster.autopilot_idle — GKE-managed webhooks whose backend cannot run because the idle Autopilot cluster has, by design, no node
drilldown_skippedsummary-line note: comma-separated resources the drill-down’s List pass was refused (RBAC forbidden — under the built-in view role: nodes, secrets and the RBAC kinds, plus ingressclasses and storageclasses) or found not served. The edge checks that need them did not run and stay silent rather than calling every reference missing, so a quiet drill-down under this note is not a clean one. Kept concise on purpose: each listed resource needs list granted via a ClusterRole (lookout’s shipped ClusterRole grants every one), and lookout state edges --workload=<a flagged workload> prints the full reason per resource — refused verb, scope, whether the built-in view role grants it, and the grant that fixes it — as read.unavailable records
containercontainer the finding is about (init containers prefixed init:)
imageimage reference that failed to pull
restartscontainer restart count
exit_codeexit code of the container’s last termination
last_statereason of the container’s last termination (e.g. OOMKilled)
agehow long the abnormal state has persisted (on pod.probe_flap: since the first readiness failure the kubelet recorded)
eventon pod.pending and pod.notready: the reason of the fresh Warning event that says the pod is failing rather than starting — FailedScheduling, FailedMount, FailedAttachVolume, FailedCreatePodSandBox, ImagePullBackOff (any pull failure) or Unhealthy; the event’s message becomes the finding’s when status has none. Its presence is what reports a pod younger than —pending-age
readinesson pod.probe_flap: the pod’s Ready condition at this read, Ready or NotReady — one sample of a state that keeps changing
last_flipon pod.probe_flap: how long ago the pod’s Ready condition last changed
probe_failureson pod.probe_flap: readiness failures the kubelet’s Unhealthy events recorded — a floor, since the kubelet’s event spam filter stops counting after a burst of 25
period_secondsthe probe’s periodSeconds (default 10); on pod.probe_flap, the readiness probe whose failures were counted
desireddesired replica/scheduled count from spec
readyready count from status
updatedupdated-to-current-revision count from status
availableavailable count from status
failedfailed pod count of a Job
schedulea CronJob’s spec.schedule
expectedthe activation a CronJob should have run and did not
missed_runsactivations missed since the anchor; ≥N when the walk was capped
anchorwhat the missed count was measured from: last_schedule or creation
time_zonea CronJob’s spec.timeZone, when set
last_schedulea CronJob’s status.lastScheduleTime, or never
active_jobsJobs a CronJob still has running
conditionnode condition type that is abnormal; for an HPA, the False condition (AbleToScale=False or ScalingActive=False)
tainttaint key indicating reclaim/drain
podspods affected (behind a cordoned node or a PDB)
healthycurrently healthy pods behind a PDB
requiredpods the PDB requires healthy
addonsystem add-on role: dns, proxy, cni, csi, metrics, connectivity
resourceResourceQuota resource name at or near its limit
usedquota usage from status
hardquota hard limit from status
pctquota usage as percent of the hard limit
scale_targetan HPA’s scaleTargetRef as Kind/name
replicasan HPA’s current replica count, where the failure holds it
audit_reasonthe audit.hpa_cannot_scale reason (HPATargetMissing, HPATargetMissingRequests) that is the structural cause of this failure, when the controller’s message identifies one
nodeson autoscaler.scaleup_blocked and cluster.autopilot_idle: Ready/total Nodes in the cluster, when nodes were read
autopiloton autoscaler.scaleup_blocked and cluster.autopilot_idle: true for a GKE Autopilot cluster, whose capacity the provider manages
poolson autoscaler.scaleup_blocked: every node pool as name (autoscaling bounds, node count, why it cannot grow)
no_scale_upon autoscaler.scaleup_blocked: the autoscaler’s noScaleUp refusals in the window, as [pool: ]reason ×count, most frequent first
windowon autoscaler.scaleup_blocked: how far back autoscaler decisions were read
decisionson autoscaler.scaleup_blocked: why the autoscaler’s decisions could not be read, when they could not
auto_provisioningon autoscaler.scaleup_blocked: enabled|disabled, whether the autoscaler may create new node pools for pods no pool fits (GKE node auto-provisioning). Disabled, pods that select no compute class can only land in the pools that exist; a compute class’s pools take only pods that select it
taintson autoscaler.scaleup_blocked: the node taints no pending pod tolerates, as key=value:effect on the nodes carrying it, operator-set taints first; a compute class’s taint says only pods selecting the class may use those nodes. The message names a taint set on a node alone rather than by its pool, with the managedFields manager and time that last wrote the node’s taints
full_nodeson autoscaler.scaleup_blocked: nodes the pending pods could otherwise use but lack room on, with CPU and memory free of allocatable by requests, and the smallest pending request
largest_requestson autoscaler.scaleup_blocked: the largest CPU requests on those full nodes, a DaemonSet named once (marked when created within the last 7 days)
new_daemonsetson autoscaler.scaleup_blocked: DaemonSets created within the last 7 days, with their per-pod request, node count and age — capacity taken from every node
foldedon cluster.autopilot_idle: how many findings the idle state explains, replaced by this one
namespaceson cluster.autopilot_idle: the GKE-managed namespaces those findings were in
autoscalersummary note: why unschedulable pods could not be explained (no cloud provider, or no permission to read node pools)
youngsummary note: pods left unjudged because they are younger than the —pending-age grace (default 5m) — Pending, or Running with a not-ready container — and no fresh Warning event says why; omitted at 0. Those pods are too new to call, not healthy: lookout triage delta --pending-age=0 judges them now
webhookadmission webhook as <configuration>/<webhook name>
serviceservice backend the webhook points at, as <namespace>/<name>
backendwhy the backend is dead: service missing, no ready endpoints, or port <p> not on service
gatesnamespaces the webhook gates, from namespaceSelector: all namespaces, or <matched>/<total> namespaces with up to 5 names
rulescompact operations/resources summary of the webhook’s rules, e.g. “CREATE,UPDATE pods,deployments.apps”
object_selectorthe webhook’s objectSelector, when one is set
timeoutwebhook timeoutSeconds as <n>s (nil defaults to the API’s 10s)
subjectCA-bundle certificate subject (CN when set); never key material
not_afterCA-bundle certificate NotAfter, RFC 3339
days_leftwhole days until NotAfter (negative = expired)
access_modesthe claim’s declared access modes
pvPersistentVolume behind the claim or attachment
pvcPersistentVolumeClaim the pod mounts (same namespace as the pod)
nodenode the attachment targets or the pod is scheduled on
attacherCSI driver responsible for the attachment (spec.attacher)
errorvolume.attach_error: the attach/detach error message, truncated to 200 chars (cloud.unavailable from cloud orphans, reason=SweepFailed or RuleUnresolved, uses the same key for the provider error — masked, cut to 300 characters)
attachedthe attachment’s status.attached at scan time
pv_zoneszones the PV’s node affinity allows, sorted
node_zonezone label of the node the pod is scheduled on
orphanwhich referenced side is gone: “pv missing”, “node missing”, or both
capacityvolume.unconsumed_pvc, volume.expansion_unsupported: the claim’s bound capacity (status.capacity.storage); omitted when unreported
requestedvolume.expansion_unsupported: the larger storage capacity requested in spec.resources.requests.storage
storage_classvolume.unconsumed_pvc, volume.expansion_unsupported: the claim’s StorageClass; omitted when it names none
reclaim_policyvolume.unconsumed_pvc: the bound PV’s reclaim policy — Delete means deleting the claim frees the disk, Retain means the PV must be deleted too; omitted when the PV is not visible
claim_agevolume.unconsumed_pvc: how long ago the claim was created, truncated to minutes
classesStorageClasses the cluster does have, sorted (empty when there are none)
defaultsStorageClasses annotated as the cluster default, sorted
provisionerthe class’s spec.provisioner
phasethe claim’s or volume’s status.phase at scan time
claimthe claim the volume was bound to, as namespace/name
binding_modethe class’s volumeBindingMode (Immediate when unset)
gateway_classGatewayClass the Gateway names
controllerthe GatewayClass’s spec.controllerName — which implementation owns it
gatewayGateway the route attaches to, as namespace/name
listenerlistener name within the Gateway
portlistener port, or the backendRef port the Service does not expose
protocollistener protocol
service_portsports the backend Service does expose, sorted
api_groupcrd.unavailable: the API group-version this command needed
resourcescrd.unavailable: the resources it would have read
targetthe scaleTargetRef the ScaledObject names, as <Kind>/<name>
triggertrigger type (prometheus, kafka, …) whose authenticationRef does not resolve
authenticationthe authenticationRef that does not resolve, as <Kind>/<name>
gvrGroupVersionResource of the Config Connector object (group/version/resource)
api_versionapiVersion of the Config Connector object
condition_reasonthe Ready condition’s reason reported by the Config Connector controller
observed_generationstatus.observedGeneration last reconciled by Config Connector
generationmetadata.generation of the object
gsathe cloud identity (GSA email) the ServiceAccount’s annotation claims
problemmachine-matchable problem code from the provider (e.g. no-workload-identity-binding)
envthe credential-file env var found (GOOGLE_APPLICATION_CREDENTIALS)
capabilitycloud.unavailable: the provider capability this command needed (workload-identity)
providercloud.unavailable: the provider that was asked
manageron findings: the foreign manager string from managedFields (a tool name like kubectl-edit — never a user identity; see —identity); on the summary line: the resolved GitOps manager
detectionsummary note: how the GitOps manager was resolved — declared (—manager), majority (auto-detected recognized GitOps controller owning >50% of the spec leaf fields in scope), or none (no manager resolved; nothing emitted)
detection_reasonsummary note on detection=none, naming why: no-spec-fields-in-scope (nothing in scope owns a spec field), no-majority-manager (a leading candidate exists but owns 50% or less), or not-a-gitops-manager (the majority owner is not a recognized GitOps controller — e.g. kubeadm or a kubectl manager on a cluster with no GitOps at all)
candidatesummary note on detection=none: the leading manager that fell short (of the majority, or of being a recognized GitOps controller) — pass it to —manager if it is in fact the GitOps controller
sharesummary note: the resolved manager’s (or, on detection=none, the candidate’s) percentage of every spec leaf field owned across the scanned objects, rounded. A declared manager with a low share means most findings are other legitimate owners
unmanagedsummary note, omitted at zero: scanned objects the resolved GitOps manager owns no spec field on. Nothing is reported for them — an object the manager never applied cannot have drifted from it — so a high count next to zero findings means the manager’s scope is narrower than the scan’s
operationmanagedFields operation of the foreign manager’s last write: Apply or Update
toolclient tool recognized from the manager string (kubectl for kubectl-edit/kubectl-patch/kubectl-*)
fieldscompact spec paths the foreign manager owns (e.g. spec.template.spec.containers[app].image), capped at 8 with a +N more tail
field_counttotal spec leaf fields the foreign manager owns on this object (uncapped)
principal—identity: the audited principal of the write nearest the drift time (GKE: principalEmail), or the explicit sentinel none-in-audit-window / no-write-time-anchor when the trail cannot answer
principal_agent—identity: the caller-supplied client string of that write (a kubectl or controller user-agent), when the trail records one; caller-controlled text, display-only
other_principals—identity: other distinct principals that wrote the object inside the audit window, capped at 8 with a +N more tail
identitysummary note when —identity could not be served: the unavailable marker naming why (no provider / audit capability absent / lookout’s own cloud identity could not obtain an access token)
portsService port(s) exposed without an ingress NetworkPolicy (ServingPortClusterWideNoNetPol)
acceleratoraccelerator resource or node selector detected on the workload, when present
volumescomma-separated name:path pairs (capped at 8) of hostPath volumes mounted by the AI workload (SharedModelCacheHostPath)
service_accountServiceAccount name used by the AI workload (DefaultSAWithAccelerator)
containerscount of containers in the AI workload template with an unpinned image reference (UnpinnedModelLoaderImage)
container_namescomma-separated container names (capped at 8) with an unpinned image reference (UnpinnedModelLoaderImage)
total_containerstotal containers (init + regular) in the AI workload template (UnpinnedModelLoaderImage)
ai_workloadssummary-line note: count of AI/inference workload templates identified in the scan scope
skipped_system_namespacessummary note: distinct system namespaces skipped under --skip-system-namespaces
clusteron a node-pool finding: the cluster the pool belongs to, so the record stands alone
workload_poolthe cluster-wide workload identity pool that this node pool’s pods bypass
metadata_modehow the node pool exposes instance metadata to pods: node-identity means any pod can mint tokens for the node’s service account
disable_legacy_endpointsthe pool’s legacy-metadata setting as the provider records it: enabled when someone turned the pre-v1 endpoints back on, unset when the pool was never configured either way
node_poolssummary note: node pools examined — the cluster itself is the other unit scanned counts
endpointthe control plane’s internet-facing address
authorized_networkshow many source ranges the allow-list permits
authorized_network_cidrsthose ranges, sorted as the provider returned them and capped at 8 with a +N more tail
gcp_public_cidrswhether the provider’s own public ranges are admitted in addition to the allow-list
compute_classthe cloud.google.com/compute-class name requested by the workload template
zonethe availability zone (topology.kubernetes.io/zone) the workload or single-zone node pool is pinned to
accelerator_zoneszones in the cluster that actually host nodes with the requested accelerator, capped at 8
spot_selectorthe nodeSelector or affinity expression pinning the workload directly to Spot nodes
servicescount of serving Services routing to the workload, when Service-backed
service_namesnames of the serving Services routing to the workload, capped at 8
nodepoolthe cloud.google.com/gke-nodepool name for a single-zone node pool
cluster_zonesdistinct availability zones across all nodes in the cluster, capped at 8
affected_workloadsworkloads with zone topologySpreadConstraints pinned to the single-zone node pool
affected_workload_namestheir Kind/namespace/name, sorted and capped at 8
compute_classessummary note: ComputeClass custom resources listed in the cluster, when the CRD is served
exempt_kindthe finding kind the entry covers — this is the entry’s kind: field, not this finding’s own kind
expireswhen the entry stops applying, RFC 3339 (a bare YYYY-MM-DD in the file resolves to 00:00:00Z that day)
expired_forhow long ago the entry lapsed, rounded to whole days — only on audit.exemption_expired
expires_inhow long until the entry lapses, rounded to whole days — only on audit.exemption_expiring
ownerthe entry’s owner: field, absent if it has none — which is itself worth fixing, since “expired, and nobody knows whose it was” is where these files end up
justificationthe entry’s reason: field: why the exempted finding was accepted. Distinct from the envelope’s exempt_reason, which is the justification for THIS finding being exempt
capabilitiesthe node-root capabilities added by those containers (ALL, SYS_ADMIN), sorted and deduplicated
host_pathshostPath volumes the template mounts; a declared but unmounted hostPath volume grants no access and is not counted
host_path_namesthe paths on the node, sorted and capped at 8
mounting_workloadsworkloads in the namespace running as the default ServiceAccount without disabling automount at the pod level; the finding does not fire at 0
mounting_workload_namestheir Kind/name, sorted and capped at 8
pss_enforcethe namespace’s pod-security.kubernetes.io/enforce label, omitted when unset
pss_warnits /warn label, omitted when unset — set without /enforce means the namespace is in dry-run
pss_auditits /audit label, omitted when unset — same dry-run meaning
workloadspod templates this pass judged in the namespace, so an unenforced namespace with nothing in it reads differently from a busy one
workload_namestheir Kind/name, sorted and capped at 8
quotaname of the ResourceQuota at or above 90% of its hard limit
missing_labelscomma-separated required onboarding labels missing from the Namespace
policiesNetworkPolicies in the namespace naming this direction in policyTypes; 0 on a namespace-subject finding, and the number that failed to select the subject on a workload one
total_policiesNetworkPolicies in the namespace in either direction, so an egress-only namespace does not read as an empty one
host_network_workloadspod templates excluded because they use the node’s network namespace, where NetworkPolicy does not apply; omitted at 0
covered_workloadspod templates in the namespace that ARE selected for this direction — the neighbours the subject fell out of step with
pod_labelsthe template’s own labels, which are what the policies’ selectors failed to match, sorted and capped at 8
pod_selectorthe dead or allow-all policy’s podSelector, in label-selector syntax
directionthe direction the permissive rule opens (ingress or egress)
policy_typesthe directions the dead policy names, after defaulting an unset policyTypes
rolethe role the binding points at, as Kind/name
subjectssubjects the binding grants the role to
subject_namesthose subjects as Kind:name (ServiceAccounts as ServiceAccount:namespace/name), sorted and capped at 8
wildcard_rulesrules in the role that use * for verbs or resources
verbsthe verbs of the broadest wildcard rule, comma-joined
api_groupsthe apiGroups of the broadest wildcard rule, comma-joined, with the core group written as core
bindingsRoleBindings and ClusterRoleBindings pointing at the role; 0 means it grants nothing today
platform_managedsummary note: bindings and roles left out because the platform reconciles them (kubernetes.io/bootstrapping=rbac-defaults, or addonmanager.kubernetes.io/mode=Reconcile)
aggregated_rolessummary note: aggregated ClusterRoles left out of audit.wildcard_rbac, whose rules come from the roles that are judged; omitted when there are none or ClusterRoles are out of scope
versionthe current version of the finding’s subject — the control plane’s, or the node pool’s
target_versionthe version the provider would move this cluster to: its channel’s upgrade target where one is published, otherwise the channel’s default (or —target-version)
control_plane_versionon a node-pool skew finding: the control-plane version the pool is measured against
minor_versions_behindhow many minor releases separate the two versions
channelthe release channel the cluster is subscribed to, and the one whose published versions the comparison used; none when it is subscribed to no channel
image_typethe provider’s name for the node image the pool runs
exclusionthe operator’s name for the maintenance exclusion currently in force
scopehow much of the upgrade stream that exclusion holds back: all-upgrades, minor-upgrades or minor-and-node-upgrades
endswhen the exclusion lifts, or end-of-support for one that runs until the cluster’s version leaves support
days_remaininghow much longer the exclusion has left to run
removed_inon a deprecated-API finding: the Kubernetes major.minor release that removes the API
replacementon a deprecated-API finding: the successor group/version to migrate to
webhook_groupon a webhook upgrade-blocker finding: the upgrade-critical operation group intercepted (drain-eviction, pod-creation, node-lease, kubelet-csr, csi-storage, control-plane-rbac)
timeout_secondson a webhook timeout finding: the configured webhook timeout in seconds, or default(10) when unset
min_availableon a PDB upgrade-blocker finding: the configured minAvailable threshold
max_unavailableon a PDB upgrade-blocker finding: the configured maxUnavailable threshold
disruptions_allowedon a PDB upgrade-blocker finding: the live disruptionsAllowed count
namespace_pdbsPodDisruptionBudgets in the workload’s namespace — 0 says the namespace has no PDB culture at all, a non-zero value says this workload was missed
overlapping_pdbother PodDisruptionBudgets in the same namespace selecting the same workload
workloadworkload(s) selected by the PodDisruptionBudget, as Kind/name
liveness_windowthe liveness probe’s effective deadline (initialDelaySeconds + failureThreshold * periodSeconds)
failure_thresholdthe probe’s failureThreshold (default 3)
initial_delay_secondsthe probe’s initialDelaySeconds
prestop_sleep_secondsseconds parsed from the container’s preStop sleep hook
termination_grace_period_secondsthe pod template’s terminationGracePeriodSeconds (default 30)
min_replicasthe HPA’s spec.minReplicas (nil defaults to 1, matching the API server)
max_replicasthe HPA’s spec.maxReplicas
metricthe utilization metric the HPA cannot compute, comma-separated if more than one
eligible_nodesnodes satisfying the workload’s REQUIRED placement constraint; an upper bound, since taints and cordons are not subtracted
cluster_nodesnodes in the cluster, so eligible_nodes reads as a fraction
constraintthe label and field keys that narrow placement, sorted and capped at 8
concurrency_policythe CronJob’s effective spec.concurrencyPolicy (default Allow)
active_deadline_secondsthe CronJob jobTemplate’s spec.activeDeadlineSeconds, when set
starting_deadline_secondsthe CronJob’s spec.startingDeadlineSeconds
last_schedule_timethe CronJob’s status.lastScheduleTime, RFC 3339
suspended_forhow long spec.suspend has been true, rounded to whole days
suspended_sincewhen the suspension is estimated to have started, RFC 3339
termination_gracethe pod template’s terminationGracePeriodSeconds (the API default of 30s when unset), the ceiling any preStop hook would run inside
strategythe Deployment strategy setting that permits zero surviving pods: strategy.type=Recreate, or rollingUpdate.maxUnavailable=<value>
pdbssummary note: PodDisruptionBudgets seen in scope
hpassummary note: HorizontalPodAutoscalers seen in scope
jobssummary note: Jobs examined for the suspension claim; they count toward scanned but not toward workloads
cidrthe range’s CIDR block
purposewhat the range allocates: pods, services, or nodes
size_gborphan.disk: provisioned size in GB (billed whether used or not)
disk_typeorphan.disk: disk type short name (pd-ssd bills ~4x pd-standard idle)
unused_sinceorphan.disk: last detach (or creation, if never attached), RFC3339; omitted when the provider cannot date it
unused_fororphan.disk: how long the disk has been unattached; “unknown” when undatable
regionorphan.lb, orphan.address, cloud.unavailable (reason=RuleUnresolved): the forwarding rule’s or address’s region (“global” for global ones)
whyorphan.lb: the provider’s orphan judgment (e.g. which backend resolved empty)
addressorphan.address: the reserved IP
network_tierorphan.address: the address’s network tier (PREMIUM or STANDARD); omitted when the provider records none
reserved_sinceorphan.address: when the address was reserved, RFC3339 — the provider records no release time, so this bounds the idle time from above; omitted when undatable
reserved_fororphan.address: how long ago the address was reserved; “unknown” when undatable
dns_checkorphan.address: the Cloud DNS cross-check run before recommending release — referenced (records in the project’s Cloud DNS zones resolve to the address: reason=ReferencedByDNS, severity info, see dns_records), none_found (no record in the project’s Cloud DNS resolves to it; DNS hosted elsewhere is not checked), or unavailable (the check could not run, see dns_unavailable — verify DNS by hand before releasing)
dns_recordsorphan.address (dns_check=referenced): the records resolving to the address, “<name> <type> in zone <zone>” comma-separated — A/AAAA data and routing-policy targets, or CNAME chains through the project’s records, wildcards included — the first 5, then “and N more”
dns_unavailableorphan.address (dns_check=unavailable): why the Cloud DNS check could not run — the permission it needs (dns.managedZones.list or dns.resourceRecordSets.list, both in roles/dns.reader), a disabled Cloud DNS API, or the provider’s error (masked, cut to 200 characters)
node_countorphan.nodepool: the pool’s current nodes, counted from the cluster’s Nodes by their cloud.google.com/gke-nodepool label (the provider record carries no live count); never 0 — a pool at zero nodes costs nothing and is not reported
excluded_podsorphan.nodepool: running DaemonSet-owned and mirror (static) pods on the pool’s nodes — present, but not workload; 0 when the nodes run nothing at all
machine_typeorphan.nodepool: the pool’s machine type, what each idle node bills as; omitted when the provider record names none
autoscalingorphan.nodepool: enabled or disabled — whether the autoscaler can shrink the pool at all
min_node_countorphan.nodepool: the autoscaler’s per-zone minimum; a non-zero floor is what keeps an idle autoscaled pool up (reason IdleMinNodeCount). Omitted when autoscaling is disabled or the pool uses total limits
max_node_countorphan.nodepool: the autoscaler’s per-zone maximum; omitted when autoscaling is disabled or the pool uses total limits
total_min_node_countorphan.nodepool: the autoscaler’s pool-wide minimum, reported instead of min_node_count when the pool sets total limits
total_max_node_countorphan.nodepool: the autoscaler’s pool-wide maximum, reported instead of max_node_count when the pool sets total limits
autoprovisionedorphan.nodepool: true when node auto-provisioning created the pool (and deletes it once empty); omitted otherwise
nodepools_skippedsummary-line note: why —only=nodepools swept no pools although the provider answered (an Autopilot cluster: node pools are provider-managed and billed per pod)
classcloud.unavailable (reason=PermissionDenied, SweepFailed or RuleUnresolved): the —only class whose sweep the provider refused or failed (disks, lbs, addresses, nodepools), or that the unresolved rule belongs to (lbs); the other selected classes are still swept, and the summary’s unavailable= note lists each such class with its permission, “sweep failed”, or its count of unresolved rules
permissioncloud.unavailable (reason=PermissionDenied, or RuleUnresolved on a refusal): the provider permission the refused call needed (e.g. compute.addresses.list, container.clusters.get); omitted when the provider did not name it
usagecurrent usage in the quota’s own unit
limitthe quota limit
unitthe quota’s unit, when the provider names one
eventsstockout events for this zone/machine-type pair in the window
first_seenearliest event in the window (RFC3339)
last_seenlatest event in the window (RFC3339)
reroutesame-region zones active in the window with no stockout for this machine type, comma-separated; omitted when the window offers no clean candidate
packthe pack this finding belongs to; also the summary-line note naming the pack that ran
verbapiserver request verb for this series (apiserver pack)
priority_levelAPF priority level for this series (apf pack)
codethe HTTP status code the query matched (apf pack: 429)
observedthe worst (maximum) aligned value in the window, in the query’s unit — the breach basis
latestthe newest aligned value in the window
thresholdthe crossed threshold: the critical one when severity=critical, else the warning one
trendstartup pack: second-half vs first-half mean delta of the window, e.g. “+34%” — the p95 trend direction
likely_workloadon a Service-entry edge.selector_empty: the workload in that namespace whose pod labels best fit the broken selector, i.e. the one it was probably meant to select. Absent when two workloads fit equally well, because then naming one would be a guess
scaled_to_zeroon an info edge.selector_empty (reason BackendScaledToZero): the Deployments or StatefulSets the selector matches, as <Kind>/<name>, every one of them asking for zero replicas. The Service routes nowhere until one scales up, but nothing is misconfigured
volumepod volume, or StatefulSet volumeClaimTemplate, whose reference is broken
keythe referenced key that is missing from the ConfigMap/Secret
selectorthe Service label selector under scrutiny
selectedpods the Service selector currently selects
endpointstotal endpoints across the Service’s EndpointSlices
sliceshow many EndpointSlices back the Service
podpod named by an orphaned endpoint targetRef
sansTLS certificate subject alternative names (DNS, then IP, URI, email), comma-separated, the first 5 then +N more; omitted when the certificate has none
referenced_byon a certificate finding from the target-free TLS Secret sweep: what in the Secret’s namespace references it, as <Kind>/<name> — workloads by pod template, pods no workload owns, Ingresses by tls — the first 5 then +N more. none = no pod volume, projected volume, env, envFrom or Ingress tls names it (its consumer is outside the cluster, or a Gateway listener, which this pass does not read); unknown = a List those references come from was refused
viahow the broken reference is reached from the workload: mount, ingress, or imagePullSecret; absent on the TLS Secret sweep’s findings, which carry referenced_by instead
ingressIngress referencing the TLS secret, or the unserved Ingress itself
hostIngress rule host of the broken backend (empty for the default backend)
pathIngress rule path of the broken backend
role_refdangling roleRef as <Kind>/<name>

Output: one finding per line (logfmt; —format=json for one JSON object per line), keys in fixed order; healthy resources emit nothing. The final line is always the summary: scanned= findings= elapsed= — findings=0 with a summary present means “scanned and healthy”; a stream without a summary line is void. Exit 0 data, 1 runtime error (diagnostics on stderr only), 2 usage.

Terminal window
lookout scan
lookout scan --namespace=prod
lookout scan --include=audit --format=json
lookout scan --max-drilldown=0