-
Notifications
You must be signed in to change notification settings - Fork 21
workflows: debos: Generate SBOM of rootfs with syft #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c0db619 to
5eb00b3
Compare
|
|
Ok, this seems to do a good initial job; I'm not convinced by the value of the default set of catalogers, perhaps we should only keep the deb/dpkg catalogers active. I checked the syft-json report, and it has: So I'm confident we could have a table of concluded licenses by source package, either using the syft csv/go templating or doing some light post-processing of the JSON. |
|
@ricardosalveti I think we could start with landing this, and then improve from there; what do you think? |
yeah, we can probably use deb/dpkg catalogers and merge the initial sbom generation even if that is package based at this point. probably better to split the cleanup work in another pr. next step would indeed be to merge the package based sbom to become a source package sbom. |
|
Rebasing on tip after the wave of CI changes |
|
Using syft's |
|
license-report-csv.txt It has:
|
|
@ricardosalveti Note that it's a run without Xfce, so it's missing a bunch of packages, this is just to establish the format |
This is in preparation of other files that will be uploaded in a separate step. Signed-off-by: Loïc Minier <[email protected]>
Signed-off-by: Loïc Minier <[email protected]>
Signed-off-by: Loïc Minier <[email protected]>
Takes a Syft JSON file as a the first argument and outputs a human-readable summary of source packages and their licenses. Signed-off-by: Loïc Minier <[email protected]>
Rename shellcheck workflow to static-checks. Signed-off-by: Loïc Minier <[email protected]>
Signed-off-by: Loïc Minier <[email protected]>
Signed-off-by: Loïc Minier <[email protected]>
Signed-off-by: Loïc Minier <[email protected]>
|
Noticed that the sha256sum of the copyrights weren't properly computed; adding a flag to the script for the path to the rootfs |
ricardosalveti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think this is good for what we want now.
Depends on cleanup work in #29
Add a new job to generate SBOMs with Syft