Appearance
Modules, rule IDs and values Since v0.1
This page lists the values that appear in the module, rule_id, action and mode fields of events and traffic records. For the other fields, see Event and log fields.
Module names
The module field of a reason and of a trace step holds one of these names. The pipeline runs the modules for each request in a fixed order. Two more names appear: limits, the pipeline's own check of header and body limits, and scripts, which reports new or changed page scripts and cookies.
| Module | What it does | Guide |
|---|---|---|
access | Allow and deny rules by address, country and path, and bans. | Access rules |
identity | Requires a client identity before other checks. | Client identity |
bots | Scores clients and applies the bot ladder, fingerprints and challenges. | Bot mitigation |
rate_limits | Limits requests per client, login and concurrency. | Rate limits |
api_auth | Checks API tokens, keys and claims. | Authentication |
api_schema | Enforces an OpenAPI or similar schema. | Schema enforcement |
xml_schema | Validates XML and SOAP requests. | XML and SOAP |
ws_security | Checks WS-Security signatures and signature-wrapping attacks. | WS-Security |
llm_guard | Guards LLM endpoints against injection, leaks and over-use. | LLM endpoints |
bola | Detects access to objects of other users. | Object ownership |
flows | Enforces the order and pace of business flows. | Business flows |
attest | Verifies app attestation. | App attestation |
discovery | Watches for unknown MCP servers, tools and agents. | Agent discovery |
files | Checks uploaded files: type, size, content and antivirus scan. | File uploads |
positive | Enforces the learned positive model. | Positive model |
signatures | Runs the signature rules (CRS and our own, and virtual patches). | Signatures |
scorerules | Acts on the combined attack score. | Paranoia levels and thresholds |
sessions | Detects session hijacking and swapping. | Sessions |
cookies | Signs and checks cookies. | Cookie protection |
csrf | Checks cross-site request origin and tokens. | CSRF and CORS |
cors | Applies the CORS policy. | CSRF and CORS |
headers | Hardens response headers and hides error details. | Response headers |
dlp | Finds and masks or blocks sensitive data in responses. | Data leaks |
ssrf | Finds server-side request forgery in request values. | Outbound guard |
ssrf_egress | Controls the addresses the product's own outbound calls may reach. | Outbound guard |
rewrite | Rewrites requests before they reach the server. | Call rewriting |
Rule ID ranges
A rule_id is a string. Signature rules use numbers, and every other module uses a readable name.
Numeric rules
| Range | Source | What it covers | Guide |
|---|---|---|---|
901xxx | OWASP CRS v4.30.0 | Initialisation and defaults. | Signatures |
905xxx | OWASP CRS | Common exceptions. | Signatures |
911xxx | OWASP CRS | Method enforcement. | Signatures |
913xxx | OWASP CRS | Scanner detection. | Signatures |
920xxx | OWASP CRS | Protocol enforcement. | Signatures |
921xxx | OWASP CRS | Protocol attacks, such as request smuggling. | Signatures |
922xxx | OWASP CRS | Multipart attacks. | Signatures |
930xxx | OWASP CRS | Local file inclusion. | Signatures |
931xxx | OWASP CRS | Remote file inclusion. | Signatures |
932xxx | OWASP CRS | Remote code execution. | Signatures |
933xxx | OWASP CRS | PHP injection. | Signatures |
934xxx | OWASP CRS | Generic attacks, such as Node.js and SSRF patterns. | Signatures |
941xxx | OWASP CRS | Cross-site scripting. | Signatures |
942xxx | OWASP CRS | SQL injection. | Signatures |
943xxx | OWASP CRS | Session fixation. | Signatures |
944xxx | OWASP CRS | Java attacks. | Signatures |
949xxx | OWASP CRS | Blocking evaluation of requests. | Paranoia levels and thresholds |
950xxx | OWASP CRS | General data leaks in responses. | Signatures |
951xxx | OWASP CRS | SQL error leaks. | Signatures |
952xxx | OWASP CRS | Java error leaks. | Signatures |
953xxx | OWASP CRS | PHP error leaks. | Signatures |
954xxx | OWASP CRS | IIS error leaks. | Signatures |
955xxx | OWASP CRS | Web shells in responses. | Signatures |
956xxx | OWASP CRS | Ruby error leaks. | Signatures |
959xxx | OWASP CRS | Blocking evaluation of responses. | Paranoia levels and thresholds |
980xxx | OWASP CRS | Correlation of a request's matches. | Signatures |
200000 to 200009 | Our rules, rules/custom/00-base.conf | Body parser selection, URI and body parse failures, multipart strictness and argument limits. | Our own rules |
200020 | Our rules | Records the application's own host name for the rules below. | Our own rules |
200100 | Our rules | Remote file inclusion from an off-site URL in an include parameter. | Our own rules |
200110 | Our rules | Command injection with a short command after a separator. | Our own rules |
200200 to 200220 | Our rules | Internal support rules that do not log. | Our own rules |
300000 to 399999 | Virtual patches | Ten rule IDs per patch: patch vp-0001 uses 300010 to 300019. The first rules of a block scope the patch, and the detectors block. | Virtual patches |
Named rules
Modules other than signatures report a readable ID. A prefix names the family. The signatures module reports its numbers as text, for example "942100".
| Family | Module | What it covers | Guide |
|---|---|---|---|
banned | access | A banned client. | Bans |
| the access rule's name | access | A matching access rule. | Access rules |
identity.required | identity | A request without the required identity. | Client identity |
login, concurrency, the rate rule's name, ratelimit.learned | rate_limits | Login, concurrency and named rate limits, and learned limits. | Rate limits |
bot.* | bots | Bot signals: bot.score, bot.ua.*, bot.http.*, bot.tls.*, bot.fingerprint.*, bot.token.*, bot.signature.*, bot.challenge.*, bot.verify.*, bot.login.*, bot.behavior.* and bot.category.*. | Bot mitigation |
api.auth.* | api_auth | Missing, invalid, expired or forbidden tokens and keys. | Authentication |
api.schema.* | api_schema | Unknown path, method, parameter or body against the schema. | Schema enforcement |
api.learned.* | api_schema | Learned body, unknown field and learned response. | Learned schema |
api.json.*, api.websocket.*, api.mcp.* | api_schema | JSON limits, WebSocket and MCP message checks. | Protocols |
api.xml.*, api.soap.* | xml_schema | XML schema, DTD and SOAP operation, action and envelope checks. | XML and SOAP |
api.wssec.*, api.xsw.* | ws_security | WS-Security checks and signature-wrapping checks. | WS-Security |
llm.* | llm_guard | Injection, token, budget, output leak and endpoint checks. | LLM endpoints |
bola.* | bola | bola.foreign_object, bola.enumeration, bola.sequential and bola.no_identity. | Object ownership |
flow.* | flows | Skipped, out-of-order, too-fast, expired and replayed steps. | Business flows |
attest.* | attest | Missing, invalid, expired and replayed attestations. | App attestation |
discovery.* | discovery | Unknown MCP server, new MCP tool and new agent. | Agent discovery |
file.* | files | file.type.*, file.size, file.name, file.mismatch, file.executable, file.webshell, file.hash.deny, file.archive, file.malformed, file.limit, file.script_in_file and file.av.*. | File uploads |
pos.* | positive | Unknown endpoint, method, content type or parameter, and parameter type, length, character set, enum and pattern. | Violations |
| the scoring rule's name | scorerules | A rule on the attack score. | Paranoia levels and thresholds |
session.* | sessions | session.hijack, session.swapped and session.unbound. | Sessions |
cookie.* | cookies | Tampered, unprotected, expired-key and too-large cookies. | Cookie protection |
csrf.* | csrf | Cross-site, origin mismatch, token missing and token invalid. | CSRF and CORS |
headers.error.cloaked | headers | An error page was replaced. | Response headers |
dlp.* | dlp | dlp.card, dlp.iban, dlp.us_ssn, dlp.uk_nino, dlp.aadhaar and custom detectors. | Data leaks |
ssrf.* | ssrf, ssrf_egress | User info, redirector, internal resolution, DNS timeout and ssrf.egress.denied. | Outbound guard |
script.new, script.changed, cookie.new | scripts | A new or changed script, and a new cookie, seen on pages. | Endpoint insights |
header_count, header_bytes, request_body | limits | A request over a configured limit. | Modes and limits |
WARNING
The family list is taken from the rule constants in the code. A name that is not listed here, such as a custom detector or a rule you named yourself, comes from your configuration.
Action, mode and verdict values
Action
The pipeline's verdict is one of four actions, ordered from least to most severe. The action field of an event and of a traffic record holds the combined result.
| Value | Meaning |
|---|---|
allow | Nothing was found. The request passed. |
log | A match was recorded and the request passed. |
challenge | The client received a challenge instead of the page. |
block | The request was refused with the block status or the module's own status. |
A trace step can also hold error (the module failed and the failure policy applied) and skipped (the module did not run, with the reason in note).
Mode
| Value | Meaning |
|---|---|
detect | Matches are logged and traffic is not changed. A block or challenge verdict becomes log, and the event sets would_block. |
block | Matches are enforced. |
The exception is a virtual patch set to enforce: block. It blocks in detect mode, and its reason sets enforced to true. The mode field of an event is the application's mode, and the mode field of a reason is the module's.
Other values
| Field | Values |
|---|---|
masked | pci (recorded masked) or role (masked on read for the reader's role). Absent: full values. |
trace.steps[].phase | request, response, response_stream. |
attack.class | attack, likely_attack, unlikely_attack, clean. |
automation.class, bot.class | automated, likely_automated, likely_human. |
missing (traffic) | data_plane, inspection. |
Truncation markers
Only size limits cut values, and a cut value is always marked.
| Where | Marker |
|---|---|
| A text value (path, snippet, header, body) | The value ends with …[truncated: N bytes], where N is the full length in bytes. |
reasons[].truncated, reasons[].full_bytes | The snippet was cut, and its full length. |
capture.body_truncated | The body holds only the first bytes of body_bytes. |
capture.headers_truncated | A header cut at its bound, with its full length. |
capture.headers_omitted | How many headers beyond the kept number were left out. |
capture.body_omitted | Why no body was kept, for example files for uploaded files under masking. |
partial, missing (traffic) | One half of the record did not arrive. |