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

SecRuleUpdateTargetById Not working anymore #168

Open
security-database opened this issue Jan 26, 2025 · 0 comments
Open

SecRuleUpdateTargetById Not working anymore #168

security-database opened this issue Jan 26, 2025 · 0 comments

Comments

@security-database
Copy link

Hello

Playing with the new Coraza-spoa available from github, and have s strange behavior.
Initially, it's working with the 0.1 version.

11:37AM FTL Failed creating applications error="initializing application '\\x00': invalid WAF config from string: failed to parse string: failed to compile the directive \"secruleupdatetargetbyid\": unknown variable"

Directive that works actually, but get an error with the actual version:

SecRuleUpdateTargetById 942100 !REQUEST_COOKIES:/^ dtSa/
SecRuleUpdateTargetById 942100 !REQUEST_COOKIES: dtSa
SecRuleUpdateTargetById 932235 !REQUEST_COOKIES:/^ dtSa/
SecRuleUpdateTargetById 932235 !REQUEST_COOKIES: dtSa

Is this related to Coraza-spoa or just Coraza for this case ?

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

No branches or pull requests

1 participant