Commit b1f53e07 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Update log consumer to use region name in WAF detection event for improved clarity in log entries.

parent e03eb60d
...@@ -288,7 +288,7 @@ func (s *LogConsumerService) genWafDetectionEvent(wafDetectionMessage model.WafD ...@@ -288,7 +288,7 @@ func (s *LogConsumerService) genWafDetectionEvent(wafDetectionMessage model.WafD
"cluster": { "cluster": {
Kind: "cluster", Kind: "cluster",
ID: wafDetectionMessage.WafDetectionMessageBasic.ClusterKey, ID: wafDetectionMessage.WafDetectionMessageBasic.ClusterKey,
Name: wafDetectionMessage.WafDetectionMessageBasic.ClusterKey, Name: s.regionName,
}, },
"namespace": { "namespace": {
Kind: "namespace", Kind: "namespace",
......
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