
§03/KSPM
Kubernetes Security Posture Management
Kubernetes cluster security is not a deployment checkpoint — it is a continuous engineering discipline. We implement KSPM using KubeVigil (our open-source tool), Kyverno policy-as-code, and CIS benchmark alignment to produce audit evidence as a byproduct of operations, not as a scramble before the auditor arrives.
§01/POSTURE DRIFT
Why Kubernetes security degrades without discipline
A cluster that passes a security review on day one rarely maintains that posture without active management. Configuration drift accumulates through routine operations: a namespace created without a network policy, a pod deployed with a permissive security context because a developer needed to unblock a deploy, a cluster-admin binding added temporarily and never removed. Each individual deviation is small. The aggregate, over twelve months of normal cluster operations, is often severe.
CIS Kubernetes Benchmark assessments of clusters that have been in production for more than a year consistently reveal patterns: excessive RBAC permissions, privileged pod security contexts, missing resource limits, unscanned container images, and network policies that permit unrestricted east-west traffic. These are not misconfigurations from a single bad actor — they are the natural result of a development workflow that did not have security gates at the right points. KSPM is the discipline of placing those gates and keeping them in place.


≤ 4h
Evidence assembly time per control (representative target)
for clusters with GitOps + policy-as-code in place — vs. days of manual assembly for teams without automated evidence capture
§02/CONTINUOUS SCANNING
KubeVigil — open-source posture monitoring
KubeVigil is our open-source (Apache-2.0) Kubernetes Security Posture Management tool. It scans live clusters via the Kubernetes API or accepts YAML manifests for pre-deployment scanning, maps each finding to a remediation action, and outputs structured results that integrate with CI pipelines, monitoring dashboards, and AI assistants through an MCP server. It is free to use, fork, and extend — we maintain it as the reference implementation of our KSPM practice.
We use KubeVigil as the continuous posture baseline for every KSPM engagement. An initial scan produces the baseline finding set against the CIS Kubernetes Benchmark and a set of custom rules relevant to the client's environment. Findings are triaged by severity and exploitability — not all Critical findings are equally urgent, and not all Low findings are equally ignorable. The triage output drives the remediation roadmap.
In addition to scheduled scans, KubeVigil integrates with CI/CD pipelines to scan manifests before they are applied to the cluster — shifting the detection point left. A finding at admission time is cheaper to remediate than a finding in a production cluster carrying live traffic.
§03/POLICY-AS-CODE
Kyverno — admission control that enforces at deploy time
Kyverno is a Kubernetes-native policy engine that enforces security and operational constraints at admission time — before resources are created or updated in the cluster. Its policies are written as YAML (no Rego to learn), which means platform engineers can write and review policies without a dedicated policy language background.
We build a policy library covering the high-value enforcement points: image provenance (only images from approved registries, signed with Cosign); resource limits (CPU and memory requests/limits required on all pods); pod security context restrictions (no privileged containers, no hostPID, no hostNetwork unless explicitly exempted); and RBAC constraints (cluster-admin binding requires a manual approval gate). Policies are deployed in audit mode first — finding and logging violations without blocking — then promoted to enforcement after the finding count reaches zero. This sequencing avoids the failure mode of deploying enforcement policies that immediately break existing workloads.
§04/CIS BENCHMARKS
CIS Kubernetes Benchmark alignment and remediation mapping
The CIS Kubernetes Benchmark provides a structured, community-maintained control framework for Kubernetes security configuration. It covers the API server, etcd, kubelet, network policies, RBAC, pod security standards, and logging configuration. We use it as the primary remediation reference frame for KSPM engagements because it is widely understood by auditors, is maintained with each major Kubernetes version, and provides a defensible documented standard for compliance claims.
Each CIS finding from the baseline scan is mapped to a concrete remediation action: a configuration change, a Kyverno policy, a RBAC binding removal, or a documented exception with business justification. The remediation plan is prioritised by risk — exploitability and blast radius — not by finding count. A single Critical finding with a clear exploit path receives more attention than twenty Medium findings with limited impact. The output is a remediation roadmap with owner assignments, effort estimates, and target completion dates.
§05/AUDIT EVIDENCE
Security posture as continuous compliance evidence
The gap between what a compliance framework requires and what most Kubernetes operations teams can demonstrate at audit time is a documentation and process problem, not a security problem. A well-configured cluster with strong security posture generates compliance evidence through every operation — every GitOps commit is a change record, every Kyverno policy rejection is an enforcement event, every KubeVigil scan is a posture snapshot. The challenge is structuring that evidence so it can be presented to an auditor without requiring manual reconstruction under time pressure.
We deliver an evidence package that maps each applicable compliance control (SOC 2, HIPAA Security Rule, ISO 27001, DORA as relevant) to a concrete system artefact: a GitOps commit range, a Kyverno policy, a KubeVigil scan result, a Kubernetes audit log entry. For organisations with recurring audit cycles, we design the evidence collection to be automated — each audit cycle draws from the same continuous data sources. This is the EVIDENCE-BY-DEFAULT pillar expressed operationally: compliance evidence as a byproduct of operations, not a pre-audit scramble.
Deliverables
KubeVigil deployment and baseline scan
Open-source KSPM tool deployed to your cluster with a full baseline CIS Kubernetes Benchmark scan, triage report, and finding severity classification.
Kyverno policy library
Admission control policies for image provenance, resource limits, pod security context, RBAC constraints — deployed in audit mode then promoted to enforcement after zero-finding validation.
CIS Kubernetes Benchmark report
Scored benchmark assessment with per-control finding details, remediation mapping, effort estimates, and a prioritised remediation roadmap.
Admission webhook configuration
Kyverno ClusterPolicy and Policy configurations (validation and mutation rules), tested against your workloads in audit mode before enforcement promotion — with native ValidatingAdmissionPolicy generation where the cluster version supports it.
Compliance evidence package
Control-to-artefact mapping for your applicable framework (SOC 2 / HIPAA / ISO 27001 / DORA) with pointers to GitOps history, policy findings, and scan results.
Continuous monitoring runbook
Scheduled scan configuration, alert routing for Critical findings, periodic review cadence, and exception management process for policy exemptions.
Stack
Trade-off
Policy enforcement strictness vs. deployment velocity — and why the trade-off is smaller than it appears
The standard objection to admission control policies is that they slow deployments: a policy violation blocks a deploy, and if the policy is poorly scoped, it creates friction for valid workloads. This is true of policies deployed without a structured adoption process — enforcement-first policies in a cluster with existing violations cause immediate production disruption. It is not true of a policy adoption process that starts in audit mode, finds and remediates existing violations, and only promotes to enforcement when the finding count reaches zero. The second objection is that restrictive policies block legitimate operational needs — a debug container needs hostPID, a network monitoring agent needs hostNetwork. These are handled through structured exemption workflows: a documented, reviewed exception with a defined scope and an expiry date, tracked as a git commit. An auditor reviewing the cluster's posture can see both the policies that enforce and the exceptions that exist, and trace each exception to its approval record.
Architecture
Kubernetes Security Posture Management — reference architecture
§06/FAQ
Questions, answered plainly.
The questions we hear most from CTOs, engineering directors, and founders considering a sovereignty engagement.
What is KSPM, and how does it differ from a one-time security audit?
Kubernetes Security Posture Management is the continuous discipline of measuring, enforcing, and reporting on the security configuration of a Kubernetes cluster. A one-time security audit produces a point-in-time finding set; KSPM produces a continuous measurement that detects drift as it occurs. In a cluster under active development, new workloads and configuration changes create new findings continuously — a point-in-time audit is out of date within weeks. KSPM addresses this by making posture measurement an ongoing operational function, not a periodic review event.
How does KubeVigil differ from commercial KSPM platforms?
KubeVigil is open-source (Apache-2.0) — the source code is inspectable, the findings logic is auditable, and there is no vendor lock-in or per-node pricing. Commercial KSPM platforms offer broader feature sets — cloud account scanning, image registry scanning, compliance dashboard visualisation — at per-node price points that scale with cluster size. For teams whose KSPM requirement is Kubernetes security posture and policy-as-code, KubeVigil covers the core use case. We use commercial tools where the scope requires it; we do not recommend them where they do not add value over the open-source alternative.
Which compliance frameworks does KSPM address?
Kubernetes security posture directly satisfies controls from SOC 2 Type II (System and Availability Criteria, Change Management), HIPAA Security Rule (Technical Safeguards, Audit Controls, Access Control), ISO 27001 (A.12 Operations Security, A.14 System Acquisition), and DORA Title II (ICT risk-management framework — ICT security, vulnerability management, and incident detection). We map each applicable control to the specific system artefact that satisfies it — a Kyverno policy, a KubeVigil scan result, a Kubernetes audit log entry — so the evidence is structured for the auditor, not just asserted.
How do Kyverno policies affect our CI/CD pipeline?
Kyverno policies deployed as admission webhooks run at apply time — when a manifest is submitted to the Kubernetes API server. In practice, the developer experience is similar to a failing test: the violation message identifies the specific policy and the specific field that failed, the fix is usually straightforward, and the enforcement gate prevents the issue from reaching production. We integrate KubeVigil scanning earlier — at the CI stage — so manifest violations are caught before they reach the cluster admission webhook, giving teams faster feedback.
What does a policy exemption look like in practice?
An exemption is a documented policy exception: the specific workload, the specific policy it exempts from, the business justification, the approver, and an expiry date. Kyverno supports exemptions through policy exceptions with a defined scope — the exception applies only to the named workload, not to the policy broadly. Every exemption is a git commit — reviewable, auditable, and time-bounded. An auditor can see both the policies that enforce and the exceptions that exist, and trace each exception to its approval record. This is preferable to an absent policy because it makes the privilege explicit.
How frequently should KSPM scans run?
KubeVigil supports both scheduled scans and CI-triggered scanning on manifest changes. We configure scheduled scans at a minimum daily cadence — sufficient to detect configuration drift introduced by direct API calls, manual kubectl operations, or cluster upgrades that change default configurations. For clusters with active development, we supplement daily scheduled scans with CI-triggered scanning on every merged PR that modifies Kubernetes manifests. Critical findings generate immediate alerts; non-critical findings accumulate in the weekly posture report. The full scanning cadence is documented in the continuous monitoring runbook we deliver as a final engagement deliverable.
§00/The Five Pillars
Sovereignty
OWN-THE-PERIMETER
Engineering teams owning the full stack they depend on — no invisible landlords, no rented foundations.
Open source as method
OSS-AS-DISCIPLINE
Open source is a discipline of review, contribution, and independence — not a license type to tick on an audit form.
Audit-grade rigor
EVIDENCE-BY-DEFAULT
Security and compliance aren't retrofit — they are the bar that makes self-hosting safe in regulated, serious environments.
Optionality
EXIT-RAMPS-DESIGNED-IN
Anti-lock-in by architecture: every layer has a documented exit ramp so no vendor can hold you hostage.
The long game
BUILT-FOR-DECADES
Systems proportioned to outlast the tools, vendors, and leadership changes that will come in the decade after delivery.
Executive Briefing
Thirty minutes to clarify your infrastructure risk
Walk us through your vendor footprint and regulatory constraints. We will tell you honestly where sovereignty creates leverage — and where it does not. No pitch deck. No obligation.