feat(iwooos): gate Wazuh dashboard API readiness
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Successful in 1m44s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Successful in 1m44s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
## 2026-06-25|Wazuh Dashboard API 啟動檢查退化納入 Gate
|
||||
|
||||
**背景**:最新 Wazuh Dashboard 畫面顯示 Dashboard 本身可進入,`alerts`、`monitoring`、`statistics` index pattern 已通過;但 `Check API connection` 仍停在等待 / 旋轉狀態,`Check API version` 尚未驗證。這代表 Wazuh Dashboard 可見與索引可讀,不能被誤報為 Manager API 已通、agent registry 已恢復或 Wazuh 全主機納管完成。
|
||||
|
||||
**本輪更新**:
|
||||
- `docs/security/wazuh-agent-visibility-runtime-gate.snapshot.json` 新增 dashboard startup check 欄位:API connection `pending_or_spinning`、API version `not_verified`、index pattern ok `3`、API connection ok `0`、API version ok `0`。
|
||||
- `scripts/security/wazuh-agent-visibility-runtime-gate.py` 加嚴檢查上述狀態,避免後續把 Dashboard 可見改成假綠。
|
||||
- `/zh-TW/iwooos` 的 Wazuh 主機納管覆蓋 Gate 將 `HC-5` 改為 `API 卡住`,並在邊界鍵值顯示 startup check 與 index pattern 狀態。
|
||||
- `apps/web/messages/en.json` 繼續與 `zh-TW.json` 維持繁中鏡像。
|
||||
|
||||
**完成度**:
|
||||
- Wazuh Dashboard startup check 納管:`100%` source-side。
|
||||
- Dashboard index pattern readback:`3 / 3`。
|
||||
- Dashboard API connection accepted:`0%`。
|
||||
- Dashboard API version accepted:`0%`。
|
||||
- Wazuh manager registry accepted:`0%`。
|
||||
- runtime gate / host write / active response / agent reenroll / restart / secret patch:`0%`。
|
||||
|
||||
**邊界**:本輪只根據使用者提供的畫面做脫敏狀態建模與 repo-side guard;沒有保存截圖、沒有公開內網位址、沒有讀 Wazuh secret、沒有查 Wazuh manager live API、沒有 SSH、沒有重啟 Wazuh、沒有修改 Nginx / firewall / Docker / K8s,也沒有 active scan 或 active response。
|
||||
|
||||
## 2026-06-25|IwoooS 資安作戰系統 source-side 補強
|
||||
|
||||
**背景**:IwoooS 已有資產總帳、外部入侵防堵矩陣、SOC / SIEM / Kali / Wazuh 整合矩陣與 Wazuh route / registry no-false-green gate,但仍需要一份更高層的作戰系統,把業界主流框架、即時危害分流、告警訊息合約、AI 自動化閉環、跨 session 同步與停止線固定成同一個可驗證 program。
|
||||
|
||||
@@ -15,6 +15,15 @@
|
||||
"agent_transport_connected_observed": true,
|
||||
"manager_transport_established_connection_count": 6,
|
||||
"dashboard_api_degraded_observed": true,
|
||||
"dashboard_startup_check_observed": true,
|
||||
"dashboard_api_connection_check_status": "pending_or_spinning",
|
||||
"dashboard_api_version_check_status": "not_verified",
|
||||
"dashboard_alerts_index_pattern_check_status": "ok",
|
||||
"dashboard_monitoring_index_pattern_check_status": "ok",
|
||||
"dashboard_statistics_index_pattern_check_status": "ok",
|
||||
"dashboard_index_pattern_ok_count": 3,
|
||||
"dashboard_api_connection_ok_count": 0,
|
||||
"dashboard_api_version_ok_count": 0,
|
||||
"dashboard_stored_api_unreachable_observed": true,
|
||||
"dashboard_api_login_500_observed": true,
|
||||
"dashboard_api_rate_limited_observed": true,
|
||||
@@ -54,6 +63,11 @@
|
||||
"status": "degraded_current_observed",
|
||||
"evidence": "dashboard plugin 在 stored API、login、API check 與 TLS client trust 路徑觀察到 400、429、500 與權限錯誤",
|
||||
"completion_percent": 70
|
||||
},
|
||||
"dashboard_startup_check": {
|
||||
"status": "api_connection_pending_index_patterns_ok",
|
||||
"evidence": "Dashboard 啟動畫面可見且 alerts、monitoring、statistics index pattern 已通過;API connection 仍未完成,API version 尚未驗證",
|
||||
"completion_percent": 45
|
||||
}
|
||||
},
|
||||
"registry_counts": {
|
||||
@@ -73,6 +87,7 @@
|
||||
"wazuh_api_run_as_or_internal_user_permission_mismatch",
|
||||
"dashboard_api_check_rate_limited",
|
||||
"dashboard_tls_client_trust_mismatch",
|
||||
"dashboard_frontend_index_patterns_ok_but_manager_api_check_pending",
|
||||
"manager_registry_read_permission_missing_for_current_readonly_user"
|
||||
],
|
||||
"required_evidence_before_green": [
|
||||
@@ -105,6 +120,9 @@
|
||||
"required_fields": [
|
||||
"stored_api_status",
|
||||
"api_check_status",
|
||||
"api_connection_check_status",
|
||||
"api_version_check_status",
|
||||
"index_pattern_check_statuses",
|
||||
"rate_limit_status",
|
||||
"tls_trust_status"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user