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
The `url_configs` object allows per-webhook filtering:
315
+
**Configuration Options:**
254
316
317
+
Webhook mode (`url_configs`):
255
318
- `reachability_alerts_only` (boolean, default: false): When `--reach` is enabled, only send blocking alerts (error=true) from diff scans
256
-
- `always_send_reachability` (boolean, default: true): Send reachability alerts even on non-diff scans when `--reach` is enabled. Set to false to only send reachability alerts when there are diff alerts.
257
319
- `repos` (array): Only send alerts for specific repositories (e.g., `["owner/repo1", "owner/repo2"]`)
258
320
- `alert_types` (array): Only send specific alert types (e.g., `["malware", "typosquat"]`)
259
321
- `severities` (array): Only send alerts with specific severities (e.g., `["high", "critical"]`)
260
322
323
+
Bot mode (`bot_configs` array items):
324
+
- `name` (string, required): Friendly name for this configuration
325
+
- `channels` (array, required): Channel names (without #) where alerts will be posted
326
+
- `severities` (array, optional): Only send alerts with specific severities (e.g., `["high", "critical"]`)
327
+
- `repos` (array, optional): Only send alerts for specific repositories
328
+
- `alert_types` (array, optional): Only send specific alert types
329
+
- `reachability_alerts_only` (boolean, default: false): Only send reachable vulnerabilities when using `--reach`
330
+
261
331
## Automatic Git Detection
262
332
263
333
The CLI now automatically detects repository information from your git environment, significantly simplifying usage in CI/CD pipelines:
0 commit comments