The increasing use of Infrastructure as Code (IaC) in DevOps leads to benefits in speed and reliability of deployment operation, but extends to infrastructure challenges typical of software systems. IaC scripts can contain defects that result in security and reliability issues in the deployed infrastructure: techniques for detecting and preventing them are needed. We analyze and survey the current state of research in this respect by conducting a literature review on static analysis techniques for IaC. We describe analysis techniques, defect categories and platforms targeted by tools in the literature.
翻译:在DevOps中越来越多地使用基础设施代码(IaC)为部署作业的速度和可靠性带来好处,但延伸到软件系统典型的基础设施挑战。IaC脚本可能含有缺陷,导致已部署基础设施的安全和可靠性问题:需要探测和预防技术。我们通过对IaC静态分析技术进行文献审查,分析和调查这方面的研究现状。我们描述了文献工具针对的分析技术、缺陷类别和平台。