Skip to main content
The alert command group manages security and operational alerts generated by InfraAudit scans and monitoring rules. You can filter alerts by severity, type, and status, and acknowledge or resolve them from the CLI.

alert list

List alerts with optional filters. Synopsis:
Examples:

alert get

Show full details for a specific alert, including the affected resource, trigger condition, and recommended action: Synopsis:
Example:

alert summary

Show an aggregate count of alerts grouped by severity and status:

alert acknowledge

Acknowledge an alert to indicate that it has been seen and is under investigation. The alert remains open until resolved: Synopsis:
Example:

alert resolve

Mark an alert as resolved after addressing the underlying condition: Synopsis:
Example:
To receive alerts via Slack, email, or webhook without polling the CLI, configure notification channels with infraudit notification or webhooks with infraudit webhook.