get
get alerts
🚨 Retrieve an alert by its ID.
Usage​
csph alerts get [flags]
Aliases​
alerts get, alerts show, alert get, alert show
Options​
Command Specific​
Formatting​
For more information about formatting options, see Formatting.
Available Fields​
active, alert_type, created_at, effective_evaluation_period, email_delivery, environment_id, evaluation_period, id, object, project_alert_enabled, project_id, severity_level, status, threshold
Inherited​
Examples​
# start an interactive session to get an alert
> csph alert get
# get an alert by its ID
> csph alert get <alert-id>
# get an alert by its ID and account ID, output as JSON
> csph alert get <alert-id> --account <account-id> --output json
See also​
- csph alerts — manage alerts
- csph alerts list — list alerts
- csph alerts create — create alerts
- csph alerts update — update alerts
- csph alerts delete — delete alerts