CI/CD
Visibility from Pipelines
By installing the Mindgard CLI as a check in your application’s CI/CD pipeline, the AI security test results will be refreshed every time your application changes. This means you will find out early in development if model configuration such as system prompt and temperature, or model, or application changes affect your risk posture. We recommend initially running and using Mindgard in an observational capacity, rather than blocking development activities until you have established a baseline.Gating Pipelines
Consider also using the Mindgard CLI as a gating check within your pipeline. A reason for gating is to be alerted and able to take remediation action as soon as a change results in a significant increase in flagged events. First run a test without gating, establish a baseline ratio of flagged events, and then configure the Mindgard integration to your pipeline to fail the check if the baseline ratio is exceeded. The —risk-threshold flag assists with this. Setting —risk-threshold 50 makes the Mindgard CLI yield a non-zero exit status code if any attack technique tested shows over 50% flagged events. You can see an example of using the CLI as a gating check in the mindgard-github-action-example github repo.

