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

Refined Jenkins build attestation #60

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zregvart
Copy link
Member

Makes the SLSA Provenance attestation produced by RHTAP when running on Jenkins similar to the attestations produced when running on GitLab and GitHub by reshuffling and adding several new properties.

Some of the properties are fetched from Jenkins object graph that is not accessible to the untrusted Pipeline libraries and if run as untrusted will be blocked and require script approval.

As a result of hat the Pipeline library consisting of rhtap.groovy in vars/ directory needs to be installed as a global trusted library[1].

Reference: https://issues.redhat.com/browse/EC-774

[1] https://www.jenkins.io/doc/book/pipeline/shared-libraries/#global-shared-libraries

Makes the SLSA Provenance attestation produced by RHTAP when running on
Jenkins similar to the attestations produced when running on GitLab and
GitHub by reshuffling and adding several new properties.

Some of the properties are fetched from Jenkins object graph that is not
accessible to the untrusted Pipeline libraries and if run as untrusted
will be blocked and require script approval.

As a result of hat the Pipeline library consisting of `rhtap.groovy` in
`vars/` directory needs to be installed as a global trusted library[1].

Reference: https://issues.redhat.com/browse/EC-774

[1] https://www.jenkins.io/doc/book/pipeline/shared-libraries/#global-shared-libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant