DevGuard Policies API

Policies are the rules your software has to satisfy — no critical vulnerabilities in a release, a required attestation present, a license category disallowed. This API manages them.

Policies are defined once at organization level and then switched on per project. That split matters: creating a policy does not enforce it anywhere, and deleting one removes it everywhere. The project-level endpoints only enable or disable an existing organization policy for that project, which lets a stricter rule roll out gradually instead of breaking every pipeline at once.

Policy definitions themselves are written in CEL. The VEX CEL Reference documents the expression language and the fields available to it.


Have feedback? We want to hear from you!

Fields marked with * are required