feat(lab4): SBOM generation + SCA with Syft/Grype + Trivy comparison + sign-ready attestation#1060
Open
Meliman1000-7 wants to merge 14 commits into
Open
feat(lab4): SBOM generation + SCA with Syft/Grype + Trivy comparison + sign-ready attestation#1060Meliman1000-7 wants to merge 14 commits into
Meliman1000-7 wants to merge 14 commits into
Conversation
feat(lab1): juice shop deploy + PR template + triage report
feat(lab2): Threagile threat model + secure variant + auth flow bonus
feat(lab3): SSH commit signing + gitleaks pre-commit + history rewrite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Generate a CycloneDX and SPDX SBOM of the Juice Shop image with Syft, scan it for CVEs with Grype, compare results against Trivy's all-in-one approach, and produce a sign-ready CycloneDX attestation for Lab 8.
Changes
labs/lab4/juice-shop.cdx.json— CycloneDX SBOM (3068 components, specVersion 1.6)labs/lab4/juice-shop.spdx.json— SPDX SBOMlabs/lab4/juice-shop-attestation.json— in-toto v1 attestation predicate for Lab 8 / Cosignsubmissions/lab4.md— full triage report: Grype severity breakdown, top-10 CVE table, Trivy comparison, sign-ready attestation writeupTesting
Syft SBOM generation:
Grype scan via SBOM:
Trivy direct image scan:
Attestation predicate build:
Artifacts & Screenshots
submissions/lab4.mdlabs/lab4/juice-shop.cdx.jsonlabs/lab4/juice-shop.spdx.jsonlabs/lab4/juice-shop-attestation.jsonChecklist
feat(labN): <topic>style)submissions/lab4.mdexists