[{"data":1,"prerenderedAt":10},{"public-news:news_d095ea3f-6860-4063-8383-af97e85e19db":2},{"id":3,"news":4,"error":9},"news_d095ea3f-6860-4063-8383-af97e85e19db",{"id":3,"title":5,"content":6,"authorName":7,"publishedAt":8},"GitHub 預覽 Actions 日誌憑證掃描：啟用條件與警示限制","GitHub 於 2026 年 11 月 9 日開放 GitHub Actions workflow log scanning 公開預覽。每次 workflow run 完成後，GitHub 會掃描執行日誌中的供應商憑證樣式。發現項目會列入 Repository 的 Secret scanning alerts，並附上相關 workflow log 連結。支援的憑證類型會進行有效性檢查；刪除日誌後，告警仍會保留。\n\n啟用此預覽需要 GitHub Enterprise Cloud，以及 GitHub Secret Protection 或 GitHub Advanced Security。Enterprise owner 可在 Settings → Policies → Advanced Security，將 All repositories 的 Actions workflow log scanning 設為 Enabled。此功能預設停用，適用於授權方案下已啟用 secret scanning 的 Repository。\n\n預覽期間只掃描啟用後完成的 workflow runs，不回補既有日誌。通用型樣式、自訂樣式、AI 偵測到的憑證，以及已由 Actions 遮罩的內容不在掃描範圍。預覽期間不會為這類告警發送通知，維運人員需直接檢查 Secret scanning alerts。\n\n維護工作流程時，避免將 token、API key 與密碼輸出至日誌。發現憑證外洩時，立即撤銷並輪替該憑證，並檢查其使用紀錄。日誌掃描可補充既有憑證管理與審查流程。\n\n延伸實作課程以 Codex 檢視合成 Node.js 專案，練習建立受控工作區、Source Map、追蹤資料流與整理可重現的安全驗證任務。課程內容不包含 GitHub Actions Secret Scanning 的設定操作。\n\nCodex 資安修補實戰 01：建立受控工作區\nhttps://www.mokoversity.com/courses/codex-security-controlled-workspace\n\nCodex 資安修補實戰 02：使用 Codex 發現與驗證程式弱點\nhttps://www.mokoversity.com/courses/codex-security-finding-triage\n\nGitHub 官方公告：\nhttps://github.blog/changelog/2026-11-09-secret-scanning-detects-secrets-in-github-actions-workflow-logs/","moko365","2026-11-10T18:26:21.378Z","",1794324759588]