mirror of
https://github.com/alibaba/higress.git
synced 2026-04-20 11:37:27 +08:00
release 0.6.2 (#186)
This commit is contained in:
14
samples/wasmplugin/waf.yaml
Normal file
14
samples/wasmplugin/waf.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: extensions.higress.io/v1alpha1
|
||||
kind: WasmPlugin
|
||||
metadata:
|
||||
name: waf
|
||||
namespace: higress-system
|
||||
spec:
|
||||
# build from https://github.com/corazawaf/coraza-proxy-wasm
|
||||
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/corazawaf:1.0.0
|
||||
defaultConfig:
|
||||
rules:
|
||||
- "Include @crs-setup-conf"
|
||||
- "Include @recommended-conf"
|
||||
- "Include @owasp_crs/*.conf"
|
||||
- "SecRuleEngine on"
|
||||
Reference in New Issue
Block a user