Skip to content
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

Custom rules in 2.9.0 not working with 3.0.0 #1800

Closed
NisariAIT opened this issue Jun 13, 2018 · 4 comments
Closed

Custom rules in 2.9.0 not working with 3.0.0 #1800

NisariAIT opened this issue Jun 13, 2018 · 4 comments
Assignees
Labels
3.x Related to ModSecurity version 3.x
Milestone

Comments

@NisariAIT
Copy link

NisariAIT commented Jun 13, 2018

The custom rules that I used earlier with 2.9 version of modsecurity does not work with new compilation(modsecurity v3.0 and connector). The error that I receive while restarting nginx is:

SecRuleUpdateActionById is not yet supported in /usr/local/nginx/conf/nginx.conf:49

Is there anything that I should change for this error to be fixed? My custom rule is as follows: SecRuleUpdateActionById 200004 "allow"
How can I add this rule in version 3.0.0?

@zimmerle zimmerle self-assigned this Jun 13, 2018
@tsyj
Copy link

tsyj commented Jun 23, 2018

Is there a plan to support the SecRuleUpdateActionById directive in the near future? @zimmerle

@zimmerle zimmerle added the 3.x Related to ModSecurity version 3.x label Jun 26, 2018
@zimmerle zimmerle added this to the v3.0.3 milestone Jun 26, 2018
@zimmerle
Copy link
Contributor

Hi @tsyj,

Trying to have it implemented for v3.0.3. Placed the milestone label.

@jonah-potter
Copy link

Can anyone recommend a workaround until SecRuleUpdateActionById support is added, aside from editing the rule directly?

zimmerle pushed a commit that referenced this issue Oct 4, 2018
zimmerle pushed a commit that referenced this issue Oct 18, 2018
zimmerle pushed a commit that referenced this issue Oct 23, 2018
@zimmerle
Copy link
Contributor

fixed in current v3/master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x
Projects
None yet
Development

No branches or pull requests

5 participants