You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: migrate from Trivy to Grype for vulnerability scanning (#451)
Replace aquasecurity/trivy-action with anchore/scan-action (Grype) v7.3.2
in both build-containers.yml and periodic-security-scan.yml.
Update JSON parsing for Grype output format.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
body += `- **${vuln.VulnerabilityID}** in \`${vuln.PkgName}\`: ${vuln.Title || 'No title'}\n`;
156
+
for (const match of criticalVulns) {
157
+
body += `- **${match.vulnerability.id}** in \`${match.artifact.name}@${match.artifact.version}\`: ${match.vulnerability.description || 'No description'}\n`;
164
158
}
165
159
166
160
if (critical > 5) {
167
161
body += `\n_... and ${critical - 5} more. See Security tab for complete list._\n`;
168
162
}
169
163
}
170
164
171
-
if (secrets > 0) {
172
-
body += `\n⚠️ **${secrets} potential secret(s) detected in the image!**\n`;
173
-
}
174
-
175
165
body += `\n---\n`;
176
166
body += `_Automated security scan from [periodic-security-scan workflow](../actions/workflows/periodic-security-scan.yml)_`;
177
167
@@ -180,7 +170,7 @@ jobs:
180
170
owner: context.repo.owner,
181
171
repo: context.repo.repo,
182
172
state: 'open',
183
-
labels: 'security,trivy',
173
+
labels: 'security,grype',
184
174
});
185
175
186
176
const existingIssue = issues.find(issue =>
@@ -203,7 +193,7 @@ jobs:
203
193
repo: context.repo.repo,
204
194
title: `🚨 Security: Critical issues in ${{ steps.meta.outputs.server_name }} container`,
0 commit comments