# Policy as Code in 2026: OPA, Kyverno, Cedar and What's Next

DevFeed: [Policy as Code in 2026: OPA, Kyverno, Cedar and What's Next](<https://devfeed.tech/articles/policy-as-code-in-2026-opa-kyverno-cedar-and-what-s-next-26775.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/policy-as-code-in-2026-opa-kyverno-cedar-and-what-s-next>)

Author: Abhijit Pujare Eric Minick

Published: 2026-09-11T00:00:00Z

Content type: article

Language: en

Sources: [Harness Blog](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Open Policy Agent](<https://devfeed.tech/topics/open-policy-agent.md>), [rego](<https://devfeed.tech/topics/rego.md>), [Kyverno](<https://devfeed.tech/topics/kyverno.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [JSON](<https://devfeed.tech/topics/json.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [json](<https://devfeed.tech/tags/json.md>), [kyverno](<https://devfeed.tech/tags/kyverno.md>), [opa](<https://devfeed.tech/tags/opa.md>), [open-policy-agent](<https://devfeed.tech/tags/open-policy-agent.md>), [policies](<https://devfeed.tech/tags/policies.md>), [policy-as-code](<https://devfeed.tech/tags/policy-as-code.md>), [rego](<https://devfeed.tech/tags/rego.md>), [security](<https://devfeed.tech/tags/security.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

This article surveys the 2026 Policy as Code ecosystem, comparing general-purpose Open Policy Agent and Rego with specialized approaches such as Kyverno, Cedar, and agent-oriented governance. It discusses the shift toward automated, machine-readable governance, the separation of policy from business logic, and the challenges of authoring and maintaining Rego as schemas evolve.

## Source excerpt

| Blog