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 10 additions and 9 deletions
Showing only changes of commit 1a83c57896 - Show all commits

View File

@ -17,29 +17,30 @@ jobs:
uname -a
gitleaks-scan:
name: Secret Detection (Gitleaks)
name: Secret Detection (Gitleaks Open Source)
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
uses: https://github.com/gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Gitleaks Detect
run: |
gitleaks detect --source=. --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
uses: https://github.com/aquasec/trivy-action@master
with:
scan-type: 'config'
hide-shortcut-text: 'true'
run: |
trivy config .