From 10c81592c0dc871bb4c1db191fd62ed2e0c801bf Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 8 May 2026 10:24:59 +0100 Subject: [PATCH] ci: ativar gitleaks --- .gitea/workflows/deploy.yaml | 10 +++++----- index.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index bdf66aa..ac98008 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -12,11 +12,11 @@ jobs: with: fetch-depth: 0 # Necessário para o Gitleaks analisar histórico - # 1. SECRET SCANNING (Deteta chaves expostas no histórico e no código) - #- 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 0 + # 1. SECRET SCANNING (Deteta chaves expostas no histórico e no código) + - 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 0 # 2. SCA (Software Composition Analysis) - Verifica vulnerabilidades no Nginx - name: Scan Docker Image Vulnerabilities (Trivy) diff --git a/index.html b/index.html index 99ffcde..f17367b 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ -gitleaks:allow +