feat(web): add IwoooS security posture entry
This commit is contained in:
@@ -68,7 +68,8 @@
|
||||
"securityCompliance": "Security & Compliance",
|
||||
"classicAICenter": "Classic AI Center",
|
||||
"governance": "AI Governance",
|
||||
"awooop": "AwoooP"
|
||||
"awooop": "AwoooP",
|
||||
"iwooos": "IwoooS"
|
||||
},
|
||||
"locale": {
|
||||
"switch": "Switch Language",
|
||||
@@ -991,6 +992,103 @@
|
||||
"error": "Load failed",
|
||||
"noData": "No security events"
|
||||
},
|
||||
"iwooos": {
|
||||
"eyebrow": "Information Security Mesh",
|
||||
"title": "IwoooS",
|
||||
"subtitle": "The security mesh posture entry. It gathers Kali, source control, owner response, approval gates, and AwoooP mirror-only evidence into one readable posture without starting scans, repairs, or product blockers.",
|
||||
"boundary": {
|
||||
"label": "Current boundary",
|
||||
"state": "Mirror-only / Observe-first",
|
||||
"detail": "All numbers come from verified snapshots and guards. This page only displays posture, gaps, next gates, and non-blocking lanes."
|
||||
},
|
||||
"metrics": {
|
||||
"overall": {
|
||||
"label": "Overall mesh",
|
||||
"detail": "headline progress, not authorization"
|
||||
},
|
||||
"framework": {
|
||||
"label": "Framework maturity",
|
||||
"detail": "docs, schema, read-only evidence"
|
||||
},
|
||||
"runtime": {
|
||||
"label": "Runtime landing",
|
||||
"detail": "runtime gates are not active"
|
||||
},
|
||||
"contracts": {
|
||||
"label": "Core contracts",
|
||||
"detail": "32 ready / 2 partial / 1 contract-only"
|
||||
},
|
||||
"activeGates": {
|
||||
"label": "Active runtime gates",
|
||||
"detail": "kept at 0 before approval"
|
||||
}
|
||||
},
|
||||
"pillars": {
|
||||
"exposure": {
|
||||
"title": "Exposure Posture",
|
||||
"state": "Waiting evidence",
|
||||
"body": "Mainstream security management puts assets, exposure, vulnerabilities, and owner gates in one view. IwoooS shows coverage gaps without turning them into blockers."
|
||||
},
|
||||
"sourceControl": {
|
||||
"title": "Source-control Supply Chain",
|
||||
"state": "Draft gated",
|
||||
"body": "GitHub is the long-term direction, but refs, workflows, secret names, and rollback ADRs still need owner responses."
|
||||
},
|
||||
"kali": {
|
||||
"title": "Kali 112 Mesh",
|
||||
"state": "Observe-only",
|
||||
"body": "Kali 112 is in scope, and 111 / 168 are also observe-only. Active scan and /execute remain block candidates."
|
||||
},
|
||||
"governance": {
|
||||
"title": "Approval Boundary",
|
||||
"state": "Locked",
|
||||
"body": "7 pending approvals, 1 block candidate, and 0 active runtime gates. Execution requires a human decision record and a follow-up runtime gate."
|
||||
}
|
||||
},
|
||||
"lanes": {
|
||||
"title": "Non-blocking Lanes",
|
||||
"subtitle": "The initial phase stays observe / warn so security does not slow product and deployment flow.",
|
||||
"lowMedium": {
|
||||
"title": "LOW / MEDIUM observation",
|
||||
"body": "Label risk, create follow-up, add evidence_ref, do not block deploy."
|
||||
},
|
||||
"ownerMissing": {
|
||||
"title": "Owner response missing",
|
||||
"body": "Show gaps and the next collection candidate; do not treat silence as rejection."
|
||||
},
|
||||
"mirrorIncomplete": {
|
||||
"title": "Mirror data incomplete",
|
||||
"body": "Show partial / quarantine reason and wait for a new redacted snapshot."
|
||||
},
|
||||
"sourceDrift": {
|
||||
"title": "Source-control drift draft",
|
||||
"body": "Keep the draft reconcile plan; do not sync refs or force push."
|
||||
},
|
||||
"kaliObserve": {
|
||||
"title": "Kali observe finding",
|
||||
"body": "Show only redacted finding summary; do not start active scan."
|
||||
},
|
||||
"workflowGap": {
|
||||
"title": "Workflow / secret name gap",
|
||||
"body": "Request redacted export; do not collect secret values or enable runners."
|
||||
},
|
||||
"progressHolding": {
|
||||
"title": "Progress display holding",
|
||||
"body": "58% means high-level gates are pending; it is neither stuck nor runtime approval."
|
||||
}
|
||||
},
|
||||
"nextGate": {
|
||||
"title": "Next High-level Gate",
|
||||
"body": "S4.9 Gitea owner attestation response is the recommended next owner evidence. Headline progress should only increase after owner responses, redacted payload ingestion, active runtime gates, or GitHub primary readiness actually change."
|
||||
},
|
||||
"evidence": {
|
||||
"title": "Current Evidence"
|
||||
},
|
||||
"blocked": {
|
||||
"title": "Blocked Actions",
|
||||
"body": "This page does not provide scan, execute, repo, refs, workflow, secret, runner, primary switch, or deploy action buttons."
|
||||
}
|
||||
},
|
||||
"tickets": {
|
||||
"title": "Tickets",
|
||||
"subtitle": "Incident ticket tracking",
|
||||
@@ -1225,6 +1323,7 @@
|
||||
"actionGoAutomation": "Go to Automation",
|
||||
"actionGoOperations": "Go to Operations",
|
||||
"actionGoSecurity": "Go to Security & Compliance",
|
||||
"actionGoIwooos": "Go to IwoooS",
|
||||
"actionGoKnowledge": "Go to Knowledge Hall",
|
||||
"actionGoSettings": "Go to Settings",
|
||||
"actionGoTerminal": "Go to Terminal",
|
||||
|
||||
@@ -68,7 +68,8 @@
|
||||
"securityCompliance": "安全合規",
|
||||
"classicAICenter": "經典 AI 中心",
|
||||
"governance": "AI 治理",
|
||||
"awooop": "AwoooP"
|
||||
"awooop": "AwoooP",
|
||||
"iwooos": "IwoooS"
|
||||
},
|
||||
"locale": {
|
||||
"switch": "切換語系",
|
||||
@@ -992,6 +993,103 @@
|
||||
"error": "載入失敗",
|
||||
"noData": "無安全事件"
|
||||
},
|
||||
"iwooos": {
|
||||
"eyebrow": "Information Security Mesh",
|
||||
"title": "IwoooS",
|
||||
"subtitle": "資安網的態勢入口。把 Kali、source-control、owner response、approval gate、AwoooP mirror-only evidence 收成一個可讀的資安態勢,不啟動掃描、不修復、不阻擋產品流程。",
|
||||
"boundary": {
|
||||
"label": "目前邊界",
|
||||
"state": "Mirror-only / Observe-first",
|
||||
"detail": "所有數字來自已驗證 snapshot 與 guard。此頁只顯示態勢、缺口、下一個 gate 與非阻擋分流。"
|
||||
},
|
||||
"metrics": {
|
||||
"overall": {
|
||||
"label": "整體資安網",
|
||||
"detail": "headline progress,不是授權"
|
||||
},
|
||||
"framework": {
|
||||
"label": "框架成熟度",
|
||||
"detail": "文件、schema、read-only evidence"
|
||||
},
|
||||
"runtime": {
|
||||
"label": "落地執行",
|
||||
"detail": "runtime gate 尚未啟用"
|
||||
},
|
||||
"contracts": {
|
||||
"label": "主要契約",
|
||||
"detail": "32 ready / 2 partial / 1 contract-only"
|
||||
},
|
||||
"activeGates": {
|
||||
"label": "Active runtime gates",
|
||||
"detail": "人工批准前維持 0"
|
||||
}
|
||||
},
|
||||
"pillars": {
|
||||
"exposure": {
|
||||
"title": "Exposure Posture",
|
||||
"state": "Waiting evidence",
|
||||
"body": "主流資安管理會把資產、暴露面、弱點與 owner gate 放在同一張圖。IwoooS 先顯示覆蓋缺口,不把缺口變成阻擋。"
|
||||
},
|
||||
"sourceControl": {
|
||||
"title": "Source-control Supply Chain",
|
||||
"state": "Draft gated",
|
||||
"body": "Gitea 到 GitHub 的長期方向已確認,但 refs、workflow、secret name 與 rollback ADR 仍需 owner response。"
|
||||
},
|
||||
"kali": {
|
||||
"title": "Kali 112 Mesh",
|
||||
"state": "Observe-only",
|
||||
"body": "Kali 112 已在資安網範圍中,111 / 168 也納入 observe-only。active scan 與 /execute 仍維持封鎖候選。"
|
||||
},
|
||||
"governance": {
|
||||
"title": "Approval Boundary",
|
||||
"state": "Locked",
|
||||
"body": "7 個 pending approval、1 個 block candidate、0 active runtime gates。任何執行都必須先留下人工決策與後續 runtime gate。"
|
||||
}
|
||||
},
|
||||
"lanes": {
|
||||
"title": "非阻擋分流",
|
||||
"subtitle": "初期只 observe / warn,避免資安框架拖慢產品與部署節奏。",
|
||||
"lowMedium": {
|
||||
"title": "LOW / MEDIUM observation",
|
||||
"body": "標風險、建 follow-up、補 evidence_ref,不阻擋 deploy。"
|
||||
},
|
||||
"ownerMissing": {
|
||||
"title": "Owner response missing",
|
||||
"body": "顯示缺口與下一個收件候選,不把未回覆當拒絕。"
|
||||
},
|
||||
"mirrorIncomplete": {
|
||||
"title": "Mirror data incomplete",
|
||||
"body": "顯示 partial / quarantine reason,等待新的 redacted snapshot。"
|
||||
},
|
||||
"sourceDrift": {
|
||||
"title": "Source-control drift draft",
|
||||
"body": "維持 draft reconcile plan,不 sync refs、不 force push。"
|
||||
},
|
||||
"kaliObserve": {
|
||||
"title": "Kali observe finding",
|
||||
"body": "只顯示 redacted finding summary,不啟動 active scan。"
|
||||
},
|
||||
"workflowGap": {
|
||||
"title": "Workflow / secret name gap",
|
||||
"body": "要求 redacted export,不收集 secret value、不啟用 runner。"
|
||||
},
|
||||
"progressHolding": {
|
||||
"title": "Progress display holding",
|
||||
"body": "58% 代表等待高層 gate,不代表卡住,也不是 runtime approval。"
|
||||
}
|
||||
},
|
||||
"nextGate": {
|
||||
"title": "下一個高層 Gate",
|
||||
"body": "S4.9 Gitea owner attestation response 是目前建議先收的 owner evidence。任何 headline 提升都要等 owner response、redacted payload ingestion、active runtime gate 或 GitHub primary readiness 有真實變化。"
|
||||
},
|
||||
"evidence": {
|
||||
"title": "目前 Evidence"
|
||||
},
|
||||
"blocked": {
|
||||
"title": "禁止動作",
|
||||
"body": "此頁不提供 scan、execute、repo、refs、workflow、secret、runner、primary switch 或 deploy action button。"
|
||||
}
|
||||
},
|
||||
"tickets": {
|
||||
"title": "工單",
|
||||
"subtitle": "事件工單追蹤",
|
||||
@@ -1226,6 +1324,7 @@
|
||||
"actionGoAutomation": "前往自動化",
|
||||
"actionGoOperations": "前往營運",
|
||||
"actionGoSecurity": "前往安全合規",
|
||||
"actionGoIwooos": "前往 IwoooS",
|
||||
"actionGoKnowledge": "前往知識殿堂",
|
||||
"actionGoSettings": "前往設定",
|
||||
"actionGoTerminal": "前往終端頁面",
|
||||
|
||||
278
apps/web/src/app/[locale]/iwooos/page.tsx
Normal file
278
apps/web/src/app/[locale]/iwooos/page.tsx
Normal file
@@ -0,0 +1,278 @@
|
||||
'use client'
|
||||
|
||||
/**
|
||||
* IwoooS — Information Security posture 入口
|
||||
* @created 2026-05-19 Codex Asia/Taipei
|
||||
*/
|
||||
|
||||
import {
|
||||
Activity,
|
||||
AlertTriangle,
|
||||
CheckCircle2,
|
||||
Clock3,
|
||||
GitBranch,
|
||||
Lock,
|
||||
Radar,
|
||||
ShieldCheck,
|
||||
} from 'lucide-react'
|
||||
import { useTranslations } from 'next-intl'
|
||||
import { AppLayout } from '@/components/layout'
|
||||
|
||||
type PostureMetric = {
|
||||
key: string
|
||||
value: string
|
||||
tone: 'steady' | 'warn' | 'locked'
|
||||
}
|
||||
|
||||
type Pillar = {
|
||||
key: string
|
||||
icon: typeof ShieldCheck
|
||||
tone: 'steady' | 'warn' | 'locked'
|
||||
}
|
||||
|
||||
type Lane = {
|
||||
key: string
|
||||
mode: 'observe' | 'warn'
|
||||
}
|
||||
|
||||
const postureMetrics: PostureMetric[] = [
|
||||
{ key: 'overall', value: '58%', tone: 'warn' },
|
||||
{ key: 'framework', value: '80-85%', tone: 'steady' },
|
||||
{ key: 'runtime', value: '35-40%', tone: 'locked' },
|
||||
{ key: 'contracts', value: '35', tone: 'steady' },
|
||||
{ key: 'activeGates', value: '0', tone: 'locked' },
|
||||
]
|
||||
|
||||
const posturePillars: Pillar[] = [
|
||||
{ key: 'exposure', icon: Radar, tone: 'warn' },
|
||||
{ key: 'sourceControl', icon: GitBranch, tone: 'warn' },
|
||||
{ key: 'kali', icon: Activity, tone: 'steady' },
|
||||
{ key: 'governance', icon: ShieldCheck, tone: 'locked' },
|
||||
]
|
||||
|
||||
const nonBlockingLanes: Lane[] = [
|
||||
{ key: 'lowMedium', mode: 'warn' },
|
||||
{ key: 'ownerMissing', mode: 'observe' },
|
||||
{ key: 'mirrorIncomplete', mode: 'warn' },
|
||||
{ key: 'sourceDrift', mode: 'warn' },
|
||||
{ key: 'kaliObserve', mode: 'warn' },
|
||||
{ key: 'workflowGap', mode: 'warn' },
|
||||
{ key: 'progressHolding', mode: 'observe' },
|
||||
]
|
||||
|
||||
const evidenceItems = [
|
||||
'security-rollout-policy.snapshot.json',
|
||||
'security-mirror-status-rollup.snapshot.json',
|
||||
'source-control-owner-response-validation-rollup.snapshot.json',
|
||||
'kali-integration-status.snapshot.json',
|
||||
]
|
||||
|
||||
const toneColors = {
|
||||
steady: '#1f7a4d',
|
||||
warn: '#b66a2d',
|
||||
locked: '#6f6d66',
|
||||
}
|
||||
|
||||
const page = {
|
||||
minHeight: 'calc(100vh - 68px)',
|
||||
background: '#f5f4ed',
|
||||
color: '#141413',
|
||||
padding: '22px',
|
||||
fontFamily: 'var(--font-body), monospace',
|
||||
}
|
||||
|
||||
const band = {
|
||||
background: '#fff',
|
||||
border: '0.5px solid #e0ddd4',
|
||||
borderRadius: 8,
|
||||
}
|
||||
|
||||
function ToneDot({ tone }: { tone: 'steady' | 'warn' | 'locked' }) {
|
||||
return (
|
||||
<span
|
||||
style={{
|
||||
width: 8,
|
||||
height: 8,
|
||||
borderRadius: 8,
|
||||
background: toneColors[tone],
|
||||
display: 'inline-block',
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
function MetricCard({ item }: { item: PostureMetric }) {
|
||||
const t = useTranslations('iwooos.metrics')
|
||||
return (
|
||||
<div style={{ ...band, padding: 14, minHeight: 96 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 10 }}>
|
||||
<span style={{ fontSize: 11, color: '#87867f' }}>{t(`${item.key}.label` as never)}</span>
|
||||
<ToneDot tone={item.tone} />
|
||||
</div>
|
||||
<div style={{ fontSize: 30, fontWeight: 700, marginTop: 8, lineHeight: 1 }}>{item.value}</div>
|
||||
<div style={{ fontSize: 11, color: '#6f6d66', marginTop: 8 }}>{t(`${item.key}.detail` as never)}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
function PillarCard({ item }: { item: Pillar }) {
|
||||
const t = useTranslations('iwooos.pillars')
|
||||
const Icon = item.icon
|
||||
return (
|
||||
<div style={{ ...band, padding: 16, minHeight: 154 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 }}>
|
||||
<Icon size={19} color={toneColors[item.tone]} />
|
||||
<span style={{ color: toneColors[item.tone], fontSize: 11, fontWeight: 700 }}>
|
||||
{t(`${item.key}.state` as never)}
|
||||
</span>
|
||||
</div>
|
||||
<h2 style={{ fontSize: 15, margin: '14px 0 6px', color: '#141413' }}>{t(`${item.key}.title` as never)}</h2>
|
||||
<p style={{ fontSize: 12, lineHeight: 1.55, color: '#6f6d66', margin: 0 }}>{t(`${item.key}.body` as never)}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
function LaneRow({ item, index }: { item: Lane; index: number }) {
|
||||
const t = useTranslations('iwooos.lanes')
|
||||
const tone = item.mode === 'observe' ? 'locked' : 'warn'
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: '42px minmax(0, 1fr) 92px',
|
||||
alignItems: 'center',
|
||||
gap: 12,
|
||||
padding: '10px 12px',
|
||||
borderBottom: index === nonBlockingLanes.length - 1 ? 'none' : '0.5px solid #eee9dd',
|
||||
}}
|
||||
>
|
||||
<span style={{ fontSize: 11, color: '#9b978b' }}>{String(index + 1).padStart(2, '0')}</span>
|
||||
<div>
|
||||
<div style={{ fontSize: 13, fontWeight: 700 }}>{t(`${item.key}.title` as never)}</div>
|
||||
<div style={{ fontSize: 11, color: '#6f6d66', marginTop: 3 }}>{t(`${item.key}.body` as never)}</div>
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
justifySelf: 'end',
|
||||
border: `0.5px solid ${toneColors[tone]}`,
|
||||
color: toneColors[tone],
|
||||
borderRadius: 8,
|
||||
padding: '4px 8px',
|
||||
fontSize: 11,
|
||||
fontWeight: 700,
|
||||
textTransform: 'uppercase',
|
||||
}}
|
||||
>
|
||||
{item.mode}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function IwoooSPage({ params }: { params: { locale: string } }) {
|
||||
const t = useTranslations('iwooos')
|
||||
|
||||
return (
|
||||
<AppLayout locale={params.locale} fullBleed>
|
||||
<main style={page}>
|
||||
<section
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(240px, 1fr))',
|
||||
gap: 14,
|
||||
marginBottom: 14,
|
||||
}}
|
||||
>
|
||||
<div style={{ ...band, padding: 20 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 10, marginBottom: 12 }}>
|
||||
<ShieldCheck size={22} color="#1f7a4d" />
|
||||
<span style={{ fontSize: 12, color: '#6f6d66' }}>{t('eyebrow')}</span>
|
||||
</div>
|
||||
<h1 style={{ margin: 0, fontSize: 34, lineHeight: 1, color: '#141413' }}>{t('title')}</h1>
|
||||
<p style={{ margin: '10px 0 0', color: '#6f6d66', fontSize: 13, lineHeight: 1.6, maxWidth: 760 }}>
|
||||
{t('subtitle')}
|
||||
</p>
|
||||
</div>
|
||||
<div style={{ ...band, padding: 18, display: 'flex', flexDirection: 'column', justifyContent: 'space-between' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, color: '#6f6d66', fontSize: 12 }}>
|
||||
<Lock size={16} />
|
||||
{t('boundary.label')}
|
||||
</div>
|
||||
<div style={{ fontSize: 22, fontWeight: 700, color: '#141413', marginTop: 12 }}>{t('boundary.state')}</div>
|
||||
<p style={{ fontSize: 12, color: '#6f6d66', lineHeight: 1.55, margin: '10px 0 0' }}>{t('boundary.detail')}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(150px, 1fr))',
|
||||
gap: 12,
|
||||
marginBottom: 14,
|
||||
}}
|
||||
>
|
||||
{postureMetrics.map(item => <MetricCard key={item.key} item={item} />)}
|
||||
</section>
|
||||
|
||||
<section
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(220px, 1fr))',
|
||||
gap: 12,
|
||||
marginBottom: 14,
|
||||
}}
|
||||
>
|
||||
{posturePillars.map(item => <PillarCard key={item.key} item={item} />)}
|
||||
</section>
|
||||
|
||||
<section
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(240px, 1fr))',
|
||||
gap: 14,
|
||||
}}
|
||||
>
|
||||
<div style={{ ...band, overflow: 'hidden' }}>
|
||||
<div style={{ padding: '14px 16px', borderBottom: '0.5px solid #e0ddd4' }}>
|
||||
<h2 style={{ fontSize: 15, margin: 0 }}>{t('lanes.title')}</h2>
|
||||
<p style={{ fontSize: 12, color: '#6f6d66', margin: '5px 0 0' }}>{t('lanes.subtitle')}</p>
|
||||
</div>
|
||||
{nonBlockingLanes.map((item, index) => <LaneRow key={item.key} item={item} index={index} />)}
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'grid', gap: 14 }}>
|
||||
<div style={{ ...band, padding: 16 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
||||
<Clock3 size={16} color="#b66a2d" />
|
||||
<h2 style={{ fontSize: 15, margin: 0 }}>{t('nextGate.title')}</h2>
|
||||
</div>
|
||||
<p style={{ fontSize: 12, color: '#6f6d66', lineHeight: 1.55, margin: 0 }}>{t('nextGate.body')}</p>
|
||||
</div>
|
||||
|
||||
<div style={{ ...band, padding: 16 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
||||
<CheckCircle2 size={16} color="#1f7a4d" />
|
||||
<h2 style={{ fontSize: 15, margin: 0 }}>{t('evidence.title')}</h2>
|
||||
</div>
|
||||
<div style={{ display: 'grid', gap: 7 }}>
|
||||
{evidenceItems.map(item => (
|
||||
<div key={item} style={{ fontSize: 11, color: '#6f6d66', wordBreak: 'break-word' }}>
|
||||
{item}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ ...band, padding: 16, borderColor: '#e6c8b8', background: '#fffaf7' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 }}>
|
||||
<AlertTriangle size={16} color="#b66a2d" />
|
||||
<h2 style={{ fontSize: 15, margin: 0 }}>{t('blocked.title')}</h2>
|
||||
</div>
|
||||
<p style={{ fontSize: 12, color: '#6f6d66', lineHeight: 1.55, margin: 0 }}>{t('blocked.body')}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</AppLayout>
|
||||
)
|
||||
}
|
||||
@@ -17,7 +17,7 @@ import React, { useEffect, useRef, useState, useCallback } from 'react'
|
||||
import { useTranslations } from 'next-intl'
|
||||
import { useRouter, usePathname } from 'next/navigation'
|
||||
import { useLocale } from 'next-intl'
|
||||
import { Search, Terminal, Home, Activity, Wrench, Shield, BookOpen, Settings, Zap, GitBranch } from 'lucide-react'
|
||||
import { Search, Terminal, Home, Activity, Wrench, Shield, BookOpen, Settings, Zap, GitBranch, Radar } from 'lucide-react'
|
||||
import { useTerminalStore } from '@/stores/terminal.store'
|
||||
import { Z_INDEX } from '@/lib/constants/z-index'
|
||||
|
||||
@@ -107,6 +107,14 @@ export function CommandPalette() {
|
||||
action: () => nav('/security-compliance'),
|
||||
keywords: ['security', '安全', 'compliance', '合規'],
|
||||
},
|
||||
{
|
||||
id: 'iwooos',
|
||||
label: t('actionGoIwooos'),
|
||||
group: t('groupNav'),
|
||||
icon: <Radar size={14} />,
|
||||
action: () => nav('/iwooos'),
|
||||
keywords: ['iwooos', 'information security', '資安網', '資安態勢'],
|
||||
},
|
||||
{
|
||||
id: 'knowledge',
|
||||
label: t('actionGoKnowledge'),
|
||||
|
||||
@@ -33,7 +33,7 @@ import {
|
||||
Wrench, Package, Ticket, DollarSign, Zap, FileText,
|
||||
BookOpen, Terminal, AppWindow, Server,
|
||||
Users, BellRing, CreditCard, HelpCircle, Settings,
|
||||
ChevronLeft, ChevronRight, Diff, BrainCircuit,
|
||||
ChevronLeft, ChevronRight, Diff, BrainCircuit, Radar,
|
||||
} from 'lucide-react'
|
||||
// Phase 8.0 #15: 改用 approval store SSE (移除 polling)
|
||||
import { useApprovalStore } from '@/stores/approval.store'
|
||||
@@ -85,6 +85,7 @@ const NAV_SECTIONS: NavSection[] = [
|
||||
{ id: 'automation', href: '/automation', labelKey: 'automation', Icon: Wrench },
|
||||
{ id: 'operations', href: '/operations', labelKey: 'operations', Icon: Package },
|
||||
{ id: 'security-compliance', href: '/security-compliance', labelKey: 'securityCompliance',Icon: Shield },
|
||||
{ id: 'iwooos', href: '/iwooos', labelKey: 'iwooos', Icon: Radar },
|
||||
{ id: 'knowledge', href: '/knowledge', labelKey: 'knowledge', Icon: BookOpen },
|
||||
{ id: 'governance', href: '/governance', labelKey: 'governance', Icon: ShieldCheck },
|
||||
{ id: 'awooop', href: '/awooop/work-items', labelKey: 'awooop', Icon: BrainCircuit },
|
||||
|
||||
Reference in New Issue
Block a user