You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.
Big fan of this library of tests, but I've run into some problems running them. The CRS_Tests.py is creating a regex for a date format in the logs. Modsecurity 3.0 logs don't seem to match this format in my error.log file. Modsecurity (for me?) is in the format %Y/%m/%d %H:%M:%S. But in CRS_Tests.py, we compare against self.start and self.end which has milliseconds. I cannot find a way to compare log_date to self.start and self.end. Has anyone come across this issue before?
The text was updated successfully, but these errors were encountered:
This repo isn't supported by the CRS team anymore as none of us have access to it. However, we've inlined our test cases into the util/regreasion-test folder of CRS. As per v3.0, you can find a config in this pr SpiderLabs/owasp-modsecurity-crs#1113. We do not currently test CRS against 3.x as it's been unstable but it is something we'll be adding in CRS 3.2. let me know if you have any concerns by reaching out on our CRS repo. Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Big fan of this library of tests, but I've run into some problems running them. The CRS_Tests.py is creating a regex for a date format in the logs. Modsecurity 3.0 logs don't seem to match this format in my error.log file. Modsecurity (for me?) is in the format %Y/%m/%d %H:%M:%S. But in CRS_Tests.py, we compare against self.start and self.end which has milliseconds. I cannot find a way to compare log_date to self.start and self.end. Has anyone come across this issue before?
The text was updated successfully, but these errors were encountered: