Skip to content

Can I use m.getvar("RULE.id") to get the current rule id in 3.x version? #2527

Open
@hygeiavvv

Description

@hygeiavvv

Can I use m.getvar("RULE.id") to get the current rule id in the 3.x version? It is normal for me to use m.getvar("REMOTE_ADDR"). How do I get the rule in the 3.x version? id, thanks

Metadata

Metadata

Assignees

Labels

3.xRelated to ModSecurity version 3.xworkaround availableThe issue has either a temporary or permanent workaround available

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions