Skip to content
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

Extend CLI with custom attestors #1612

Open
jiparis opened this issue Dec 2, 2024 · 0 comments
Open

Extend CLI with custom attestors #1612

jiparis opened this issue Dec 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jiparis
Copy link
Member

jiparis commented Dec 2, 2024

The goal of this feature request is to allow to write custom logic that extracts information from the attestation context and adds it to the final statement. Examples of such attestors exist already in the CLI for getting the runner context or the commit information, including the signature, but it's hardcoded and don't share any common interface.

With this proposal, all those custom extractors will be registered and implement a common interface. This way, the CLI will be able to discover and execute them dynamically.

See witness attestors at https://github.com/in-toto/go-witness/tree/main/attestation

@jiparis jiparis added the enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant