slsa-github-generator
slsa-github-generator copied to clipboard
Create an -installer action to invoke in reusable workflows
How can we also augment the provenance for custom info if they want to use this in a particular ecosystem?
Maybe there are paritcular fields that people want to pass in. Let's keep this tool to be github information specific. maybe buildConfig? idk?
I might be missing some context for this. What do you mean by "-installer action"? Do you mean something like the setup-X actions (setup-go etc.) that installs the slsa-github-generator binary in to a job's workspace?
Exactly that!
Sorry, context was that cosign has an action called cosign-installer that installs the binary into the workspace to use cosign CLI.
Ok, cool! Do you have an idea for a specific use-case for this?
I kind of imagined that it would be more flexible for ecosystem builders to consume this as a Go API, but I can understand how some of them wouldn't want to implement a builder in Go, and would rather do it using their own language specific tools + a maybe a CLI provided by this repo?
What gives me pause is that it gets a bit difficult trying to support all the various SLSA fields via a CLI, but I'm sure it's possible.
I think this is mostly covered by the generate-builder action that we reuse in our workflows. https://github.com/slsa-framework/slsa-github-generator/tree/main/.github/actions/generate-builder
Do we need anything more?