Skip to content

Sub-phases #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rcbarnett-zz opened this issue Oct 17, 2013 · 1 comment
Open

Sub-phases #371

rcbarnett-zz opened this issue Oct 17, 2013 · 1 comment
Assignees

Comments

@rcbarnett-zz
Copy link
Contributor

MODSEC-217: It would be very useful to have sub-phases on top of existing phases to sort directive processing order.

Ex:

  • I have a lot of generic phase:2 rules (CRS or other)
  • One of the generic phase:2 rule needs to run after all other phase:2 rules
  • I have to insert my custom rules in the middle of the processing to influence the last generic rule
  1. It's annoying to insert my specific rules in the middle of the others, because mostof other directives (rewriting, etc.) will usually be defined elsewhere (maybe in macros)
  2. If I need to specify them inside a location, it does not work

It would be very useful to specify some rules as, for instance, phase:2.9 to force them after the ones defined as phase:2, phase:2.3, etc.

This would also allow to update a rule previously defined in phase:2.5 with "phase:2.1,ctl:ruleUpdateTargetById:..."

@rcbarnett-zz
Copy link
Contributor Author

Original reporter: marcstern

@ghost ghost assigned zimmerle Oct 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants