Compare commits

..

No commits in common. "147cec4e63b307ad6c2011254a73e63f154f4aaa" and "64a88d89e281ea5cab96f9f6c4b6eebcb43fc1b5" have entirely different histories.

1 changed files with 7 additions and 12 deletions

View File

@ -2,7 +2,7 @@ name: DevSecOps Pipeline - Universal Quality Gate
on:
push:
branches: [ "main", "develop", "dev/*" ]
branches: [ "main", "develop" ]
pull_request:
branches: [ "main" ]
@ -22,14 +22,11 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download and Run Gitleaks
- name: Run Gitleaks via Podman
run: |
wget -q https://github.com/gitleaks/gitleaks/releases/download/v8.18.2/gitleaks_8.18.2_linux_x64.tar.gz
tar -xzf gitleaks_8.18.2_linux_x64.tar.gz gitleaks
./gitleaks detect --source="." --verbose --redact
echo "🔍 Lancement du scan Gitleaks..."
podman run --rm -v "$PWD":/path:z docker.io/zricethezav/gitleaks:v8.18.2 detect --source="/path" -v
trivy-iac-scan:
name: IaC Security & Vulnerability Scan (Trivy)
@ -39,9 +36,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Trivy Scan
continue-on-error: true
- name: Run Trivy IaC Scan
run: |
wget -q https://github.com/aquasec/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
tar -xzf trivy_0.49.1_Linux-64bit.tar.gz trivy
./trivy config .
echo "🛡️ Analyse des fichiers d'infrastructure et des vulnérabilités..."
podman run --rm -v "$PWD":/path:z docker.io/aquasec/trivy:0.49.1 config /path