notification command group (alias: notif) manages the notification channels InfraAudit uses to deliver alerts and scan results. You can enable or disable channels, check delivery history, and send test notifications.
notification list
List all configured notification channels and their current state:
notification create
Add a new notification channel.
Synopsis:
| Flag | Values | Description |
|---|---|---|
--type | slack, email | Notification channel type |
--config | JSON string | Channel-specific configuration |
notification update
Enable or disable an existing notification channel:
email, slack, webhook
notification delete
Remove a notification channel:
Synopsis:
notification history
Show the delivery history for all notification channels:
notification send
Send a test notification to verify that a channel is working:
For event-driven HTTP callbacks to external systems, use the
webhook command group instead.