1414# It is recommended to create credentials with 'Security Lead' Role selected.
1515# "Automated Audit preference" should be configured for the release's Static Scan Settings.
1616
17- name : OpenText Application Secuirity Core
17+ name : OpenText Core Application Security
1818permissions :
1919 # required for all workflows
2020 security-events : write
5050 workflow_dispatch :
5151 inputs :
5252 runFoDSASTScan :
53- description : ' Carry out SAST scan using Fortify on Demand '
53+ description : ' Carry out SAST scan using OpenText Core Application Security '
5454 required : false
5555 default : ' true'
5656 runFoDOSSScan :
57- description : ' Carry out OSS scan using Fortify on Demand '
57+ description : ' Carry out OSS scan using OpenText Core Application Security '
5858 required : false
5959 default : ' true'
6060 deployApp :
61- description : ' Deploy App'
61+ description : ' Deploy App to Azure '
6262 required : false
6363 default : ' true'
6464 runFoDDASTScan :
65- description : ' Carry out DAST scan using Fortify on Demand '
65+ description : ' Carry out DAST scan using OpenText Core Application Security '
6666 required : false
6767 default : ' false'
6868
9797 fi
9898
9999 Build-And-Unit-Test :
100- # The type of runner that the job will run on
101100 runs-on : ubuntu-latest
101+ needs : [ Env-Prepare ]
102102 steps :
103103 - name : Checkout
104104 uses : actions/checkout@v4
@@ -156,7 +156,7 @@ jobs:
156156 # See: https://github.com/marketplace/actions/fortify-ast-scan
157157 #
158158 - name : Run Fortify on Demand SAST Scan
159- uses : fortify/github-action@v1
159+ uses : fortify/github-action@v2
160160 with :
161161 sast-scan : true
162162 debricked-sca-scan : false # we will do this separately using fcli
@@ -202,7 +202,7 @@ jobs:
202202 - name : Checkout
203203 uses : actions/checkout@v4
204204 - name : Setup Fortify tools
205- uses : fortify/github-action/setup@v1
205+ uses : fortify/github-action/setup@v2
206206 with :
207207 # tool-definitions: https://github.com/fortify/tool-definitions/releases/download/v1/tool-definitions.yaml.zip
208208 export-path : true
@@ -252,16 +252,16 @@ jobs:
252252 # app-name: ${{ env.AZURE_WEBAPP_NAME }}
253253 # publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_94429323A56E479BA44DAB94865DCF4A }}
254254
255- # Functional-Test:
256- # runs-on: ubuntu-latest
257- # if: ${{ always() }}
258- # needs: [ Env-Prepare, Deploy-App ]
259- # env:
260- # FOD_RELEASE: ${{ needs.Env-Prepare.outputs.FOD_RELEASE }}
261- # FOD_PARENT_RELEASE: ${{ needs.Env-Prepare.outputs.FOD_PARENT_RELEASE }}
262- # steps:
263- # - name: Checkout
264- # uses: actions/checkout@v4
255+ Functional-Test :
256+ runs-on : ubuntu-latest
257+ if : ${{ always() }}
258+ needs : [ Env-Prepare, Deploy-App ]
259+ env :
260+ FOD_RELEASE : ${{ needs.Env-Prepare.outputs.FOD_RELEASE }}
261+ FOD_PARENT_RELEASE : ${{ needs.Env-Prepare.outputs.FOD_PARENT_RELEASE }}
262+ steps :
263+ - name : Checkout
264+ uses : actions/checkout@v4
265265
266266 FoD-DAST-Scan :
267267 runs-on : ubuntu-latest
@@ -274,7 +274,7 @@ jobs:
274274 - name : Checkout
275275 uses : actions/checkout@v4
276276 - name : Setup Fortify tools
277- uses : fortify/github-action/setup@v1
277+ uses : fortify/github-action/setup@v2
278278 with :
279279 # tool-definitions: https://github.com/fortify/tool-definitions/releases/download/v1/tool-definitions.yaml.zip
280280 export-path : true
@@ -305,7 +305,7 @@ jobs:
305305 - name : Checkout
306306 uses : actions/checkout@v4
307307 - name : Setup Fortify tools
308- uses : fortify/github-action/setup@v1
308+ uses : fortify/github-action/setup@v2
309309 with :
310310 # tool-definitions: https://github.com/fortify/tool-definitions/releases/download/v1/tool-definitions.yaml.zip
311311 export-path : true
0 commit comments