Add AppSec to Your CircleCI Pipeline With the StackHawk Orb
Blog post from StackHawk
In a modern CI/CD environment, automation plays a crucial role in enhancing software development by streamlining processes like linting, compiling, and testing, thereby improving efficiency and code quality. StackHawk introduces test-driven security into this automated pipeline by utilizing CircleCI Orbs, which package complex code into reusable components. The blog post demonstrates how to integrate security scans using StackHawk's tools, specifically through the hawkscan-remote and hawkscan-local jobs, which cater to different scanning needs. The example centers on scanning a vulnerable Django web application within CircleCI, leveraging StackHawk's features such as route discovery and OpenAPI spec parsing. Configuration files like stackhawk.yml and stackhawk-circleci.yml are used to customize and control the scanning process, while the CircleCI config file orchestrates the build and scan workflow. This approach ensures that security vulnerabilities are identified and addressed efficiently within the development pipeline, with results accessible through the StackHawk console.