知识卡片

普通读书笔记卡 · 517.g.2.a.3.a.1.a

离线验证分层使用

理解等级:中级

语法检查能快速发现拼写和解析错误;静态分析进一步检查风格、可维护性、安全和策略。连接平台 API 的静态检查还可判断镜像或实例类型是否存在,但不等于把代码与已部署资源对比。严格离线不连接外部服务,依赖漏洞数据库的扫描应明确标为联网验证。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 实现基础设施代码测试 · 查看原书依据

      Some of the stack tests that can run offline include syntax checking, static code analysis, supply-chain checks, static code analysis with the platform API, and testing with a mock API. Some validation tools work in a connected mode that depends on connectivity to a hosted

    参考来源

    - 位置:《Infrastructure As Code》第18章《实现基础设施代码测试》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch18.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“语法检查能快速发现拼写和解析错误;静态分析进一步检查风格、可维护性、安全和策略”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:Some of the stack tests that can run offline include syntax checking, static code analysis, supply-chain checks, static code analysis with the platform API, and testing with a mock API. Some validation tools work in a connected mode that depends on connectivity to a hosted