in-toto-run
Generate link metadata while carrying out a supply chain step. More information: https://in-toto.readthedocs.io/en/latest/command-line-tools/in-toto-run.html.
- Tag a Git repo and signing the resulting link file:
in-toto-run --signing-key --
- Create a tarball, storing files as materials and the tarball as product:
in-toto-run --
- Generate signed attestations for review work:
in-toto-run --signing-key
- Scan the image using Trivy and generate link file:
in-toto-run --signing-key -- /bin/sh -c "trivy --output report.json --format json "
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
