Get your free beta license ↗
CMDCommand · run as root on the server · modsec family

urbestack-modsec-requests

First published 19 Nov 20260.2.30Unchanged since publication

Usage

# urbestack-modsec-requests [--domain DOMAIN] [--address IP] [--rule NUMBER] [--state refused|would] [--before CURSOR] [--limit N]

Description

From the command's --help output
Lists requests ModSecurity blocked or would have blocked in logging mode, newest first. Each
entry shows the time, domain, visitor's IP address, request, HTTP status returned, score, and
each rule that contributed to the score and what it matched.

Use --domain for one domain. Omit it to include all domains and requests with no matching
UrbeStack domain. Use --address with an IP address or an IP address prefix ending in a dot or
colon. Use --rule to filter by rule number. Use --state refused for blocked requests or --state
would for requests that would have been blocked in logging mode.

Use --limit to set the page size from 1 to 200, with a default of 50. Pass the cursor returned
as next to --before to get the following page. The command also reports how far behind the list
is, measured by the age of the oldest record the sorting job has yet to process.

Options

Find other commands that accept these options

Same in the API

These operations run the command.

More in modsec

13 commands, by what they work onView all commands in this family →
urbestack-modsec-disabled-
urbestack-modsec-disabled-rule-
urbestack-modsec-rule-
Generated from release 0.2.35 (current) · urbestack-modsec-requests --help outputThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/commands/urbestack-modsec-requests/