grant icon indicating copy to clipboard operation
grant copied to clipboard

feature: update default SBOM configuration to improve source detection for Golang code

Open spiffcs opened this issue 1 year ago • 0 comments

Grant consumes syft as it's default SBOM generator when users don't bring their own bill of material. This issue is a placeholder to incorporate changes in syft where source analysis of Golang programs is done by reading the entrypoint and building a dependency tree parsed from import statements in the different files.

AST (Abstract syntax tree) analysis of the source is objectively better than leveraging the go mod which has limitations of including licenses that might not be linked against the the final binary.

spiffcs avatar Feb 05 '24 18:02 spiffcs