# urbestack-jail-list

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-jail-list
```

## Description

Lists the ban rules shipped with UrbeStack, followed by custom rules in name order. Each entry shows the log file or journal, the filter or pattern, the attempt threshold, the time window and ban duration in seconds, the scope, and the number of bans the rule issued in the past 7 days.

The list shows whether each rule is enabled and whether it is active. An enabled rule that uses a log file waits for that file to exist.

## Same in the API

- [GET /security/jails](https://urbestack.com/docs/api/get-security-jails.md): List ban rules

## Command family: jail

- [urbestack-jail-add](https://urbestack.com/docs/commands/urbestack-jail-add.md): Adds a custom ban rule.
- [urbestack-jail-del](https://urbestack.com/docs/commands/urbestack-jail-del.md): Removes a custom ban rule.
- [urbestack-jail-set](https://urbestack.com/docs/commands/urbestack-jail-set.md): Updates an existing ban rule.
- [urbestack-jail-test](https://urbestack.com/docs/commands/urbestack-jail-test.md): Tests a ban rule or a regular expression against up to 1,000 of the most recent lines from a log file or systemd journal.
