Combining DevSecOps and CI/CD

A DevSecOps practice needs to be embedded with every step of the CI/CD pipeline. DevSecOps ensures the security of the CI/CD pipeline by managing the right access and roles assigned to each server and making sure the build servers such as Jenkins are hardened to be protected from any security glitch. In addition to that, we need to make sure that all artifacts are validated, and code analysis is in place. It's better to be ready for incident response by automating continuous compliance validation and incident response remediation.

The following screenshot provides us with multiple stages to test security boundaries and catch security issues and compliance with policies as early as possible:

DevSecOps and CI/CD

At each integration point, you can identify different issues, as illustrated in the preceding diagram:

  • In the coding phase, scan all code to make sure no secret key or access key is hardcoded in between code lines.
  • During the build, include all security artifacts such as the encryption key and access token management, and tag them to identify them.
  • During the test, scan the configuration to make sure all security standards are met by test security.
  • In the deploy and provision phase, make sure all security components are registered. Perform a checksum to make sure there are no changes in the build files.
  • Monitor all security standards during the monitoring phase. Perform continuous audit and validation in an automated way.

DevSecOps CI/CD gives us confidence that code is validated against the corporate security policy. It helps to avoid any infrastructure and application failure in later deployment due to different security configurations. DevSecOps maintains agility and ensures security at scale without affecting DevOps' pace of innovation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.32.86