Skip to content

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.

ModuleWhat it doesGuide
accessAllow and deny rules by address, country and path, and bans.Access rules
identityRequires a client identity before other checks.Client identity
botsScores clients and applies the bot ladder, fingerprints and challenges.Bot mitigation
rate_limitsLimits requests per client, login and concurrency.Rate limits
api_authChecks API tokens, keys and claims.Authentication
api_schemaEnforces an OpenAPI or similar schema.Schema enforcement
xml_schemaValidates XML and SOAP requests.XML and SOAP
ws_securityChecks WS-Security signatures and signature-wrapping attacks.WS-Security
llm_guardGuards LLM endpoints against injection, leaks and over-use.LLM endpoints
bolaDetects access to objects of other users.Object ownership
flowsEnforces the order and pace of business flows.Business flows
attestVerifies app attestation.App attestation
discoveryWatches for unknown MCP servers, tools and agents.Agent discovery
filesChecks uploaded files: type, size, content and antivirus scan.File uploads
positiveEnforces the learned positive model.Positive model
signaturesRuns the signature rules (CRS and our own, and virtual patches).Signatures
scorerulesActs on the combined attack score.Paranoia levels and thresholds
sessionsDetects session hijacking and swapping.Sessions
cookiesSigns and checks cookies.Cookie protection
csrfChecks cross-site request origin and tokens.CSRF and CORS
corsApplies the CORS policy.CSRF and CORS
headersHardens response headers and hides error details.Response headers
dlpFinds and masks or blocks sensitive data in responses.Data leaks
ssrfFinds server-side request forgery in request values.Outbound guard
ssrf_egressControls the addresses the product's own outbound calls may reach.Outbound guard
rewriteRewrites 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 ​

RangeSourceWhat it coversGuide
901xxxOWASP CRS v4.30.0Initialisation and defaults.Signatures
905xxxOWASP CRSCommon exceptions.Signatures
911xxxOWASP CRSMethod enforcement.Signatures
913xxxOWASP CRSScanner detection.Signatures
920xxxOWASP CRSProtocol enforcement.Signatures
921xxxOWASP CRSProtocol attacks, such as request smuggling.Signatures
922xxxOWASP CRSMultipart attacks.Signatures
930xxxOWASP CRSLocal file inclusion.Signatures
931xxxOWASP CRSRemote file inclusion.Signatures
932xxxOWASP CRSRemote code execution.Signatures
933xxxOWASP CRSPHP injection.Signatures
934xxxOWASP CRSGeneric attacks, such as Node.js and SSRF patterns.Signatures
941xxxOWASP CRSCross-site scripting.Signatures
942xxxOWASP CRSSQL injection.Signatures
943xxxOWASP CRSSession fixation.Signatures
944xxxOWASP CRSJava attacks.Signatures
949xxxOWASP CRSBlocking evaluation of requests.Paranoia levels and thresholds
950xxxOWASP CRSGeneral data leaks in responses.Signatures
951xxxOWASP CRSSQL error leaks.Signatures
952xxxOWASP CRSJava error leaks.Signatures
953xxxOWASP CRSPHP error leaks.Signatures
954xxxOWASP CRSIIS error leaks.Signatures
955xxxOWASP CRSWeb shells in responses.Signatures
956xxxOWASP CRSRuby error leaks.Signatures
959xxxOWASP CRSBlocking evaluation of responses.Paranoia levels and thresholds
980xxxOWASP CRSCorrelation of a request's matches.Signatures
200000 to 200009Our rules, rules/custom/00-base.confBody parser selection, URI and body parse failures, multipart strictness and argument limits.Our own rules
200020Our rulesRecords the application's own host name for the rules below.Our own rules
200100Our rulesRemote file inclusion from an off-site URL in an include parameter.Our own rules
200110Our rulesCommand injection with a short command after a separator.Our own rules
200200 to 200220Our rulesInternal support rules that do not log.Our own rules
300000 to 399999Virtual patchesTen 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".

FamilyModuleWhat it coversGuide
bannedaccessA banned client.Bans
the access rule's nameaccessA matching access rule.Access rules
identity.requiredidentityA request without the required identity.Client identity
login, concurrency, the rate rule's name, ratelimit.learnedrate_limitsLogin, concurrency and named rate limits, and learned limits.Rate limits
bot.*botsBot 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_authMissing, invalid, expired or forbidden tokens and keys.Authentication
api.schema.*api_schemaUnknown path, method, parameter or body against the schema.Schema enforcement
api.learned.*api_schemaLearned body, unknown field and learned response.Learned schema
api.json.*, api.websocket.*, api.mcp.*api_schemaJSON limits, WebSocket and MCP message checks.Protocols
api.xml.*, api.soap.*xml_schemaXML schema, DTD and SOAP operation, action and envelope checks.XML and SOAP
api.wssec.*, api.xsw.*ws_securityWS-Security checks and signature-wrapping checks.WS-Security
llm.*llm_guardInjection, token, budget, output leak and endpoint checks.LLM endpoints
bola.*bolabola.foreign_object, bola.enumeration, bola.sequential and bola.no_identity.Object ownership
flow.*flowsSkipped, out-of-order, too-fast, expired and replayed steps.Business flows
attest.*attestMissing, invalid, expired and replayed attestations.App attestation
discovery.*discoveryUnknown MCP server, new MCP tool and new agent.Agent discovery
file.*filesfile.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.*positiveUnknown endpoint, method, content type or parameter, and parameter type, length, character set, enum and pattern.Violations
the scoring rule's namescorerulesA rule on the attack score.Paranoia levels and thresholds
session.*sessionssession.hijack, session.swapped and session.unbound.Sessions
cookie.*cookiesTampered, unprotected, expired-key and too-large cookies.Cookie protection
csrf.*csrfCross-site, origin mismatch, token missing and token invalid.CSRF and CORS
headers.error.cloakedheadersAn error page was replaced.Response headers
dlp.*dlpdlp.card, dlp.iban, dlp.us_ssn, dlp.uk_nino, dlp.aadhaar and custom detectors.Data leaks
ssrf.*ssrf, ssrf_egressUser info, redirector, internal resolution, DNS timeout and ssrf.egress.denied.Outbound guard
script.new, script.changed, cookie.newscriptsA new or changed script, and a new cookie, seen on pages.Endpoint insights
header_count, header_bytes, request_bodylimitsA 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.

ValueMeaning
allowNothing was found. The request passed.
logA match was recorded and the request passed.
challengeThe client received a challenge instead of the page.
blockThe 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 ​

ValueMeaning
detectMatches are logged and traffic is not changed. A block or challenge verdict becomes log, and the event sets would_block.
blockMatches 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 ​

FieldValues
maskedpci (recorded masked) or role (masked on read for the reader's role). Absent: full values.
trace.steps[].phaserequest, response, response_stream.
attack.classattack, likely_attack, unlikely_attack, clean.
automation.class, bot.classautomated, likely_automated, likely_human.
missing (traffic)data_plane, inspection.

Truncation markers ​

Only size limits cut values, and a cut value is always marked.

WhereMarker
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_bytesThe snippet was cut, and its full length.
capture.body_truncatedThe body holds only the first bytes of body_bytes.
capture.headers_truncatedA header cut at its bound, with its full length.
capture.headers_omittedHow many headers beyond the kept number were left out.
capture.body_omittedWhy no body was kept, for example files for uploaded files under masking.
partial, missing (traffic)One half of the record did not arrive.