This directory contains a simple script to demonstrate how to use the jq tool to process a raw attesation file that comes from GitHub.
The sample-artifact directory holds:
- An artifact created by running the
build.yamlworkflow in this repo to produce anartifact.zip - The unzipped Python package in
whlformat - The downloaded attestations generated at build time (SBOM and provenance)
This is intended to memorialize the basics of processing a downloaded attestation file in a platform-agnostic way with a minimal toolkit.
./print-attestation.sh < sample-artifact/attestations.jsonl