Skip to content

Commit 224cd2f

Browse files
committed
Update DAST ZAP workflow target URL and disable Azure Web Apps deployment
1 parent 333daf1 commit 224cd2f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/DAST-ZAP-Zed-Attach-Proxy-Checkmarx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ on:
1313
- cron: 0 1 * * 0
1414

1515
env:
16-
ZAP_TARGET: "http://127.0.0.1:8080/" # Change this to your target URL
17-
buildAndStart: "true" # Change to "true" to build and start the application if not running
16+
ZAP_TARGET: "https://app-juice-shop.azurewebsites.net" # Change this to your target URL
17+
buildAndStart: "false" # Change to "true" to build and start the application if not running
1818
imageName: "webapp01"
1919
tag: ${{ github.sha }}
2020
HOST_PORT: "8080"

.github/workflows/SCA-Anchore-Syft-SBOM.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ jobs:
3535
uses: anchore/sbom-action@bb716408e75840bbb01e839347cd213767269d4a
3636
with:
3737
image: "${{ env.imageName }}:${{ env.tag }}"
38-
artifact-name: sbom.spdx
3938
dependency-snapshot: true
4039

4140
- name: SBOM upload
4241
uses: advanced-security/[email protected]
43-
with:
44-
filePath: "sbom.spdx"

.github/workflows/cicd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
docker build ./src/webapp01 --file ./src/webapp01/Dockerfile -t crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}
6262
docker push crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}
6363
64-
- uses: azure/webapps-deploy@v2
64+
- name: Disabled Azure Web Apps Deploy
65+
if: false # This disables the action
66+
uses: azure/webapps-deploy@v2
6567
with:
6668
app-name: ${{ env.AZURE_WEBAPP_NAME }}
6769
images: 'crdevsecopscldev.azurecr.io/webapp01:${{ github.sha }}'

0 commit comments

Comments
 (0)