We’re excited to announce Harness Policy as Code, powered by Open Policy Agent (OPA), a centralized policy management and rules service that empowers enterprises to centrally define and monitor policies that are enforced across all delivery pipelines and processes. Harness Policy as Code helps organizations create and enforce policies on deployments, infrastructure, and more, providing developer velocity without sacrificing compliance and standards.
Harness Policy as Code is based on OPA, an easy-to-use, extensible solution for creating and enforcing policies across the entire stack. OPA is an open source project accepted by the Cloud Native Computing Foundation (CNCF) with wide adoption across numerous software delivery use cases. Policies are written as declarative code, so they are easy to understand and modify—from simple to complex use cases.
Harness Policy as Code integrates with CI, CD, and Feature Flags enforcing automated approvals, denials, and other advanced pipeline functionality. Check out our technical documentation to learn more.
As DevOps is adopted within an enterprise, typically one team creates and maintains software delivery and processes. That team has full control and visibility, as they are the ‘creator’ of DevOps processes within the company. As more business units adopt DevOps within the company, that originating team’s manual processes can create a bottleneck, which hampers innovation by limiting team autonomy and slowing down software delivery.
In an effort to remove the bottleneck and increase velocity, companies can give development teams more autonomy by allowing them to drive their own DevOps processes. That decentralization of process control can lead to more risks for the company.
When governance is decentralized, development teams can miss quality checks or approvals, introduce vulnerabilities, or break compliance. Organizations need to balance autonomy and governance, so they can empower teams with the confidence that they are adhering to all compliance standards and security policies – all without slowing down innovation.
Compliance becomes even more critical in regulated industries, such as financial services and healthcare—not only with enterprise standards, but with third-party regulations, like SOC2, PCI, and FedRamp. It is imperative that all software delivery pipelines meet compliance standards with full auditability; otherwise, the organization is at risk of failed audits, heavy fines, and reputational damage.
Centralized management and governance of policies across DevOps processes allow enterprises to define standards for the entire organization while enforcing compliance with regulations. Policies enable individual teams to have autonomy over their processes with oversight and guardrails in place to prevent them from straying from standards, ensuring secure and compliant software delivery.
Harness Policy as Code is a centralized policy management and rules service that leverages OPA to meet compliance requirements across software delivery. HPE enables organizations to centrally define and monitor policies that are enforced across all delivery pipelines and processes.
Policy as Code features for writing and enforcing policies include:
With the release of Policy as Code, policies can now be enforced on CI and CD pipelines and Feature Flags.
Pipeline policies govern the requirements of delivery pipelines, and they can be automatically enforced when the pipeline is saved or triggered, or even in the middle of pipeline execution. Policies can enforce specific pipeline configuration, advanced access control use cases, runtime validation, and more. Here are some examples of what the Policy as Code can do:
Policies for Feature Flags are enforced when the flag is updated or toggled on/off, enabling policies for adhering to standards, flag process, and hygiene. This includes:
Policy as Code centralizes and standardizes policy management across software delivery, allowing engineering leaders to empower dev teams to own their tools and practices while ensuring that everyone is following company standards for compliance and security. With guardrails in place, security vulnerabilities won’t be introduced as development teams are writing their pipelines. Leaders can rest assured that compliance standards are being met, with full auditability of policies and failures, and they can find and report breaches as early as possible with shift-left governance.
Check out our platform governance page to learn more about how Harness' modern approach to software delivery governance empowers teams with stable processes that don’t slow down delivery, or request your personalized demo today.
Enjoyed reading this blog post or have questions or feedback?
Share your thoughts by creating a new topic in the Harness community forum.