Commit e03eb60d authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Update log consumer to use fixed resource kind "Deployment" in WAF detection...

Update log consumer to use fixed resource kind "Deployment" in WAF detection event naming for improved clarity in log entries.
parent 859c282c
......@@ -279,7 +279,7 @@ func (s *LogConsumerService) genWafDetectionEvent(wafDetectionMessage model.WafD
{
Kind: "resource",
ID: "",
Name: fmt.Sprintf("%s(%s)", wafDetectionMessage.WafDetectionMessageBasic.ResName, wafDetectionMessage.WafDetectionMessageBasic.ResKind),
Name: fmt.Sprintf("%s(%s)", wafDetectionMessage.WafDetectionMessageBasic.ResName, "Deployment"),
},
},
},
......
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