Harness Policy As Code overview
Harness uses Open Policy Agent (OPA) to store and enforce policies for the Harness platform.
Enable or disable a policy set
Disable a Policy Set by locating the Policy Set and toggling the Enforced setting to off.
Use Harness Policy as Code for secrets
Add a Policy step to your Secret.
Use Harness Policy As Code for connectors
Describes steps to add policies to Connectors.
Add a policy step to a pipeline
Add a Policy step to your Stage.
Policy samples
See sample policies and when to use them.
Use Harness Policy As Code for Feature Flags
This topic gives steps to create, update, and view policies and policy sets for Feature Flags.
Harness Policy As Code quickstart
Learn how to use OPA policies in Harness to enforce governance across your DevOps processes.
Use Harness Policy As Code to enforce policies on steps
Enforce policies on pipeline steps.
Configure Git Experience for OPA
Configure Git Experiemce for your policies.