trungtien commented on issue #10845: URL: https://github.com/apache/apisix/issues/10845#issuecomment-2159971633
curl --location --request PUT 'http://x.x.x.x:9180/apisix/admin/routes/' \ --header 'X-API-KEY: yyyyyyyyyyyyyyyyyyyy' \ --header 'Content-Type: application/json' \ --data-raw '{ "id": "getting-started-waf", "uri": "/anything/*", "plugins": { "coraza-filter": { "conf": { "directives_map": { "default": [ "SecDebugLogLevel 9", "SecRuleEngine On", "SecRule REQUEST_URI \"@beginsWith /anything\" \"id:101,phase:1,t:lowercase,deny\"" ] }, "default_directives": "default" } } }, "upstream": { "type": "roundrobin", "nodes": { "a.b.c.d:80": 1 } } }' error_msg": "failed to check the configuration of plugin coraza-filter err: property \"conf\" validation failed: wrong type: expected string, got table" apisix version 3.2.2: LTS Coraza version: 0.4.0 -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org