-
Notifications
You must be signed in to change notification settings - Fork 43
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
Adds FTW and E2E #56
Adds FTW and E2E #56
Conversation
332f6fc
to
5812abf
Compare
@@ -1,19 +1,19 @@ | |||
#!/bin/bash | |||
# Copyright 2022 The OWASP Coraza contributors | |||
# SPDX-License-Identifier: Apache-2.0 | |||
# Copied from https://github.com/corazawaf/coraza-proxy-wasm/tree/main/e2e | |||
ENVOY_HOST=${ENVOY_HOST:-"localhost:8080"} | |||
# Revisited from https://github.com/corazawaf/coraza-proxy-wasm/tree/main/e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a next effort we should port this tests to go an reuse across different connectors.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This is good already. Let's add ftw to the CI in a next PR. |
This PR mimics what we have in the proxy/wasm connector to spin up easily and test coraza-caddy: it adds FTW tests, and a complete example deployment with CRS and custom rules to quickly spin up caddy-coraza and play with it.
I currently didn't add FTW to the CI, because I'm experiencing some inconsistent failing tests across different runs :(
An example of a run result is the following: