lookout audit all
Run every posture detector in one pass over a shared cluster snapshot: workload availability and rollout safety (audit workloads), container and Pod Security hardening (audit hardening), RBAC over-permission (audit rbac), NetworkPolicy coverage (audit netpol), namespace onboarding and quota hygiene (audit namespaces), provider cluster configuration (audit cluster), upgrade readiness (audit upgrades), ComputeClass and zone placement (audit computeclass), and AI workload exposure (audit ai), plus exemption hygiene (audit exemptions) when —exemptions is given. Shared Kubernetes resources are listed at most once across all detectors; each finding carries check=<subcommand>. Scope with —namespace or -A.
MCP tool: k8s_audit_all (MCP profile: audit)
lookout audit all [flags]| Flag | Type | Default | Meaning |
|---|---|---|---|
--skip-system-namespaces | bool | — | skip system namespaces matching the active posture policy’s system_namespaces patterns |
--per-workload | bool | — | emit one finding per affected workload instead of one summary finding per holder object |
--policy | string | — | path to a YAML posture policy file |
--profile | string | — | built-in posture profile: default|strict|onboarding|gke-autopilot |
--only | string | — | comma-separated check kind or kind/reason globs to run exclusively |
--skip | string | — | comma-separated check kind or kind/reason globs to skip |
--min-severity | string | — | minimum finding severity to emit: info|warning|critical |
--set | string | — | comma-separated check parameter overrides (<kind>.<param>=<val>) |
Common flags (every lookout command)
Section titled “Common flags (every lookout command)”| Flag | Type | Default | Meaning |
|---|---|---|---|
--namespace | string | — | limit the scan to one namespace |
-A | bool | — | scan all namespaces |
--workload | string | — | target one workload as <Kind>/<namespace>/<name>, e.g. Deployment/prod/api |
--since | duration | — | how far back to look (0 = command default) |
--format | string | logfmt | output format: logfmt|json (one record per line either way) |
--timeout | duration | 1m0s | abort the invocation after this long (exit 1) |
--kubeconfig | string | — | path to a kubeconfig file, instead of $KUBECONFIG / ~/.kube/config |
--kubeconfig-dir | string | — | 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> |
--context | string | — | 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 |
--contexts | string | — | 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> |
--concurrency | int | 4 | maximum concurrent cluster executions when fanning out with —contexts or —kubeconfig-dir |
--google-auth | string | — | 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) |
--exemptions | string | — | 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 |
Finding kinds
Section titled “Finding kinds”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.
| Kind | Severity | Claim |
|---|---|---|
scan.check_skipped | info | a stage declined this invocation because a zero-argument scan cannot supply something it needs — the coverage claim is smaller than it looks |
scan.check_failed | warning | a 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 |
audit.no_pdb | warning | the workload has no PodDisruptionBudget: a drain can take every replica at once |
audit.pdb_posture | warning | a PodDisruptionBudget overlaps another PDB on the same workload or allows zero disruptions by spec, permanently blocking voluntary node drains |
audit.single_replica | warning | the workload runs a single replica, so any disruption is an outage |
audit.no_readiness_probe | warning | a container has no readiness probe, so traffic reaches it before it can serve |
audit.no_liveness_probe | info | a container has no liveness probe, so a wedged process is never restarted |
audit.no_startup_probe | warning, info | a 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_requests | warning | a 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_limits | warning, info | a 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_spread | info | the workload’s replicas are not spread across nodes or zones |
audit.rigid_scheduling | warning, info | placement constraints pin the workload to too few nodes to survive losing one |
audit.hpa_cannot_scale | warning, info | the 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_cronjob | warning | a 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_risk | warning, info | a 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_failing | warning | an active CronJob has scheduled runs, none are currently running, and status.lastSuccessfulTime is nil — it has never succeeded |
audit.suspended_job | info | a 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_readiness | warning, info | liveness 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_traffic | warning | a 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_strategy | warning | a 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 |
read.unavailable | info | a 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 |
audit.privileged_container | warning | a container runs privileged or holds a node-root capability (ALL, SYS_ADMIN): a container escape is a node compromise |
audit.host_namespace | warning | the pod shares the node’s network, PID, or IPC namespace |
audit.hostpath_mount | warning, info | the pod mounts a host path; warning when it is writable, info when read-only |
audit.default_sa_automount | warning | the pod runs as the namespace’s default ServiceAccount with its token automounted, and something in the pod can use it |
audit.sa_token_automount | info | the pod runs as a non-default ServiceAccount with its token automounted, but no RoleBinding or ClusterRoleBinding binds that ServiceAccount |
audit.container_security_gaps | warning, info | a non-privileged container runs as UID 0, leaves runAsNonRoot unset, permits privilege escalation, or has no RuntimeDefault/Localhost seccomp profile |
audit.writable_rootfs | info | a container does not set readOnlyRootFilesystem: true, so the root filesystem is writable at runtime |
audit.capabilities_added | warning, info | a container adds Linux capabilities below node-root (NET_ADMIN, NET_RAW, SYS_PTRACE, …) or does not drop ALL default capabilities |
audit.podsecurity_gaps | warning | the namespace enforces no Pod Security Admission level, so none of the above is prevented |
audit.image_floating_tag | info | a 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.cluster_admin_binding | warning, info | the 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_rbac | warning, info | the 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_grant | warning, info | the binding grants pods/exec, pods/attach, or pods/portforward to its subjects; warning for exec or attach, info for portforward |
audit.impersonate_escalate_grant | warning | the binding grants impersonate on identities or bind/escalate on RBAC roles to its subjects |
audit.netpol_missing | warning, info | nothing 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_nothing | warning | this 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_all | warning, info | this 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.no_resource_quota | warning, info | workload-bearing namespace has no ResourceQuota or a ResourceQuota is >= 90% of hard limit |
audit.no_limit_range | info | workload-bearing namespace has no LimitRange while containers omit resource requests/limits |
audit.namespace_onboarding_gaps | warning, info | workload-bearing namespace is missing required onboarding labels |
audit.workload_identity_off | warning | Workload Identity is off cluster-wide, or a node pool bypasses it — pods authenticate to the cloud as the node |
audit.legacy_metadata | warning | a node pool still serves the pre-v1 instance-metadata endpoints, which any pod can read |
audit.public_control_plane | warning, info | the control-plane endpoint is reachable from the internet; info when authorized networks narrow it |
audit.nodepool_cannot_grow | warning | a 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_posture | warning, info | cluster-level security posture gap: Shielded Nodes disabled, Binary Authorization disabled, application-layer etcd secrets encryption disabled, or legacy ABAC enabled |
audit.cluster_network_posture | warning, info | cluster-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_off | warning, info | cluster-level observability disabled: Cloud Logging, Cloud Monitoring, or Managed Service for Prometheus is turned off |
audit.cluster_backup_off | info | Backup for GKE addon is disabled on the cluster |
cloud.unavailable | info | the cloud capability this check needs is unavailable, so nothing was examined — an explicit degradation record, never silence |
audit.version_behind | critical, warning, info | the 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_unmanaged | warning | nothing will close that gap on its own: no release channel, or node auto-upgrade/auto-repair off |
audit.upgrade_blocked | critical, warning, info | an 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_use | critical, warning | a cluster resource was last applied with a Kubernetes API version that is deprecated or removed in the target minor release |
audit.upgrade_unattended | info | upgrades will happen with nobody watching: no maintenance window, or no upgrade notifications |
audit.compute_class_posture | warning, info | a 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_nodepool | warning, info | a 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.ai_workload_exposure | warning, info | an 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.exemption_expired | warning | an exemption entry has lapsed: the findings it used to annotate are being reported unqualified again |
audit.exemption_expiring | info | an exemption entry lapses within —within — renew it or let it go deliberately |
Output fields
Section titled “Output fields”Beyond the shared envelope fields (kind, severity, namespace, kind_of_object, name, reason, message, fingerprint, exempt_reason, exempt_expires):
| Field | Meaning |
|---|---|
check | which registered command produced this finding — also the command to run for the full detail behind it |
checks | summary-line note: how many checks this scan actually ran |
replicas | the replica count the claim judged: the workload’s spec.replicas (nil defaults to 1, matching the API server), or the targeting HPA’s minReplicas when autoscaler is present; absent on DaemonSets, whose replica count is the node count |
autoscaler | the HorizontalPodAutoscaler targeting the workload, when one does: replicas is then its minReplicas, the floor it lets the workload fall to, because spec.replicas is its current answer and would make the claim come and go with load |
namespace_pdbs | PodDisruptionBudgets 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_pdb | other PodDisruptionBudgets in the same namespace selecting the same workload |
workload | workload(s) selected by the PodDisruptionBudget, as Kind/name |
containers | containers implicated by the finding: those missing the probe, or missing the request the autoscaler’s utilization target divides by |
container_names | their names, capped at 8 with a +N more tail |
total_containers | containers in the pod template, so containers reads as a fraction |
container | the container implicated by a per-container probe or lifecycle finding |
liveness_window | the liveness probe’s effective deadline (initialDelaySeconds + failureThreshold * periodSeconds) |
period_seconds | the probe’s periodSeconds (default 10) |
failure_threshold | the probe’s failureThreshold (default 3) |
initial_delay_seconds | the probe’s initialDelaySeconds |
prestop_sleep_seconds | seconds parsed from the container’s preStop sleep hook |
termination_grace_period_seconds | the pod template’s terminationGracePeriodSeconds (default 30) |
min_replicas | the HPA’s spec.minReplicas (nil defaults to 1, matching the API server) |
max_replicas | the HPA’s spec.maxReplicas |
metric | the utilization metric the HPA cannot compute, comma-separated if more than one |
scale_target | the HPA’s scaleTargetRef as Kind/name |
eligible_nodes | nodes satisfying the workload’s REQUIRED placement constraint; an upper bound, since taints and cordons are not subtracted |
cluster_nodes | nodes in the cluster, so eligible_nodes reads as a fraction |
constraint | the label and field keys that narrow placement, sorted and capped at 8 |
schedule | the CronJob’s spec.schedule |
concurrency_policy | the CronJob’s effective spec.concurrencyPolicy (default Allow) |
active_deadline_seconds | the CronJob jobTemplate’s spec.activeDeadlineSeconds, when set |
starting_deadline_seconds | the CronJob’s spec.startingDeadlineSeconds |
last_schedule_time | the CronJob’s status.lastScheduleTime, RFC 3339 |
time_zone | the CronJob’s spec.timeZone, when set |
suspended_for | how long spec.suspend has been true, rounded to whole days |
suspended_since | when the suspension is estimated to have started, RFC 3339 |
anchor | the evidence that estimate came from: condition (a Job’s Suspended condition), managed_field (the managedFields entry owning spec.suspend), last_schedule (CronJobs only), or creation |
missed_runs | activations skipped since then; ≥N when the walk was capped, unknown when the schedule does not parse |
services | Services routing to the workload whose ports are not all scrape endpoints — the count that makes it “serving” for the rollout claims |
service_names | their names, capped at 8 with a +N more tail |
termination_grace | the pod template’s terminationGracePeriodSeconds (the API default of 30s when unset), the ceiling any preStop hook would run inside |
strategy | the Deployment strategy setting that permits zero surviving pods: strategy.type=Recreate, or rollingUpdate.maxUnavailable=<value> |
pdbs | summary note: PodDisruptionBudgets seen in scope |
hpas | summary note: HorizontalPodAutoscalers seen in scope |
nodes | summary note: nodes in the cluster — the denominator every placement claim is resolved against; omitted when the node List was refused (a read.unavailable record says so, and no placement claim is made) |
workloads | summary note: workloads examined, broken down as deployments/statefulsets/daemonsets/cronjobs |
jobs | summary note: Jobs examined for the suspension claim; they count toward scanned but not toward workloads |
skipped_system_namespaces | summary note: distinct system namespaces skipped under --skip-system-namespaces |
resource | read.unavailable: the resource that could not be read, as resource[.group] |
capabilities | the node-root capabilities added by those containers (ALL, SYS_ADMIN), sorted and deduplicated |
host_paths | hostPath volumes the template mounts; a declared but unmounted hostPath volume grants no access and is not counted |
host_path_names | the paths on the node, sorted and capped at 8 |
service_account | the ServiceAccount the finding is about — always default, the one every pod gets when its template names none |
mounting_workloads | workloads in the namespace running as the default ServiceAccount without disabling automount at the pod level; the finding does not fire at 0 |
mounting_workload_names | their Kind/name, sorted and capped at 8 |
pss_enforce | the namespace’s pod-security.kubernetes.io/enforce label, omitted when unset |
pss_warn | its /warn label, omitted when unset — set without /enforce means the namespace is in dry-run |
pss_audit | its /audit label, omitted when unset — same dry-run meaning |
workload_names | their Kind/name, sorted and capped at 8 |
namespaces | summary note: namespaces examined — the denominator for every namespace-subject claim, which scanned (pod templates) does not cover |
role | the role the binding points at, as Kind/name |
subjects | subjects the binding grants the role to |
subject_names | those subjects as Kind:name (ServiceAccounts as ServiceAccount:namespace/name), sorted and capped at 8 |
rules | rules in the role, aggregated or not |
wildcard_rules | rules in the role that use * for verbs or resources |
verbs | the verbs of the broadest wildcard rule, comma-joined |
resources | the resources of the broadest wildcard rule, comma-joined |
api_groups | the apiGroups of the broadest wildcard rule, comma-joined, with the core group written as core |
bindings | RoleBindings and ClusterRoleBindings pointing at the role; 0 means it grants nothing today |
platform_managed | summary note: bindings and roles left out because the platform reconciles them (kubernetes.io/bootstrapping=rbac-defaults, or addonmanager.kubernetes.io/mode=Reconcile) |
aggregated_roles | summary 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 |
policies | NetworkPolicies 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_policies | NetworkPolicies in the namespace in either direction, so an egress-only namespace does not read as an empty one |
host_network_workloads | pod templates excluded because they use the node’s network namespace, where NetworkPolicy does not apply; omitted at 0 |
covered_workloads | pod templates in the namespace that ARE selected for this direction — the neighbours the subject fell out of step with |
pod_labels | the template’s own labels, which are what the policies’ selectors failed to match, sorted and capped at 8 |
pod_selector | the dead or allow-all policy’s podSelector, in label-selector syntax |
direction | the direction the permissive rule opens (ingress or egress) |
policy_types | the directions the dead policy names, after defaulting an unset policyTypes |
quota | name of the ResourceQuota at or above 90% of its hard limit |
used | current ResourceQuota status.used quantity for the resource |
hard | configured ResourceQuota status.hard quantity for the resource |
pct | integer percentage of status.used relative to status.hard |
missing_labels | comma-separated required onboarding labels missing from the Namespace |
cluster | on a node-pool finding: the cluster the pool belongs to, so the record stands alone |
workload_pool | the cluster-wide workload identity pool that this node pool’s pods bypass |
metadata_mode | how the node pool exposes instance metadata to pods: node-identity means any pod can mint tokens for the node’s service account |
disable_legacy_endpoints | the 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_pools | summary note: node pools examined — the cluster itself is the other unit scanned counts |
endpoint | the control plane’s internet-facing address |
authorized_networks | how many source ranges the allow-list permits |
authorized_network_cidrs | those ranges, sorted as the provider returned them and capped at 8 with a +N more tail |
gcp_public_cidrs | whether the provider’s own public ranges are admitted in addition to the allow-list |
capability | cloud.unavailable: the provider capability this command needed (cluster-config) |
provider | cloud.unavailable: the provider that was asked |
unavailable | summary-line note: why the cloud read could not be served |
version | the current version of the finding’s subject — the control plane’s, or the node pool’s |
target_version | the 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_version | on a node-pool skew finding: the control-plane version the pool is measured against |
minor_versions_behind | how many minor releases separate the two versions |
channel | the 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_type | the provider’s name for the node image the pool runs |
exclusion | the operator’s name for the maintenance exclusion currently in force |
scope | how much of the upgrade stream that exclusion holds back: all-upgrades, minor-upgrades or minor-and-node-upgrades |
ends | when the exclusion lifts, or end-of-support for one that runs until the cluster’s version leaves support |
days_remaining | how much longer the exclusion has left to run |
api_version | on a deprecated-API finding: the deprecated or removed group/version in use |
removed_in | on a deprecated-API finding: the Kubernetes major.minor release that removes the API |
replacement | on a deprecated-API finding: the successor group/version to migrate to |
webhook | on a webhook upgrade-blocker finding: the individual webhook entry within the configuration |
webhook_group | on a webhook upgrade-blocker finding: the upgrade-critical operation group intercepted (drain-eviction, pod-creation, node-lease, kubelet-csr, csi-storage, control-plane-rbac) |
service | on a webhook upgrade-blocker finding: the namespace/name of the backing Service |
timeout_seconds | on a webhook timeout finding: the configured webhook timeout in seconds, or default(10) when unset |
min_available | on a PDB upgrade-blocker finding: the configured minAvailable threshold |
max_unavailable | on a PDB upgrade-blocker finding: the configured maxUnavailable threshold |
disruptions_allowed | on a PDB upgrade-blocker finding: the live disruptionsAllowed count |
compute_class | the cloud.google.com/compute-class name requested by the workload template |
accelerator | the accelerator type (cloud.google.com/gke-accelerator) or extended resource (nvidia.com/gpu, google.com/tpu) requested by the workload template |
zone | the availability zone (topology.kubernetes.io/zone) the workload or single-zone node pool is pinned to |
accelerator_zones | zones in the cluster that actually host nodes with the requested accelerator, capped at 8 |
spot_selector | the nodeSelector or affinity expression pinning the workload directly to Spot nodes |
nodepool | the cloud.google.com/gke-nodepool name for a single-zone node pool |
cluster_zones | distinct availability zones across all nodes in the cluster, capped at 8 |
affected_workloads | workloads with zone topologySpreadConstraints pinned to the single-zone node pool |
affected_workload_names | their Kind/namespace/name, sorted and capped at 8 |
compute_classes | summary note: ComputeClass custom resources listed in the cluster, when the CRD is served |
ports | Service port(s) exposed without an ingress NetworkPolicy (ServingPortClusterWideNoNetPol) |
volumes | comma-separated name:path pairs (capped at 8) of hostPath volumes mounted by the AI workload (SharedModelCacheHostPath) |
ai_workloads | summary-line note: count of AI/inference workload templates identified in the scan scope |
exempt_kind | the finding kind the entry covers — this is the entry’s kind: field, not this finding’s own kind |
subject | the entry’s match scope as written: <kind>, <kind> in <ns>, or <kind> on <ns>/<name> |
expires | when the entry stops applying, RFC 3339 (a bare YYYY-MM-DD in the file resolves to 00:00:00Z that day) |
expired_for | how long ago the entry lapsed, rounded to whole days — only on audit.exemption_expired |
expires_in | how long until the entry lapses, rounded to whole days — only on audit.exemption_expiring |
owner | the 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 |
justification | the 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 |
Output contract
Section titled “Output contract”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=
Examples
Section titled “Examples”lookout audit all -Alookout audit all --namespace=prodlookout audit all -A --exemptions=exemptions.yaml --format=json