Sitemap

Shift Left with AWS Codepipleine — Scanning every single code change

7 min readMay 18, 2021

--

Press enter or click to view image in full size

Shift-left refers to the measures implemented to ensure that security concerns are taken into consideration during the whole application development, rather than at the end of the process. The goal of shift-left security is to identify and resolve potential vulnerabilities earlier in the development life cycle, when these issues are less expensive to fix.

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size

I worked on writing buildspec for multiple security checks namely — Secret scanning in git commits, Soure code scanning, DAST, Dockerfile linting, and Docker trusted images check. Below is the screenshot of some security checks I have integrated using open-source projects to automate security testing into AWS CI/CD Codepipeline.

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size
Trufflehog buildspec.yml
Press enter or click to view image in full size
Press enter or click to view image in full size

--

--

Avinash Jain (@logicbomb)
Avinash Jain (@logicbomb)

Security Engineer @Microsoft | DevSecOps | Speaker | Breaking stuff to learn | Featured in Forbes, BBC| Acknowledged by Google, NASA, Yahoo, UN etc