Fortify on Demand AMS_Windows #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fortify on Demand AMS_Windows | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
testjose: | |
# Use the appropriate runner for building your source code. | |
# Use Windows runner for projects that use msbuild. Additional changes to RUN commands will be required.. | |
runs-on: windows-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v2.0.0 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: Run FoD SAST Scan | |
uses: fortify/github-action@v1 | |
with: | |
sast-scan: true | |
env: | |
FOD_URL: https://ams.fortify.com | |
FOD_TENANT: ${{secrets.FOD_TENANT_AMS}} | |
FOD_USER: ${{secrets.FOD_USER_AMS}} | |
FOD_PASSWORD: ${{secrets.FOD_PAT_AMS}} | |
# EXTRA_FOD_LOGIN_OPTS: --socket-timeout=60s | |
FOD_RELEASE: 1293734 | |
EXTRA_PACKAGE_OPTS: -bt msbuild -bf eShopOnWeb.sln | |
DO_WAIT: false | |
DO_EXPORT: false | |
# TOOL_DEFINITIONS: https://ftfy.mycompany.com/tool-definitions/v1/tool-definitions.yaml.zip |