githubxubin opened a new issue, #10859:
URL: https://github.com/apache/apisix/issues/10859

   ### Description
   
   Currently, I need to use apisix's sql injection and xss capabilities, I 
tried to integrate coraza-proxy-wasm, but failed, 
   here is my operation and configuration!
   referer 
link:https://docs.api7.ai/apisix/how-to-guide/security/waf/integrate-with-coraza
 
   step 1:
   All configurations are configured according to the document
   step 2:
   I failed to add a route on the dashboard page.
   ```
   {
       "uri": "/test/*",
       "name": "coraza测试",
       "groupId": "1",
       "openId": "",
       "priority": 1,
       "methods": [
           "GET",
           "POST",
           "PUT",
           "DELETE",
           "PATCH",
           "HEAD",
           "OPTIONS"
       ],
       "plugins": {
           "coraza-filter": {
               "conf": {
                   "directives_map": {
                       "default": [
                           "SecDebugLogLevel 9",
                           "SecRuleEngine On",
                           "Include @crs-setup-conf",
                           "Include @owasp_crs/*.conf"
                       ]
                   },
                   "default_directives": "default"
               }
           }
       },
       "upstream": {
           "nodes": [
               {
                   "host": "10.210.21.105",
                   "port": 1001,
                   "weight": 1
               }
           ],
           "retries": 0,
           "timeout": {
               "connect": 6,
               "send": 6,
               "read": 6
           },
           "type": "roundrobin",
           "scheme": "http",
           "discovery_args": {
               "group_name": "",
               "namespace_id": ""
           },
           "pass_host": "pass",
           "keepalive_pool": {
               "idle_timeout": 60,
               "requests": 1000,
               "size": 320
           }
       },
       "status": 1
   }
   ```
   Save failed!
   the error is:
   
![image](https://github.com/apache/apisix/assets/39228009/ecec07ac-2103-4528-b8b9-c65bb4033241)
   Whether it is a version problem:
   apisix version: 3.2/release
   dashboard version:3.0
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.2 apisix
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to