Open AmiSMB opened 2 years ago
Hi @AmiSMB, to initially grasp the behavior of the filter I would suggest you build its static version and run the e2e, or any manual requests, against just an envoy.
# build the filter
make -C e2e build-wasm-plugin-static extract-wasm-plugin-static
# spin up envoy
func-e run -c e2e/envoy-config.yaml --log-level info --component-log-level wasm:debug
# run e2e
./e2e/tests.sh
Just please be aware that this filter relies on an experimental, and not first class concern, ModSecurity version. For some context, you may refer to PRs in the official ModSec repo.
I have been going through the README.md but I feel there are some issues with this as I cannot get this working.
${HUB}/${IMAGE_NAME}:${TAG}
Only the e2e/Makefile seems to indicate what is expected.I really am excited about the prospect of being able to have modsecurity inside Istio and really hope you can answer these current issues.