mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.3 to 3.30.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](192325c861...3599b3baa1)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
name: Trivy Nightly Scan
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * 5' # Run at 2AM UTC on every Friday
|
|
|
|
permissions: read-all
|
|
jobs:
|
|
nightly-scan:
|
|
name: Trivy Scan nightly
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
# It will test for only the latest version as older version is not maintained
|
|
versions: [latest]
|
|
permissions:
|
|
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- name: Run Trivy vulnerability scanner
|
|
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # master
|
|
with:
|
|
image-ref: 'docker.io/coredns/coredns:${{ matrix.versions }}'
|
|
severity: 'CRITICAL,HIGH'
|
|
format: 'sarif'
|
|
output: 'trivy-results.sarif'
|
|
|
|
- name: Upload Trivy scan results to GitHub Security tab
|
|
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
|
|
with:
|
|
sarif_file: 'trivy-results.sarif'
|