September 28, 2022

Robotic Notes

All technology News

Fixing vulnerabilities in infrastructure as code for enhanced security

3 min read

The mass adoption of infrastructure as code not only revamps deployment velocity, but also introduces new kinds of risks based on the urge to deploy applications across multiple environments.

To mitigate these risks, a new approach to scanning whether the open-source package is vulnerable or not was created. Checkov, a static analysis tool for infrastructure as code, enables IaC inspection in complex distributed environments.

Checkov goes beyond runtime scanning of cloud infrastructure and cloud-native clusters to include fixing any security misconfigurations at the code level, according to Barak Schoster (pictured), senior director and chief architect at Palo Alto Networks, which acquired Check’s creator Bridgecrew in March 2021.

“We started doing infrastructure as code with Terraform, Kubernetes manifest, CloudFormation, serverless, and the list goes on, and we created an open-source product around it named Checkov, which has an amazing community of hundreds of contributors,” Schoster said. “We will scan your infrastructure code, your application packages that you’re using from package managers like NPM or PyPI, and we scan those open-source dependencies. Let’s say you have a vulnerable open-source package, and it was fixed in a later version… we will bump the version for you to make your code secure. ”

Schoster spoke with theCUBE industry analyst John Furrier during a recent digital CUBE Conversation. They discussed why scanning infrastructure as code is fundamental when mitigating risks in complex distributed environments.

Scrutinizing the entire software bill of materials

A new approach of analyzing the whole software bill of materials, known as SBOM, has been necessitated to comprehend the different risks, making infrastructure as code more efficient, according to Schoster.

“We empower the engineer with tools to analyze the entire dependency tree of your software bill of materials,” Schoster stated. “The thing that we will always focus on is making a fix accessible to you… let’s say that you’re using a misconfigured backup; we have a bot that will fix the code for you. ”

By inspecting configurations in CI / CD and runtime, Schoster believes vulnerabilities are addressed beforehand.

“You should vet all of the open-source Terraform modules that you’re using, because you might have a leakage,” he pointed out. “We rely a lot on cloud infrastructure, and in the past year, cloud providers have disclosed that they were vulnerable to Log4Shell attack. So we understand today that when we talk about cloud security, it’s not only about the infrastructure itself, but is also the infrastructure’s open-source vulnerable package? ”

By making security teams enablers instead of gatekeepers that block releases, best practices allow for a simplified yet secure process surrounding infrastructure as code.

“We tried to and succeeded to democratize the creation of policy as code, the ability to inspect your infrastructure as code and tell you,‘ Hey, this is the best practice you should consider using before applying a misconfigured S3 bucket into production or before applying a misconfigured Kubernetes cluster into your production or dev environment. ”

Watch the complete video interview below, and be sure to check out more of SiliconANGLE’s and theCUBE’s CUBE Conversations.

Photo: SiliconANGLE

Show your support for our mission by joining our Cube Club and Cube Event Community of experts. Join the community that includes Amazon Web Services and CEO Andy Jassy, ​​Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger and many more luminaries and experts.

Source link