Integrate Your Favorite CI/CD Tool
Select your preferred CI/CD tool from the dropdown, and we will provide the necessary YAML configuration script to get you started.
This GitHub Actions workflow automates essential post-build and post-test security tasks. After the Build job, the post_build step sends a POST request to a proxy server to discover any new routes in your codebase. Following the Test job, the post_test step triggers another POST request to run Static Application Security Testing (SAST) and Dynamic Application Security Testing (DAST) on your codebase, automatically alerting you to any detected vulnerabilities. This automation helps ensure the ongoing security and reliability of your application.
Update Your Pipeline
Add the highlighted lines (in green) to your existing pipeline script to automate post-build route discovery and post-test security checks.
1name: CI 2on: [push] 3jobs: 4 build: 5 runs-on: ubuntu-latest 6 steps: 7 - uses: actions/checkout@v2 8 - name: Build 9 run: # Existing build steps 10+ - name: post_build 11+ run: | 12+ curl -X POST https://your-proxy-server.com/api/post-build -H "Content-Type: application/json" -d '{"buildId": "$/{{ github.run_id }}", "project": "$/{{ github.repository }}"}' 13 - name: Test 14 run: # Existing test steps 15+ - name: post_test 16+ run: | 17+ curl -X POST https://your-proxy-server.com/api/post-test -H "Content-Type: application/json" -d '{"buildId": "$/{{ github.run_id }}", "testStatus": "$/{{ job.status }}"}' 18 - name: Deploy 19 run: # Existing deploy steps