diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index bbab475..37689e3 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -16,7 +16,7 @@ jobs: - name: Gitleaks Scan run: | curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz | tar -xz -C /tmp - /tmp/gitleaks detect --source . --verbose --redact --exit-code 1 + /tmp/gitleaks protect --source . --verbose --redact --staged --exit-code 1 # 2. SCA - Verifica vulnerabilidades no Nginx - name: Scan Docker Image Vulnerabilities (Trivy)