fix(publicenv): redact public host aliases
All checks were successful
Code Review / ai-code-review (push) Successful in 15s
CD Pipeline / tests (push) Successful in 1m33s
CD Pipeline / build-and-deploy (push) Successful in 7m39s
CD Pipeline / post-deploy-checks (push) Successful in 2m14s

This commit is contained in:
Your Name
2026-06-13 07:35:54 +08:00
parent e9b01af7b9
commit cdcd79eeba
12 changed files with 248 additions and 244 deletions

View File

@@ -198,7 +198,7 @@ export function NeuralLiveCenter({ stats, history, pendingCount, activeIncidents
{[
{ scheme: 'kubectl://', Icon: Server, label: 'kubectl', cls: 'border-blue-500/25 bg-blue-500/5', iconCls: 'text-blue-500' },
{ scheme: 'openclaw://', Icon: Bot, label: 'OpenClaw', cls: 'border-orange-500/25 bg-orange-500/5', iconCls: 'text-orange-500' },
{ scheme: 'ansible://', Icon: Settings, label: 'Ansible .188', cls: 'border-purple-500/25 bg-purple-500/5', iconCls: 'text-purple-500' },
{ scheme: 'ansible://', Icon: Settings, label: 'Ansible host:observability-a', cls: 'border-purple-500/25 bg-purple-500/5', iconCls: 'text-purple-500' },
].map(b => {
const BranchIcon = b.Icon
return (

View File

@@ -173,7 +173,7 @@ export function NeuralPreFlight({ stats, playbooks }: Props) {
{ icon: Key, label: 'URI 解析器', sub: 'openclaw:// ansible:// ssh://', color: 'text-blue-500', bg: 'bg-blue-500/10', border: 'border-blue-500/30' },
{ icon: Lock, label: 'Shell 防注入', sub: '; | && $() 阻斷', color: 'text-purple-500', bg: 'bg-purple-500/10', border: 'border-purple-500/30' },
{ icon: Cpu, label: 'Redis 冪等鎖', sub: 'repair_lock TTL 300s', color: 'text-green-500', bg: 'bg-green-500/10', border: 'border-green-500/30' },
{ icon: Database, label: 'Ansible Playbook DB', sub: '.188 控制節點 → .110', color: 'text-yellow-500', bg: 'bg-yellow-500/10', border: 'border-yellow-500/30' },
{ icon: Database, label: 'Ansible Playbook DB', sub: 'host:observability-a 控制節點 → host:public-gateway', color: 'text-yellow-500', bg: 'bg-yellow-500/10', border: 'border-yellow-500/30' },
].map((node, i, arr) => {
const Icon = node.icon
return (