OPA policy for environments
complete
O
Overall Wren
Hi Team,
We have a requirement to restrict the creation of environments unless the name is one of the following: Dev, DIT, Prod, Perf, or Stage. We attempted to enforce this using OPA policies, but we found that there is no "Environments" entity in the available policy set entity types.
Please enable this feature.
Thanks,
Nithish.
a
abhijit.pujare
updated the status to
complete
a
abhijit.pujare
As documented here: https://developer.harness.io/docs/platform/governance/policy-as-code/policy-as-code-for-environments you can write rego policies for environments and use those policies to enforce a naming convention.
Rohan Gupta
updated the status to
pending feedback
Rohan Gupta
We do support opa policies on environment
Photo Viewer
View photos in a modal