Adding Command Tests

Command tests allow you to search for specific snippets within commands run by users in the terminal.

A command test's options are described in detail below.


A summary of what the command test is checking. Shown to users if test is shared.

Command Pattern

The regular expression to search for in the user's terminal history.

History Type

Determines whether all commands entered in the terminal are searched, or just bash commands.

History Length

How many commands back to search in the user's terminal history. Defaults to 1, maximum 2000.

Case Sensitive

If the regular expression should be case sensitive