Shows the individual file alerts detected by a specific scan. Each alert includes the file path, whether it is new, modified, or suspicious, its threat score, and whether it has been acknowledged (marked as safe).
wp admintools scan alerts <scan-id> [--format=<format>] [--status=<status>] [--search=<search>] [--limit=<limit>]
scan-idThe ID of the scan to show alerts for (required).
--formatOutput format: table (default), json, csv, yaml, or count.
--statusFilter alerts by status: new, modified, or suspicious.
--searchFilter alerts by file path (partial match).
--limitLimit the number of results returned. Default: all results.
List all alerts for scan #1:
wp admintools scan alerts 1
List only suspicious alerts:
wp admintools scan alerts 1 --status=suspicious
Search for alerts in wp-content:
wp admintools scan alerts 1 --search=wp-content
Count all alerts for a scan:
wp admintools scan alerts 1 --format=count
admintools_scanalert_id path filestatus threat_score acknowledged1 wp-content/plugins/bad/shell.php 0-suspicious 85 02 wp-content/themes/test/footer.php 2-modified 0 03 wp-content/uploads/new.php 1-new 0 0