手動マスキング
v0.9 で導入
プロジェクト固有のトークンや社内ドメイン名、個人名など、個別に非表示にしたい情報がある場合は --mask オプションを使用します。
文字列の指定
Section titled “文字列の指定”マスクしたい文字列を --mask に渡します。
console2svg capture --mask "1234567890abcdef" -w 100 -h 12 \ -- echo "this value will be redacted:: 1234567890abcdef"複数パターンの指定
Section titled “複数パターンの指定”--mask オプションは複数回指定できます。
console2svg capture \ --mask "internal-host.local" \ --mask "admin_password" \ --mask "user[0-9]+" \ -- ./check.sh正規表現パターンにも対応しているため、規則的なIDやアカウント名もまとめてマスクできます。