-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Missing SLSA provenance and cosigns, scripts to detect #32207
Comments
Thank you for your great work! I'm working on improving the code generation.
The file extension of SLSA Provenance (.intoto.jsonl) is unique, but the extension of Cosign (.sig, .pem) isn't, so I think it's hard to generate cosign setting automatically. e.g. aqua-registry/pkgs/suzuki-shunsuke/tfcmt/registry.yaml Lines 16 to 25 in 43d29a4
|
This is still in beta, but I've added new features to
You can scaffold configuration file by aqua >= e.g. aqua gr -init fission/fission aqua-generate-registry.yaml is generated. e.g. name: fission/fission
version_filter: Version matches "^v?\\d"
all_assets_filter: not ((Asset matches "\\.json$") or (Asset matches "\\.yaml$")) # Ignore JSON and YAML About the configuration file, please see aquaproj/aqua#3562 (comment) . Then you can pass the configuration to cmdx s -c aqua-generate-registry.yaml <package name> Note that configuration file is optional. |
Nice! I'll give it a try later. Regarding cosign, sometimes files related to it could be relatively reliably identified from |
What
I wrote two ugly and naive scripts to check for missing SLSA provenance and cosign configs.
cosigns.sh
slsas.sh
Output from
gh
could naturally be piped directly in instead of asking to be stored in separate files per the comments, but I did this for iterating over the script implementations a bit.It should also be noted that running the
gh
commands will drain one's GH REST API rate limit due to--paginate
and many results.Perhaps these would be useful enough to be somehow included in aqua-registry or serve as basis for better implementations. See note below for current output on my system.
Why
Better SLSA and cosign coverage.
Note
SLSA
cmdx s jreleaser/jreleaser
aqua#3596restic/resticprovenance for containers onlyCosign
re-scaffold blocked by Crash onfeat(google/yamlfmt): cosign config #32610gr google/yamlfmt
aqua#3597The text was updated successfully, but these errors were encountered: