ci: re-trigger pipeline devsecops #2

Merged
M7s merged 9 commits from dev/m7s into main 2026-08-08 18:45:57 +00:00
1 changed files with 5 additions and 9 deletions
Showing only changes of commit 07309cca6b - Show all commits

View File

@ -13,34 +13,30 @@ jobs:
steps:
- name: System Check
run: |
echo "🚀 Pipeline CI/CD opérationnel sur le VPS !"
echo "🚀 Pipeline CI/CD opérationnel !"
uname -a
gitleaks-scan:
name: Secret Detection (Gitleaks Open Source)
name: Secret Detection (Gitleaks)
runs-on: ubuntu-latest
container:
image: zricethezav/gitleaks:v8.18.2
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Gitleaks Detect
- name: Run Gitleaks
run: |
gitleaks detect --source=. --verbose --redact
docker run --rm -v "$PWD":/path:z zricethezav/gitleaks:v8.18.2 detect --source="/path" --verbose --redact
trivy-iac-scan:
name: IaC Security & Vulnerability Scan (Trivy)
runs-on: ubuntu-latest
needs: gitleaks-scan
container:
image: aquasec/trivy:0.49.1
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Trivy Scan
run: |
trivy config .
docker run --rm -v "$PWD":/path:z aquasec/trivy:0.49.1 config /path