14.2.List past scans

14.2.List past scans

Lists past scan results with summary statistics for each scan.

wp admintools scan list [--format=<format>] [--complete] [--limit=<limit>]
--format

Output format: table (default), json, csv, yaml, or count.

--complete

Only show completed scans (excludes failed and running scans).

--limit

Limit the number of results returned. Default: all results.

Examples

List all scans:

wp admintools scan list

List only completed scans as JSON:

wp admintools scan list --complete --format=json

Show the most recent 5 scans:

wp admintools scan list --limit=5

Sample output

id  scanstart            scanend              status    origin   totalfiles  files_new  files_modified  files_suspicious1   2026-02-10 12:00:00  2026-02-10 12:01:30  complete  cli      1250        0          3               1