Waf Plugin
Description
Wafis the core implementation of gateway to realize firewall function for network traffic.
Plugin Setting
Please refer to the deployment document, choose a way to start shenyu-admin. For example, through Local Deployment to start the Apache ShenYu management system.
-
In
shenyu-adminBasicConfig --> plugin ->wafset to enable.If you don't want to use this function, please disable this plugin in theshenyu-admin.
-
Add configuration mode in plugin editing.
{"model":"black"}
# model can be 'black' or 'mixed'
# The default mode is blacklist mode; If setting is mixed, it will be mixed mode. We will explain it specifically below.