File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ name: Weekly Security Rebuild
44
55on :
66 schedule :
7- # ~22h ahead of the secops Wednesday 06:00 UTC scan, so anything cleared here is never filed.
87 - cron : " 0 8 * * TUE"
98 workflow_dispatch :
109 inputs :
5554 with :
5655 image-ref : ${{ env.PUBLISHED_IMAGE }}:${{ steps.version.outputs.tag }}
5756 scanners : vuln
58- severity : HIGH,CRITICAL
5957 ignore-unfixed : true
6058 format : json
6159 output : published.json
6462 id : before
6563 run : |
6664 jq -r '[.Results[]?.Vulnerabilities[]?.VulnerabilityID] | unique | .[]' published.json | sort -u > published_cves.txt
67- echo "Fixable HIGH/CRITICAL CVEs on the published image:"; cat published_cves.txt || true
65+ echo "Fixable CVEs on the published image:"; cat published_cves.txt || true
6866 if [ -s published_cves.txt ]; then
6967 echo "proceed=true" >> "$GITHUB_OUTPUT"
7068 else
9290 with :
9391 image-ref : localstack-docker-desktop:candidate
9492 scanners : vuln
95- severity : HIGH,CRITICAL
9693 ignore-unfixed : true
9794 format : json
9895 output : candidate.json
@@ -182,7 +179,7 @@ jobs:
182179 echo "### Weekly security rebuild"
183180 echo
184181 echo "- Published image: \`${PUBLISHED_IMAGE}:${{ steps.version.outputs.tag }}\`"
185- echo "- Fixable HIGH/CRITICAL on the published image: $(wc -l < published_cves.txt 2>/dev/null || echo 0)"
182+ echo "- Fixable CVEs on the published image: $(wc -l < published_cves.txt 2>/dev/null || echo 0)"
186183 echo "- Cleared by rebuild: $(wc -l < cleared.txt 2>/dev/null || echo 0)"
187184 echo "- Released: ${{ steps.bump.outputs.version || 'no (nothing cleared)' }}"
188185 } >> "$GITHUB_STEP_SUMMARY"
You can’t perform that action at this time.
0 commit comments