Skip to content

Lab 4 β€” SBOM Generation & Software Composition Analysis on Juice Shop#1062

Open
Nik-ari-ai wants to merge 1 commit into
inno-devops-labs:mainfrom
Nik-ari-ai:lab04
Open

Lab 4 β€” SBOM Generation & Software Composition Analysis on Juice Shop#1062
Nik-ari-ai wants to merge 1 commit into
inno-devops-labs:mainfrom
Nik-ari-ai:lab04

Conversation

@Nik-ari-ai

@Nik-ari-ai Nik-ari-ai commented Jun 17, 2026

Copy link
Copy Markdown

Goal:

Generate an SBOM of the Juice Shop image with Syft, scan it with Grype, compare against Trivy's all-in-one approach, and produce a signed-ready CycloneDX SBOM for Lab 8.

Changes

  • submissions/lab04.md β€” full report
  • labs/lab4/juice-shop.cdx.json β€” CycloneDX SBOM (spec 1.6)
  • labs/lab4/juice-shop.spdx.json β€” SPDX SBOM
  • labs/lab4/juice-shop-attestation.json β€” in-toto Statement envelope wrapping the CycloneDX SBOM
  • .gitignore β€” exclude regeneratable grype and trivy scan outputs

Testing

  • syft produced 3068 components in CycloneDX and 909 packages in SPDX
  • grype: 7 critical/50 high/35 medium/4 low/(add 7 negligible) = 103
  • trivy: 5 critical/42 high/39 medium/22 low = 108
  • attestation has correct _type, subject.digest, predicateType cyclonedx/v1.6, predicate.specVersion 1.6

Artifacts & Screenshots

  • submissions/lab04.md
  • labs/lab4/juice-shop.cdx.json
  • labs/lab4/juice-shop-attestation.json

Checklist

  • Task 1 β€” Syft SBOMs + Grype scan + top-10 CVE analysis
  • Task 2 β€” Trivy comparison + when-to-pick-each tradeoff
  • Bonus β€” sign-ready CycloneDX attestation for Lab 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant