Skip to main content
The score becomes useful the day it can say no. One API call before deploy returns the cluster’s current CSC score and a decision; fail the job on BLOCK and risky changes stop shipping.
Everything on this page uses the validate endpoint. You need an API key with CI scope — create one in Settings → API Keys.

GitHub Actions

GitLab CI

The same call as a job — add it as the last stage before your deploy job and make the deploy job depend on it:

ArgoCD PreSync Hook

Validate before every sync — the sync fails if the cluster isn’t safe to absorb it:

Any other CI

The gate is one curl — it runs anywhere a shell does. POST to /api/validate with your cluster and resource, read .decision and .csc_score from the response, and fail the job on BLOCK. See the validate reference for the full request schema.

What your team sees

A held deploy isn’t a mystery. The dashboard shows the score at the moment of the gate and the exact checks that drove it down — the failing CIS rule, the crash-looping pod, the deploy history that went badly. Fix the finding, re-run the job, ship.