知识卡片
日志也会泄露秘密
即使秘密存放在安全服务中,脚本、工具和应用仍可能把它打印进日志。流水线控制台、故障单和论坛上的日志片段都会扩大暴露范围。秘密扫描可帮助发现事故并触发轮换或撤销;安全存储不能替代对输出路径的检查。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 配置基础设施栈实例 · 查看原书依据
One of the most common ways for secrets to leak out, even when using the most sophisticated services and tools, is in logs. A script, application, or tool that happens to handle a secret may print it to a log or echo it to a console, where it is made available to people who shouldn’t
参考来源
- 位置:《Infrastructure As Code》第8章《配置基础设施栈实例》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch08.html)
- 结论依据:原文说明即使秘密存放在安全服务中,脚本、工具和应用仍可能把它打印进日志;本卡据此解释其用途及适用边界。
- 原始内容:One of the most common ways for secrets to leak out, even when using the most sophisticated services and tools, is in logs. A script, application, or tool that happens to handle a secret may print it to a log or echo it to a console, where it is made available to people who shouldn’t