8000 feat(ci): use latest crs containers for testing by fzipi · Pull Request #2188 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(ci): use latest crs containers for testing #2188

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

Merged
merged 2 commits into from
Oct 4, 2021

Conversation

fzipi
Copy link
Member
@fzipi fzipi commented Sep 5, 2021

Signed-off-by: Felipe Zipitria felipe.zipitria@owasp.org

Turns out we were using the old version. We fell in our own trap.

Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
@dune73
Copy link
Member
dune73 commented Sep 6, 2021

Why is this needed? What is happening without this?

@dune73 dune73 requested a review from franbuehler September 6, 2021 18:12
@fzipi
Copy link
Member Author
fzipi commented Sep 6, 2021

From the CRS perspective? Not much. But there are plenty of variables that help users with better UX. For example: I was trying to have the debug log to verify a problem in a different PR, and setting the variable in the docker-compose wasn't working. After updating, now I can just define MODSEC_DEBUG_LOG as env var, without changing anything else.

@dune73
Copy link
Member
dune73 commented Sep 6, 2021

Thanks.< 8000 /p>

But it also means we should update this when we do a new release, don't we? Or should we better wait a few weeks, since docker containers would get the new rule set automatically otherwise?

@fzipi
Copy link
Member Author
fzipi commented Sep 6, 2021

Containers always get the latest stable version. For testing we use (and recommend) that you clone/unzip your own version, and mount the resource externally.

For example, the Github action test mounts the branch tested instead of using what's in the container.

@franbuehler franbuehler self-assigned this Sep 16, 2021
Copy link
Contributor
@franbuehler franbuehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost good to me. owasp/modsecurity-crs:apache points to latest image version.
owasp/modsecurity-crs:nginx does not.
Also see this issue here.

Copy link
Contributor
@franbuehler franbuehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost good to me. owasp/modsecurity-crs:apache points to latest image version.
owasp/modsecurity-crs:nginx does not.
Also see this issue here.

@fzipi
Copy link
Member Author
fzipi commented Sep 24, 2021

Fixed issue with latest containers.

@fzipi fzipi requested a review from franbuehler September 24, 2021 13:18
@fzipi
Copy link
Member Author
fzipi commented Sep 30, 2021

@franbuehler Can you review again?

1 similar comment
@fzipi
Copy link
Member Author
fzipi commented Oct 3, 2021

@franbuehler Can you review again?

@fzipi fzipi merged commit be95432 into coreruleset:v3.4/dev Oct 4, 2021
@fzipi fzipi deleted the use-latest-crs-containers branch October 4, 2021 15:50
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

Successfully merging this pull request may close these issues.

3 participants
0