fix(publicenv): redact public host aliases
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user