Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
b1f53e07
Commit
b1f53e07
authored
Jul 03, 2025
by
qiuqunfeng
Browse files
Update log consumer to use region name in WAF detection event for improved clarity in log entries.
parent
e03eb60d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
internal/service/log_consumer.go
internal/service/log_consumer.go
+1
-1
No files found.
internal/service/log_consumer.go
View file @
b1f53e07
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment