fix(iwooos): redact Wazuh frontend copy
This commit is contained in:
@@ -1,3 +1,28 @@
|
||||
## 2026-06-25|IwoooS Wazuh 前台文案脫敏與繁中化
|
||||
|
||||
**背景**:Wazuh 用戶端消失事故的前台說明不能只把工程代碼、英文流程詞或直白主機別名丟給使用者看。本輪只修 `/zh-TW/iwooos` Wazuh 回讀卡片文案,不新增 runtime action。
|
||||
|
||||
**完成**:
|
||||
- Wazuh 入侵回讀卡片移除英文回讀字樣、直白受管節點別名與半英文流程詞,改成繁中治理語。
|
||||
- 直白主機別名類描述改為 `兩台受管節點`,避免把內部主機別名當產品文案。
|
||||
- `active response / host write / action button` 等前台文字改為 `主動回應 / 主機寫入 / 操作按鈕`。
|
||||
- `zh-TW` 與目前鏡像訊息檔同步,避免雙語檔漂移。
|
||||
|
||||
**驗證**:
|
||||
- `node -e "JSON.parse(...)"`:`zh-TW` / `en` JSON 解析通過。
|
||||
- `cmp -s apps/web/messages/zh-TW.json apps/web/messages/en.json`:通過。
|
||||
- `pnpm --filter @awoooi/web typecheck`:通過。
|
||||
- `python3 scripts/security/security-mirror-progress-guard.py --root .`:通過。
|
||||
- `python3 scripts/security/wazuh-readonly-route-boundary-guard.py --root .`:通過。
|
||||
- 本地 Chrome smoke `/zh-TW/iwooos` desktop `1440x1100` 與 mobile `390x1200`:Wazuh 回讀卡片可見、`horizontalOverflow=0`、卡片內未出現直白主機別名、英文回讀字樣或工作視窗片段。
|
||||
|
||||
**完成度同步**:
|
||||
- IwoooS Wazuh 前台文案脫敏與繁中化:`100%` source-side。
|
||||
- IwoooS Wazuh 前台可讀性:`88% -> 91%`。
|
||||
- production deploy、Wazuh manager registry live readback、Dashboard stored API 修復、owner response、active response / host write:仍維持 `0%`。
|
||||
|
||||
**邊界**:沒有查 live Wazuh API、沒有 SSH、沒有讀 secret、沒有重啟或修改 Wazuh / Docker / Nginx / firewall,也沒有把工作視窗對話放進頁面。
|
||||
|
||||
## 2026-06-25|Wazuh agent registry no-false-green
|
||||
|
||||
**背景**:Wazuh 用戶端消失事故不能只靠 Dashboard 畫面或 agent service active 判定。原本 IwoooS 只讀 API 在 Wazuh metadata 可查時會回 `readonly_metadata_available`,但如果 manager registry 回 `agent_total=0` 或低於預期下限,前台與驗收工具仍可能誤讀成正常。
|
||||
|
||||
Reference in New Issue
Block a user