您可以控制是否將 IP 位址和主機名稱等機密資訊顯示在健全狀況檢查 API https://WS1AccessHostnameFQDN/SAAS/jersey/manager/api/system/health 和 https://WS1AccessHostnameFQDN/SAAS/API/1.0/REST/system/health 的輸出中。依預設,API 輸出不包含此資訊。
runtime-config.properties 檔案中的 service.health.check.basic 內容會控制此設定。當內容設為 true 時,僅會顯示基本資訊,而機密資訊會隱藏。輸出中的「不明」標籤表示資訊受到限制。例如:
AnalyticsUrl: "unknown"
OpensearchServiceOk: "true"
EhCacheClusterPeers: "unknown"
OpensearchMasterNode: "unknown"
OpensearchIndicesCount "unknown"
OpensearchDocsCount: "unknown"
AuditPollInterval: "1000"
AnalyticsConnectionOk: "true"
...
IpAddress: "unknown"
AuditDisabled: "false"
AllOk: "true"
當內容設為 false 時,系統會顯示所有可用資訊。例如:
AnalyticsUrl: "http://198.51.100.0"
OpensearchServiceOk: "true"
EhCacheClusterPeers: ""
OpensearchMasterNode: "198.51.100.1"
OpensearchIndicesCount: "13"
OpensearchDocsCount: "11173"
AuditPollInterval: "1000"
AnalyticsConnectionOk: "true"
...
IpAddress: "198.51.100.2"
AuditDisabled: "false"
AllOk: "true"
依預設,內容會設定為 true。
**附註:**如果您已設定 Omnissa Access 叢集,則在變更內容時請確實對叢集中的所有節點進行變更。
程序
-
以 root 使用者身分登入 Omnissa Access 虛擬應用裝置。
-
編輯 /usr/local/horizon/conf/runtime-config.properties 檔案,並將
service.health.check.basic內容的值設為 true 或 false。選項 說明 true 僅顯示基本資訊。系統會隱藏機密資訊,並在該位置顯示未知標籤。 false 顯示所有可用資訊 -
儲存檔案。
-
重新啟動服務。
service horizon-workspace restart -
如果您已設定 Omnissa Access 叢集,請在叢集的每個節點中進行這些變更。
此頁面對您有幫助嗎?