log スクラビング - CI/CD用語集の定義
log スクラビングは、CI の log が保存または転送される前に、機密性の高いデータやノイズをフィルタリングして取り除きます。
log スクラビングは、runner の組み込みマスキングであれ、集約ツールに送る前に log をサニタイズする下流の pipeline であれ、CI の log 出力をフィルタリングして secret、PII、ノイズを取り除く手法です。
多層防御
最初の層として runner のマスキングに頼りつつ、log が GitHub を離れる場所(log フォワーダー、インシデントツール)でも再度スクラブしてください。マスキングをテストするために secret を echo してはいけません。マスキングが変換を見逃すと、その値は恒久的に漏洩します。
関連ガイド
Secret Masking - CI/CD Glossary DefinitionSecret Masking: Secret masking is the runner behavior that scans log output for registered secret values and…
Encrypted Secret - CI/CD Glossary DefinitionEncrypted Secret: An encrypted secret is a credential GitHub encrypts (using libsodium sealed boxes on upload…
Build Log - CI/CD Glossary DefinitionBuild Log: A build log is the recorded stdout and stderr of every step in a job. It is the primary evidence f…