Platform Engineering for Compliance: IDPs Enforce NIS2 and DORA
A mature platform automatically enforces NIS2, DORA, and AI Act requirements through Policy-as-Code and generates audit-ready configuration evidence.
An audit rarely fails an internal developer platform on the code. It fails on the evidence. When a NIS2 audit requires proof that every deployment documents encryption, region, and access, teams suddenly stop searching repositories and start looking at the platform. That’s where it’s decided whether compliance becomes a never-ending project or a configuration that every team adopts without noticing.
Key Takeaways
- The platform becomes the compliance lever: Encryption, tagging, permitted regions, and audit trails can be enforced in one place instead of forty separate repositories.
- Policy-as-Code replaces Excel checklists: OPA Gatekeeper and Kyverno automatically verify configurations against NIS2, DORA, and EU AI Act requirements before code reaches production.
- The platform team becomes audit-relevant: Whoever controls the guardrails controls the compliance posture. From 2026, auditors will ask there first, not in individual service teams.
Related:Platform Engineering is no longer just a DevEx project / Platform or Facade?
Why compliance now lands on the platform
What does Platform Engineering mean for compliance? It’s the discipline of shifting regulatory demands such as NIS2, DORA, or the EU AI Act from per-service checks to baked-in defaults on the internal developer platform. Encryption, logging, access rights, and region are no longer recommendations; they’re mandatory gates a deployment cannot bypass.
Three regulatory frameworks are converging right now. NIS2 massively expands the circle of obligated sectors and places risk management, logging, and incident reporting under board-level responsibility. DORA has been enforceable for the financial sector since January 2025 and demands not only its own resilience but oversight of critical third-party providers. The EU AI Act, effective from August 2026, adds documentation and proof-of-compliance duties for high-risk systems. Three obligations, three deadlines, three audit trails. Solving this per repository is no longer feasible.
Over the past twelve months, the internal platform has evolved from a comfort layer into the natural home for guardrails. Since every deployment now passes through it, it’s the single point where rules can be centrally enforced. That centrality is both advantage and burden.
This simultaneity is the decisive factor. A platform originally built as a developer comfort tool will, in 2026, meet an audit practice it wasn’t designed for. Retrofitting compliance onto a mature platform risks recreating the very silos the platform was meant to eliminate.
What the Platform Can Automatically Enforce
The practical lever is called Policy-as-Code. OPA Gatekeeper and Kyverno are the two dominant engines in the Kubernetes ecosystem. Both check resource definitions against declared rules before they enter the cluster. What is formulated as a policy automatically applies to everyone deploying via the platform.
A pragmatic rollout begins not with enforcement, but with visibility. Start with audit mode, then enforce. The experience of several platform teams in the DACH region: teams that deploy policies as blocking measures from day one face workarounds. Teams that run policies in warning mode for two to three weeks gather a real list of where reality deviates from the rule. That list is more valuable than any audit report.
What makes sense to enforce on a platform has, in practice, settled into a manageable list.
None of these four guardrails is technically complex. The hard part is organizational. A rule that blocks a team needs an escalation path, a documented exception, and a responsible person. Otherwise, every new policy spawns a shadow workflow that bypasses the platform exactly where it’s meant to take effect.
Where teams fail with compliance platforms
The most common mistakes aren’t in the policy engine, but in the operating model.
What fails
- Policies that go live in blocking mode without an audit phase, pushing teams into shadow pipelines
- Compliance rules that aren’t versioned anywhere, so auditors can’t say when they took effect
- A platform team without authority to grant or deny exceptions
- Guardrails that only cover Kubernetes while critical workloads run in managed services
What succeeds
- Phased model: audit mode, documented learning period, and gradual enforcement
- Policies in Git with clear versioning, change log, and rollback path
- Escalation path with a designated compliance owner who can grant time-bound exceptions
- Platform scope that extends beyond Kubernetes and reviews managed-service configurations
The difference between the two columns is rarely a tool. It’s a decision about responsibility. Introducing policy-as-code without clarifying who signs off on exceptions in a conflict case builds a technical layer without organizational cover.
Who ultimately becomes audit-relevant
Once the platform enforces rules an auditor wants to see, the platform team becomes part of the compliance organization. It must be able to answer which policies have been in effect since when, which exceptions were granted, which violations were detected, and how they were handled. That’s a different role from the service provider maintaining a developer experience.
This shift has two consequences. First, the platform team needs a line into the compliance and data-protection team that isn’t ad hoc but well-rehearsed. Second, a slice of board-level responsibility for NIS2 risk management and DORA resilience structurally lands on the shoulders that control the guardrails. That’s not a career penalty; it’s the honest recognition of what a mature platform actually does.
If you still treat the platform in 2026 as a comfort layer, you’re not just risking the next audit. You’re giving away the single biggest lever internal platforms have ever had: turning three overlapping EU regulations into one configuration instead of three separate projects.
Frequently Asked Questions
How does Platform Engineering for compliance differ from traditional GRC tooling?
GRC tools document rules. A compliance platform enforces them. The difference becomes clear during audits: GRC provides lists of what should apply. Policy-as-Code on the platform delivers logs of what actually happened and what was blocked in case of conflicts. Both layers complement each other but do not replace one another.
Which policy engine is best for getting started, OPA or Kyverno?
Both are well-established. Kyverno offers a gentler learning curve since policies are written in YAML and closely resemble Kubernetes manifests. OPA Gatekeeper is more powerful with Rego and better suited when cloud resources and external systems also need to be checked. Many platform teams combine both depending on the use case.
How can you prevent teams from deploying outside a strict platform?
Three measures help. First: an escalation path with a designated person who grants exceptions with deadlines and reasoning. Second: an audit mode before enforcement so teams understand the new rule before it blocks them. Third: telemetry on bypass attempts to expose shadow pipelines early.
Is a compliance platform alone sufficient for NIS2 compliance?
No. NIS2 requires risk management, incident reporting, and executive accountability. The platform covers the technical side and provides evidence. Processes, responsibilities, and reporting channels remain within the organization. The platform shifts compliance proof from manual collection to on-demand queries.
At what company size does a compliance platform become worthwhile?
The threshold is less about employee count and more about the number of productive workloads. Once multiple teams deploy in parallel and the same rules must apply to every service, the manual path becomes more expensive than a centralized platform. Two or three services may still work with a checklist, but twenty do not.

