In many teams, runtime security ends at the alert: the tool detects, the event joins a queue, and the fix depends on someone confirming the threat and preparing a change. Meanwhile, the same insecure configuration may already be running in other services. A CNCF blog post published on 30 Nov 2026 describes an architecture that tries to close that gap: the Falco alert becomes a Kyverno policy and a hardened manifest, delivered as a merge request for human review.
In this article: what the architecture in the source proposes, why the Git path matters, and a three-question checklist to assess your own environment.
The problem: the alert that never becomes a change
According to the post, CI/CD pipeline scanning catches known vulnerabilities before deployment but cannot see what happens inside a container once it is running. And in GitOps, every cluster change goes through Git, yet runtime security often stays outside that process. Fixing only the running pod also does not stop the same configuration from being deployed again with the next release.
The architecture described in the source
The post proposes a closed loop in which each piece has a role:
- Detection (Falco): runs on every node, watches system calls and the Kubernetes audit log, and sends each alert via webhook. Falco is a CNCF graduated project.
- Triage and proposal: an automation service enriches the alert with Kubernetes context (pod, owner, images, related alerts), assesses risk and confidence, and, for high-risk incidents, drafts a Kyverno policy and a hardened version of the workload manifest. In the post this service uses a language model; here it is an implementation detail of the architecture.
- Verification (Kyverno CLI): before anyone sees the proposal, the Kyverno CLI checks it against the live cluster. The policy must reject the workload as it runs today, accept the hardened version, and, in Deny mode, block no other workload.
- Delivery (GitOps): the mitigation is opened as a merge request with the policy, the manifest change, the incident timeline, the reasoning, known limitations, and verification results.
- Human review: a person reviews it, can request changes in comments, and merges; the pipeline deploys it like any other change.
- Enforcement (Kyverno): after deployment, Kyverno blocks (Deny) or reports (Audit) non-compliant workloads.
The principle summarized in the post: whoever proposes is not whoever verifies, and whoever verifies is not whoever decides. Deterministic code decides what is a suspicious event, whether it deserves analysis, and whether the fix works; the model assesses risk and drafts the fix; a person decides whether it goes to production.
Why go through Git
The source stresses that the agent's service account is read-only: every mitigation reaches Kubernetes through a merge request approved by a human and the same pipeline that deploys everything else. The reasons given:
- Single source of truth: the policy and hardened manifest live next to the rest of the configuration and apply to future releases. A change made directly with
kubectlis invisible in the repository and disappears on the next sync. - Familiar review: the proposal follows the same approval rules and branch protection as changes made by people.
- Easy rollback: if a policy turns out too strict, reverting the merge commit removes it.
- No write credentials: the agent only needs read access to the cluster and permission to open merge requests.
In the post's test environment, a GitLab CI job applies the manifests after the merge. The same merge request works with pull-based GitOps controllers such as Argo CD or Flux (both CNCF graduated projects), which pick up the commit and reconcile the cluster.
What the post's test showed (and what it does not)
The loop was tested on a three-node cluster with a deliberately vulnerable service running as root, with a writable filesystem and no securityContext. According to the post, Falco raised two alerts, the agent opened a merge request with a Deny-mode policy and a hardened manifest (non-root user, read-only root filesystem), the reviewer suggested a change that was incorporated and re-verified, and after the merge Kyverno rejected the vulnerable configuration.
The authors themselves note that the numbers come from a single scenario on a test cluster: they show what is possible, not a production average. The code flaw remains and must be fixed by developers; the hardening limits what an attacker can do with it. The post also states that full autonomy, with an agent applying fixes in production without human approval, is still premature, which is why the solution keeps a human in the loop. For real adoption, the post suggests tracking the triage false-positive rate and the share of merge requests accepted without changes.
Checklist for your environment
Even with no automation at all, the architecture yields three useful questions for tech leads, SREs, and platform engineers:
- Do you have runtime detection? Is something (such as Falco) watching system calls and the audit log on every node, with alerts routed to people who can act? CI scanning does not cover what happens after deployment.
- Are your policies versioned in Git? Do Kyverno policies (Audit or Deny) and hardened manifests live in the GitOps repository, or are they only applied by hand in the cluster?
- Is there human review before the fix reaches the cluster? Does every mitigation, from a person or from automation, go through a merge request, approval, and the same pipeline? Does whatever automates the proposal have read-only permissions?
If the answer to any of them is no, that is your starting point. A prudent path is to begin with Audit-mode policies, versioned and reviewed, and only then evaluate Deny mode while checking the impact on other workloads, as the post's own verification does.
Limits and caveats
- The post comes from a CNCF member and describes an architecture and a controlled test, not a guaranteed production outcome.
- Deny policies can block legitimate workloads if the scope is poorly defined; that is why prior verification and human review are part of the flow.
- Automating the proposal is optional: the core value is the path from alert to versioned policy, review, and GitOps deployment.
Sources
Kubernetes, Falco, Kyverno, Argo CD, and Flux are CNCF projects; Kubernetes and CNCF are trademarks of The Linux Foundation. All other trademarks belong to their respective owners. Use is nominative only and does not imply endorsement.



