> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revexscanner.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rulebook

> Keep an organization-specific library of detection rules and export it as JSON.

The Rulebook is your organization's library of detection rules. Rules are validated in the format the scanner accepts.

> [!NOTE]
>
> In the current version the Rulebook is a **rule library**. You can add, validate, switch on or off and export rules as JSON. Adding rules to scans automatically is not available yet.

## Limits

A rulebook holds at most **100 rules**.

## Rule types

> [accordion] Process name
>
> Matches a running process by name.
>
> | Field | Example |
> | - | - |
> | Name | `example.exe` |

> [accordion] File path
>
> Matches a file that exists at a path. The path must start with an environment variable such as `%APPDATA%\` or a drive such as `C:\`.
>
> | Field | Example |
> | - | - |
> | Path | `%APPDATA%\folder\file.dll` |

> [accordion] Execution trace
>
> Matches a program name found in execution history.
>
> | Field | Meaning |
> | - | - |
> | File name | The program's file name. |
> | Source | Where to look, or *Any*. |

> [accordion] Text match
>
> Matches a text pattern of at least 4 characters.
>
> | Field | Meaning |
> | - | - |
> | Text | The pattern to find. |
> | Scope | *Anywhere* or *Browser*. |

## Severity

Give each rule a title and a severity: **Info, Low, Medium, High or Critical.**

## Export

Use the export button to download your rules as JSON and keep them in your own tooling.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.