You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| --strict-blocking | False | False | Fail on ANY security policy violations (blocking severity), not just new ones. Only works in diff mode. See [Strict Blocking Mode](#strict-blocking-mode) for details. |
225
226
| --enable-diff | False | False | Enable diff mode even when using --integration api (forces diff mode without SCM integration) |
226
227
| --scm | False | api | Source control management type |
227
228
| --timeout | False | | Timeout in seconds for API requests |
- `alert_types` (array, optional): Only send specific alert types
358
359
- `reachability_alerts_only` (boolean, default: false): Only send reachable vulnerabilities when using `--reach`
359
360
361
+
## Strict Blocking Mode
362
+
363
+
The `--strict-blocking` flag enforces a zero-tolerance security policy by failing builds when **ANY** security violations with blocking severity exist, not just new ones introduced in the current changes.
364
+
365
+
### Standard vs Strict Blocking Behavior
366
+
367
+
**Standard Behavior (Default)**:
368
+
- ✅ Passes if no NEW violations are introduced
369
+
- ❌ Fails only on NEW violations from your changes
0 commit comments