Skip to content

Commit 20171ee

Browse files
Add Fortify security scanning to CI/CD pipeline
1 parent e617a71 commit 20171ee

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,4 +461,23 @@ jobs:
461461
git add .
462462
git commit -m "Update documentation for ${{ needs.build.outputs.release_tag }}"
463463
git push
464-
464+
465+
fortify_scan:
466+
name: Fortify Security Scan
467+
runs-on: ubuntu-latest
468+
steps:
469+
- name: Checkout code
470+
uses: actions/checkout@v4
471+
472+
- name: Run Fortify on Demand SAST & SCA Scan
473+
uses: fortify/github-action@v2
474+
with:
475+
sast-scan: true # Enables Fortify's native SAST and SCA. Chosen to satisfy 'sca:true' despite 'sast:false' as no separate SCA-only parameter is available.
476+
debricked-sca-scan: false # As per Debricked SCA: Disabled
477+
env:
478+
FOD_URL: https://ams.fortify.com
479+
FOD_TENANT: FranklinBank24
480+
FOD_PAT: ${{ secrets.FOD_PAT }}
481+
FOD_CLIENT_ID: ${{ secrets.FOD_CLIENT_ID }}
482+
FOD_CLIENT_SECRET: ${{ secrets.FOD_CLIENT_SECRET }}
483+
FOD_PASSWORD: ${{ secrets.FOD_PAT }} # Included as per example, using FOD_PAT secret

0 commit comments

Comments
 (0)