Felipe Zipitría
Felipe Zipitría
JFYI: we already have a way of enabling CRS variables at will by defining the variable to `1`, `true` or anything that is not empty. You can see an example...
@theseion Can you reapprove so we merge?
@corazawaf/core-developers Thoughts/ideas?
Ugh, looks like `a[b///]c` works as a glob.
```bash mkdir abc touch abc/myfile.txt ls a[b///]c myfile.txt ```
Finally managed to get some time to update this one. Looks like by simply adding a globbing capture regex we are better now. See https://regex101.com/r/4BBbY2/1
This is normally handled by using the [SecAuditLogFormat](https://coraza.io/docs/seclang/directives/#secauditlogformat) directive.
We definitely should start adding tests for these changes 🤔
Maybe you might be more interested in the antlr parser: https://github.com/coreruleset/seclang_parser
@tty2 can you rebase this one?