Skip to main content

runtime scan-logs

runtime scan-logs query

Query scan logs

airs runtime scan-logs query [options]

Options

FlagRequiredDefaultDescription
--interval <n>YesTime interval
--unit <unit>YesTime unit (hours)
--filter <filter>NoallFilter: all, benign, threat
--limit <n>No50Max results per page (API page size)
--offset <n>No0Starting offset — rounds down to a page boundary
--output <format>NoprettyOutput format: pretty, table, csv, json, yaml

Examples

Empty result for a 24-hour window. The upstream /v1/mgmt/scanlogs endpoint only accepts a fixed set of (interval, unit) pairs — (1, hours), (24, hours), (7, days), (30, days). Anything else returns API 400.

airs runtime scan-logs query --interval 24 --unit hours --limit 5
Prisma AIRS — Runtime Configuration
Security profile and topic management

No scan logs found.

JSON output (the renderer short-circuits the empty case across all formats, so JSON returns the same status line, not [])

airs runtime scan-logs query --interval 24 --unit hours --limit 5 --output json
No scan logs found.

YAML output (same empty-state shape as JSON)

airs runtime scan-logs query --interval 24 --unit hours --limit 5 --output yaml
No scan logs found.