控制台频道敏感过滤

This commit is contained in:
Xujiayao 2026-03-12 11:47:19 +08:00
parent 7449bdc8c3
commit 3afa3aa26f
2 changed files with 6 additions and 0 deletions

View file

@ -84,6 +84,9 @@ mspt_monitoring:
console_forwarding:
enable: true
execute_messages_from_channel: true
# 敏感信息正则过滤
filter_regex:
- "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b" # IPv4 地址
channel: "console"
# 频道主题更新设置

View file

@ -101,6 +101,9 @@ mspt_monitoring:
console_forwarding:
enable: true
execute_messages_from_channel: true
# 敏感信息正则过滤
filter_regex:
- "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b" # IPv4 地址
channels:
- server: "SMP"
channel: "console-smp"