Skip to content

Commit 98f5b0c

Browse files
committed
fix: switch to baseline scan for live URL
1 parent 4e3dfd5 commit 98f5b0c

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/dast.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@ name: "SecOps: DAST Dynamic Scan"
33
on:
44
push:
55
branches: [ main, master ]
6-
# Se ejecuta automáticamente todos los lunes para asegurar que el servidor sigue seguro
7-
schedule:
8-
- cron: '0 0 * * 1'
96

107
jobs:
118
zap_scan:
129
runs-on: ubuntu-latest
13-
name: Scan Live API (Render)
10+
name: Scan the live API (Render)
1411
steps:
1512
- name: Checkout
1613
uses: actions/checkout@v4
1714

18-
- name: ZAP API Scan
19-
uses: zaproxy/action-api-scan@v0.7.0
15+
- name: ZAP Baseline Scan
16+
# Usamos 'baseline' porque es mejor para explorar URLs activas
17+
uses: zaproxy/action-baseline@v0.12.0
2018
with:
19+
# REVISA: Esta URL debe ser la que abres en el navegador para ver tu API
2120
target: 'https://auth-mailer-api.onrender.com'
22-
format: openapi
21+
# Importante: fail_action en false para que el pipeline no se ponga rojo
22+
# si solo encuentra alertas informativas o advertencias leves.
23+
fail_action: false

0 commit comments

Comments
 (0)