Modificar .gitea/workflows/deploy.yaml
DevSecOps Enterprise Pipeline / security-gate-and-deploy (push) Successful in 1m1s
DevSecOps Enterprise Pipeline / security-gate-and-deploy (push) Successful in 1m1s
atualizar deploy 4x
This commit is contained in:
@@ -67,12 +67,12 @@ jobs:
|
||||
# O parâmetro "-I" garante que a pipeline NÃO falha devido a avisos (warnings).
|
||||
- name: OWASP ZAP Baseline Scan
|
||||
run: |
|
||||
mkdir -p qatests
|
||||
chmod 777 qatests
|
||||
mkdir -p ${{ github.workspace }}/qatests
|
||||
chmod 777 ${{ github.workspace }}/qatests
|
||||
|
||||
docker run --user root \
|
||||
--link website-test-sandbox:website-test-sandbox \
|
||||
-v $(pwd)/qatests:/zap/wrk/:rw \
|
||||
-v ${{ github.workspace }}/qatests:/zap/wrk/:rw \
|
||||
-t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py \
|
||||
-t http://website-test-sandbox \
|
||||
-r report.html \
|
||||
@@ -114,7 +114,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: owasp-zap-report
|
||||
path: qatests/report.html
|
||||
path: ${{ github.workspace }}/qatests/report.html
|
||||
|
||||
- name: Slack/Discord Notification
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user