{"id":97154,"date":"2024-08-06T06:23:11","date_gmt":"2024-08-06T06:23:11","guid":{"rendered":"https:\/\/staging.checkmarx.com\/?post_type=learn&#038;p=97154"},"modified":"2024-11-11T12:56:54","modified_gmt":"2024-11-11T12:56:54","slug":"iac-security-best-practices-how-to-secure-infrastructure-as-code","status":"publish","type":"learn","link":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/","title":{"rendered":"Iac Security Best Practices &#8211; how to secure infrastructure as code"},"content":{"rendered":"<h2 class=\"wp-block-heading article-anchor\" id=\"article-anchor-1\"><span style=\"font-weight: 400;\">What is IaC Security?<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">IaC (Infrastructure as Code) is the management and provisioning of IT infrastructure through code, rather than through manual processes. It is about using scripts to set up, provision and manage hardware, operating systems, configurations, Kubernetes clusters, third-party services and more. With IaC, developers can automate processes, track versions and reuse code. This results in higher scalability and efficiency.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/07\/iac_security-1024x575.webp\" alt=\"IaC security Iluustration\" class=\"wp-image-96963\" srcset=\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/07\/iac_security-1024x575.webp 1024w, https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/07\/iac_security-300x168.webp 300w, https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/07\/iac_security-768x431.webp 768w, https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/07\/iac_security.webp 1101w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">However, IaC brings new security challenges. These include misconfigurations, poor handling of Secrets, drift, unauthorized access, vulnerabilities and more. IaC security is the practice of securing the IaC codebase and the resources managed using IaC, to prevent breaches.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading article-anchor\" id=\"article-anchor-2\"><span style=\"font-weight: 400;\">How to Implement Infrastructure as Code<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">There are two primary methods for developing IaC, according to infrastructure as code principles:<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<b> Declarative (Functional) Configuration<\/b><span style=\"font-weight: 400;\"> &#8211; Specifying the desired state of infrastructure without explicitly listing the steps to achieve it. It&#8217;s about defining the end goal, like how many servers should run, which applications should be installed, or which services should be active. Then, the underlying system or tool is responsible for figuring out how to achieve that state. This approach often simplifies management and interpretation of IaC configurations. Popular tools that support this approach include Terraform, AWS CloudFormation and Kubernetes configuration files.<\/span>\n<\/li>\n\n\n\n<li>\n<b> Imperative (Procedural) Configuration <\/b><span style=\"font-weight: 400;\">&#8211; Specifying the sequence of commands or actions to reach the desired state. It\u2019s about detailing the &#8216;how&#8217; and providing a step-by-step guide for setting up the infrastructure. This method offers more control over the provisioning process but can become complex, especially in large environments or when changes to the infrastructure are frequent. Ansible, Chef and Puppet are examples of tools that can be used for imperative IaC.<\/span>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading article-anchor\" id=\"article-anchor-3\"><span style=\"font-weight: 400;\">Common Infrastructure as Code Risks<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">IaC offers developer productivity benefits, but also security risks. These include:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\n<span style=\"font-weight: 400;\">Since infrastructure setup is defined through code, errors in the code can lead to <\/span><b>misconfigured IaC templates and environments.<\/b><span style=\"font-weight: 400;\"> This could result in a range of risks, from exposing sensitive data due to incorrect access settings to over-provisioning resources.<\/span>\n<\/li>\n\n\n\n<li>\n<span style=\"font-weight: 400;\">IaC scripts can<\/span><b> accidentally embed secrets or sensitive information<\/b><span style=\"font-weight: 400;\">, such as passwords or API keys. If these scripts are stored in version control systems <\/span><b>without proper access controls<\/b><span style=\"font-weight: 400;\">, they can expose sensitive information.<\/span>\n<\/li>\n\n\n\n<li>\n<span style=\"font-weight: 400;\">Manually changing the infrastructure directly, outside of the IaC processes, can lead to <\/span><b>drift<\/b><span style=\"font-weight: 400;\">, which are inconsistencies between the actual state and the code-defined state of the infrastructure. This can lead to deployment failures and breaches.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Outdated dependencies and modules<\/b><span style=\"font-weight: 400;\"> within IaC can also introduce security vulnerabilities.<\/span>\n<\/li>\n<\/ul>\n\n\n<section class=\"section-block-info light-theme\">\n    <div class=\"main-wrapper block-info__wrapper\">\n        <div class=\"block-info center\">\n\t\t\t\n\t\t\t<h2 class=\"section-title article-anchor\" id=\"article-anchor-4\">Scan, Triage, Alert and Fix  Everywhere<\/h2>\t\t\t<p class=\"section-description\">IaC Security strengthens cloud infrastructure with advanced scanning, proactive vulnerability identification and robust misconfiguration detection<\/p>\n\t\t\t<div class=\"actions\">\n\t\t\t\t        <a href=\"https:\/\/checkmarx.com\/product\/iac-security\/\" class=\"btn btn-2 btn-bg white demo\">Discover IaC Security<\/a>\n        \t\t\t\t        <a href=\"https:\/\/info.checkmarx.com\/devex-fusion-use-cases?_gl=1*105ijdx*_gcl_au*ODE2MzM2MjkzLjE3MjQwNTAwNzc.*_ga*NjM3NTM2OTA1LjE3MTYyMTA1NTM.*_ga_TGCYJYTE53*MTcyNzY5NTMwMi4yOTkuMS4xNzI3NzAwNTU3LjYwLjAuMA..\" class=\"btn btn-2 btn-bg border-2 demo\">Getting the Most out of Consolidation <\/a>\n        \t\t\t<\/div>\n        <\/div>\n    <\/div>\n<\/section>\n\n\n<h2 class=\"wp-block-heading article-anchor\" id=\"article-anchor-5\"><span style=\"font-weight: 400;\">How to Defend Against IaC Risks: IaC Security Best Practices<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">To protect your infrastructure and source code from IaC-related security risks, follow these infrastructure as code security best practices.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">How to secure infrastructure as code:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\n<b>Use version control systems<\/b><span style=\"font-weight: 400;\"> to manage and track changes to your infrastructure scripts.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Implement a code review process<\/b><span style=\"font-weight: 400;\"> for your IaC templates. Having another set of eyes on the code helps in identifying potential security issues, logic errors, or misconfigurations that could lead to vulnerabilities. This also promotes <\/span><b>a culture of security and quality.<\/b><span style=\"font-weight: 400;\"> A security IDE plugin can also help.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Use static analysis tools<\/b><span style=\"font-weight: 400;\"> designed for IaC to detect misconfigurations, hardcoded secrets and other security issues before they are deployed. These tools can integrate with your CI\/CD pipeline, to provide automated security checks during the development process.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Engage in dynamic analysis<\/b><span style=\"font-weight: 400;\">. This helps in identifying runtime issues that static analysis might miss, including interactions with other services and runtime permissions issues.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Avoid hardcoding secrets<\/b><span style=\"font-weight: 400;\"> like passwords, API keys, and tokens in your IaC scripts. Use a secure secrets management solution to inject these values at runtime. This reduces the risk of exposure and makes it easier to rotate secrets regularly.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Apply the principle of least privilege<\/b><span style=\"font-weight: 400;\"> to your IaC scripts. Overprivileged accounts can lead to significant security risks if compromised.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Monitor infrastructure drift <\/b><span style=\"font-weight: 400;\">to help you respond quickly to potential security incidents or misconfigurations.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Prevent modification of infrastructure<\/b><span style=\"font-weight: 400;\"> post-deployment (immutability).<\/span>\n<\/li>\n\n\n\n<li>\n<b>Regularly update and patch<\/b><span style=\"font-weight: 400;\"> components like dependencies, modules and images.<\/span>\n<\/li>\n\n\n\n<li>\n<b>Manage inventory with an SBOM<\/b><span style=\"font-weight: 400;\"> so you always have an updated and accurate picture of the attack surface.<\/span>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading article-anchor\" id=\"article-anchor-6\"><span style=\"font-weight: 400;\">IaC Security with Checkmarx<\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/checkmarx.com\/product\/iac-security\/\"><span style=\"font-weight: 400;\">Checkmarx<\/span><\/a><span style=\"font-weight: 400;\"> secures IaC templates with advanced scanning, vulnerability identification and misconfiguration detection, following IAc best practices 2024 for IaC security 2024.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Main capabilities include:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Scanning and detecting vulnerabilities and misconfigurations early in the SDLC and in the IDE.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Prioritization of vulnerabilities and misconfigurations.\u00a0<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Automated ticketing for remediation.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Tailoring of securing rules to alert and halt builds.<\/span><\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/checkmarx.com\/request-a-demo\/\"><span style=\"font-weight: 400;\">Secure your IaC templates today.<\/span><\/a><\/p>\n\n\n\n<p>&nbsp;<\/p>","protected":false},"author":94,"featured_media":97199,"parent":0,"menu_order":0,"template":"","meta":{"_acf_changed":true,"footnotes":""},"learn-cat":[857],"class_list":["post-97154","learn","type-learn","status-publish","has-post-thumbnail","hentry","learn-cat-iac-security"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Iac Security Best Practices - how to secure infrastructure as code<\/title>\n<meta name=\"description\" content=\"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Iac Security Best Practices - how to secure infrastructure as code\" \/>\n<meta property=\"og:description\" content=\"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Checkmarx\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Checkmarx.Source.Code.Analysis\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-11T12:56:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1792\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@checkmarx\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\"},\"author\":{\"name\":\"Sagy Kratu\",\"@id\":\"https:\/\/checkmarx.com\/#\/schema\/person\/59afb6ca8aa5a87ace0efd827b3e3e24\"},\"headline\":\"Iac Security Best Practices &#8211; how to secure infrastructure as code\",\"datePublished\":\"2024-08-06T06:23:11+00:00\",\"dateModified\":\"2024-11-11T12:56:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\"},\"wordCount\":749,\"publisher\":{\"@id\":\"https:\/\/checkmarx.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\",\"url\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\",\"name\":\"Iac Security Best Practices - how to secure infrastructure as code\",\"isPartOf\":{\"@id\":\"https:\/\/checkmarx.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png\",\"datePublished\":\"2024-08-06T06:23:11+00:00\",\"dateModified\":\"2024-11-11T12:56:54+00:00\",\"description\":\"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage\",\"url\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png\",\"contentUrl\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png\",\"width\":1792,\"height\":1024,\"caption\":\"IaC Security Hero Image\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/checkmarx.com\/#website\",\"url\":\"https:\/\/checkmarx.com\/\",\"name\":\"Checkmarx\",\"description\":\"The world runs on code. We secure it.\",\"publisher\":{\"@id\":\"https:\/\/checkmarx.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/checkmarx.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/checkmarx.com\/#organization\",\"name\":\"Checkmarx\",\"url\":\"https:\/\/checkmarx.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/checkmarx.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/02\/logo-dark.svg\",\"contentUrl\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/02\/logo-dark.svg\",\"width\":1,\"height\":1,\"caption\":\"Checkmarx\"},\"image\":{\"@id\":\"https:\/\/checkmarx.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Checkmarx.Source.Code.Analysis\",\"https:\/\/x.com\/checkmarx\",\"https:\/\/www.youtube.com\/user\/CheckmarxResearchLab\",\"https:\/\/www.linkedin.com\/company\/checkmarx\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/checkmarx.com\/#\/schema\/person\/59afb6ca8aa5a87ace0efd827b3e3e24\",\"name\":\"Sagy Kratu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/checkmarx.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/06\/avatar_94.png\",\"contentUrl\":\"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/06\/avatar_94.png\",\"caption\":\"Sagy Kratu\"},\"url\":\"https:\/\/checkmarx.com\/author\/sagykratu\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Iac Security Best Practices - how to secure infrastructure as code","description":"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/","og_locale":"en_US","og_type":"article","og_title":"Iac Security Best Practices - how to secure infrastructure as code","og_description":"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.","og_url":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/","og_site_name":"Checkmarx","article_publisher":"https:\/\/www.facebook.com\/Checkmarx.Source.Code.Analysis","article_modified_time":"2024-11-11T12:56:54+00:00","og_image":[{"width":1792,"height":1024,"url":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@checkmarx","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#article","isPartOf":{"@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/"},"author":{"name":"Sagy Kratu","@id":"https:\/\/checkmarx.com\/#\/schema\/person\/59afb6ca8aa5a87ace0efd827b3e3e24"},"headline":"Iac Security Best Practices &#8211; how to secure infrastructure as code","datePublished":"2024-08-06T06:23:11+00:00","dateModified":"2024-11-11T12:56:54+00:00","mainEntityOfPage":{"@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/"},"wordCount":749,"publisher":{"@id":"https:\/\/checkmarx.com\/#organization"},"image":{"@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage"},"thumbnailUrl":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/","url":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/","name":"Iac Security Best Practices - how to secure infrastructure as code","isPartOf":{"@id":"https:\/\/checkmarx.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage"},"image":{"@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage"},"thumbnailUrl":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png","datePublished":"2024-08-06T06:23:11+00:00","dateModified":"2024-11-11T12:56:54+00:00","description":"IaC brings efficiency but also security risks. With these IaC Security best practices you will safely implement and run Infrastructure-as-Code. Start today.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/checkmarx.com\/learn\/iac-security\/iac-security-best-practices-how-to-secure-infrastructure-as-code\/#primaryimage","url":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png","contentUrl":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/08\/Iac-Security-Best-Practices-\u2013-how-to-secure-infrastructure-as-code.png","width":1792,"height":1024,"caption":"IaC Security Hero Image"},{"@type":"WebSite","@id":"https:\/\/checkmarx.com\/#website","url":"https:\/\/checkmarx.com\/","name":"Checkmarx","description":"The world runs on code. We secure it.","publisher":{"@id":"https:\/\/checkmarx.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/checkmarx.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/checkmarx.com\/#organization","name":"Checkmarx","url":"https:\/\/checkmarx.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/checkmarx.com\/#\/schema\/logo\/image\/","url":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/02\/logo-dark.svg","contentUrl":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/02\/logo-dark.svg","width":1,"height":1,"caption":"Checkmarx"},"image":{"@id":"https:\/\/checkmarx.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Checkmarx.Source.Code.Analysis","https:\/\/x.com\/checkmarx","https:\/\/www.youtube.com\/user\/CheckmarxResearchLab","https:\/\/www.linkedin.com\/company\/checkmarx"]},{"@type":"Person","@id":"https:\/\/checkmarx.com\/#\/schema\/person\/59afb6ca8aa5a87ace0efd827b3e3e24","name":"Sagy Kratu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/checkmarx.com\/#\/schema\/person\/image\/","url":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/06\/avatar_94.png","contentUrl":"https:\/\/checkmarx.com\/wp-content\/uploads\/2024\/06\/avatar_94.png","caption":"Sagy Kratu"},"url":"https:\/\/checkmarx.com\/author\/sagykratu\/"}]}},"_links":{"self":[{"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/learn\/97154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/learn"}],"about":[{"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/types\/learn"}],"author":[{"embeddable":true,"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/users\/94"}],"version-history":[{"count":0,"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/learn\/97154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/media\/97199"}],"wp:attachment":[{"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/media?parent=97154"}],"wp:term":[{"taxonomy":"learn-cat","embeddable":true,"href":"https:\/\/checkmarx.com\/wp-json\/wp\/v2\/learn-cat?post=97154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}