访问日志列表显示WAF相关信息

This commit is contained in:
GoEdgeLab
2022-04-21 16:20:03 +08:00
parent dc74884f2d
commit d0b5c7e707
11 changed files with 460 additions and 34 deletions

View File

@@ -30,6 +30,11 @@ Tea.context(function () {
} else {
accessLog.region = ""
}
if (accessLog.firewallRuleSetId > 0 && typeof (resp.data.wafInfos[accessLog.firewallRuleSetId]) == "object") {
accessLog.wafInfo = resp.data.wafInfos[accessLog.firewallRuleSetId]
} else {
accessLog.wafInfo = null
}
})
let max = 100