Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/secrules_parsing/model/secrules.tx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ByteRangeList: byterange*=RangeINT[','];
RangeINT: INT '-' INT | INT;

// Should match ips
IPCIDR: /[0-9a-f\.\:]+/;
IPCIDR: /[0-9a-f\.\:]+(?:\/(?:[1-5][0-9]|6[0-4]|[1-9]))?/;

// Single Quote delimited STRING
SQDelimitedSTRING: "'" msg=MessageValue? ':'? macro=MacroVar? "'";
Expand Down Expand Up @@ -248,7 +248,7 @@ AuditEngineValue: OnOffValue | 'RelevantOnly';
RuleEngineValue: OnOffValue | 'DetectionOnly';

// Can this be used multiple times, e.g.: +AC?
Comment thread
touchweb-vincent marked this conversation as resolved.
Outdated
AuditLogPartsValue: /(\+|-)[A-Z]/;
AuditLogPartsValue: /(\+|-)[A-Z]+/;

RequestBodyProcessorValue: 'text/xml' | 'text/json' | 'URLENCODED' | 'JSON' | 'MULTIPART' | 'XML';

Expand Down