15. CI/CD Integration#
FlareInspect integrates with CI/CD pipelines to gate deployments on security posture. The --ci flag produces machine-readable output and sets exit codes based on configurable thresholds.
15.4. Quick Start#
flareinspect assess --token $CLOUDFLARE_TOKEN --ci --threshold 80 --fail-on high
--ci— outputs JSON to stdout, disables spinners and banners--threshold 80— exits with code1if overall score is below 80--fail-on high— exits with code1if any finding at severity high or above is FAIL