Skip to content

av alerts ack

Acknowledge an alert, optionally recording a free-text note (e.g. a ticket reference).

Terminal window
av alerts ack <alertId> [flags]

av alerts ack marks an alert as acknowledged and prints a confirmation. Pass --note to record a free-text note with the acknowledgement - a ticket reference, a one-line rationale, whatever your team uses for an audit trail.

Acknowledging does not hide or resolve the alert: it still appears in av alerts output with yes in the ACK column, and av alerts get shows Acknowledged yes. Use the list command’s --acknowledged / --acknowledged=false filters to separate triaged alerts from the ones still waiting on a decision.

Unlike the other alert commands, ack takes no --project flag - the alert id alone identifies the alert.

Flag Default Description
--note - Optional free-text note recorded with the acknowledgement

Acknowledge an alert:

Terminal window
av alerts ack 01a3f8c2-7b4d-4f6a-9c0d-2e5b8a1f3c7d
Acknowledged alert 01a3f8c2-7b4d-4f6a-9c0d-2e5b8a1f3c7d

Record a ticket reference with the acknowledgement:

Terminal window
av alerts ack 01a3f8c2-7b4d-4f6a-9c0d-2e5b8a1f3c7d --note "SEC-142: fix scheduled for next sprint"

Confirm what has been triaged - list only the acknowledged alerts:

Terminal window
av alerts --project 7f3d2a91-4c8e-4b0a-9f6d-1e5a8c2b7d43 --acknowledged
Code Meaning
0 Alert acknowledged
1 Error - not logged in, or the API rejected the request
  • av alerts - list a project’s alerts with the RED/YELLOW/GREEN summary
  • av alerts get - full detail for a single alert