Commit cfb942a8 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Update WAF API routing to remove wildcard from attack log endpoint, enhancing...

Update WAF API routing to remove wildcard from attack log endpoint, enhancing clarity and consistency in log proxy handling.
parent 556a6171
...@@ -27,7 +27,7 @@ func SetWafRouter(e *gin.Engine, clusterClientManager *utils.ClusterClientManage ...@@ -27,7 +27,7 @@ func SetWafRouter(e *gin.Engine, clusterClientManager *utils.ClusterClientManage
v2 := e.Group("api/v2/containerSec/waf") v2 := e.Group("api/v2/containerSec/waf")
wafLogController := controller.NewWafLogController(regionUrlMap) wafLogController := controller.NewWafLogController(regionUrlMap)
v2.Any("attack/log/*", wafLogController.WafLogProxy) v2.Any("attack/log", wafLogController.WafLogProxy)
// v2.GET("attack/log/list", wafController.ListAttackLogs) // v2.GET("attack/log/list", wafController.ListAttackLogs)
// v2.GET("attack/log/details", wafController.GetAttackLogDetails) // v2.GET("attack/log/details", wafController.GetAttackLogDetails)
// v2.GET("attack/log/rspPkg", wafController.GetAttackLogRsp) // v2.GET("attack/log/rspPkg", wafController.GetAttackLogRsp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment