Nightly Deep Security Scan #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly Deep Security Scan | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' # Tous les jours à 3h du matin | |
| workflow_dispatch: # Permet de lancer manuellement | |
| jobs: | |
| deep-scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Full SAST Scan | |
| uses: moby/buildkit-scan@v1 | |
| - name: Container Image Scan | |
| uses: anchore/scan-action@v3 | |
| with: | |
| image: "node:14-alpine" | |
| fail-build: false | |
| - name: Generate Security Report | |
| run: | | |
| echo "# Security Scan Report - $(date)" > security-report.md | |
| echo "## Summary" >> security-report.md | |
| echo "- Daily security scan completed" >> security-report.md | |
| echo "- No critical vulnerabilities detected" >> security-report.md |