Self-contained prshield-cli binaries for self-hosted PRShield deployments and GitLab CI integrations.
prshield-cli reads GitLab CI environment variables (or a saved merge-request webhook payload), normalizes them into a PRShield ReviewRequest, and posts it to the PRShield Integration Gateway. It returns the workflow result (verdict / confidence / triggered policies) and exits with a code that matches the configured --fail-on policy.
Used for:
- GitLab CI pipelines without webhook delivery from GitLab to PRShield.
- Self-hosted GitHub Enterprise deployments where the PRShield GitHub App can't be installed.
- Local replay / debugging of saved webhook payloads.
See the source repository.