-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.34 KB
/
fortify.yml
File metadata and controls
41 lines (37 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "FOD-SAST"
# Please change the events according to your needs: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
SourceCode:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
pull-requests: write
steps:
- name: Check Out Source Code
uses: actions/checkout@v6
- name: Setup Java
uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'temurin'
- name: Run FoD SAST Scan
uses: fortify/github-action@v1.6.3
with:
sast-scan: true
env:
FOD_TENANT: ${{ secrets.FOD_TENANT }}
FOD_CLIENT_ID: ${{ secrets.FOD_API_KEY }}
FOD_CLIENT_SECRET: ${{ secrets.FOD_SECRET }}
FOD_RELEASE: ${{ secrets.FOD_RELEASE_ID }}
FOD_URL: "https://ams.fortify.com/"
FOD_API_URL: "https://api.ams.fortify.com/"
FOD_SAST_SCAN_EXTRA_OPTS: --notes='Triggered by GitHub Actions (${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
PACKAGE_EXTRA_OPTS: "-bt dotnet -bc build -bf FactSet.SDK.Utils.sln --exclude .git/* --exclude .github/* --exclude node_modules"
SC_CLIENT_VERSION: 25.2.0