Skip to content

Commit

Permalink
Include package name and version in security advisory comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyskoedijk committed Nov 4, 2024
1 parent 85f9c89 commit 5b9c218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/utils/spdx/spdxPackageSecurityAdvisories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function spdxAddPackageSecurityAdvisoryExternalRefsAsync(
referenceCategory: 'SECURITY',
referenceType: 'advisory',
referenceLocator: advisory.permalink,
comment: `[${advisory.severity}] ${advisory.summary}`,
comment: `[${advisory.severity}] ${advisory.summary}; Affects ${advisory.package.name} v${advisory.package.version}`,
});
}
}
Expand Down

0 comments on commit 5b9c218

Please sign in to comment.