Skip to content

A Jenkins plugin to create SLSA provenance attestations

License

Notifications You must be signed in to change notification settings

jenkinsci/slsa-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jenkins Plugin GitHub release Jenkins Plugin Installs Build Status GitHub license

SLSA Jenkins Plugin

The SLSA Jenkins plugin generates SLSA provenance attestations for build artifacts.

Job configuration - Freestyle project

The plugin provides a Post-build action which will generate provenance attestations (<artifact-name>.intoto.jsonl or multiple.intoto.jsonl) in SLSA format for artifacts that match a given filter after a successful build.

job configuration

Artifact Filter: Specifies the artifacts to include.

Target Directory: Specifies the directory where generated provenance attestations should be created.

Job configuration - Pipeline project

In order to use the plugin with the descriptive pipeline syntax, the following snippet can be added:

...
post {
    success {
        provenanceRecorder artifactFilter: 'build/libs/**.jar', targetDirectory: 'build/slsa'
    }
}
...

Artifact Filter: Specifies the artifacts to include.

Target Directory: Specifies the directory where generated provenance attestations should be created.

Current limitations

  • currently only GIT SCM provider is supported
  • executed build steps are not yet recorded
  • signing of attestations is not yet supported

LICENSE

Licensed under MIT, see LICENSE.

About

A Jenkins plugin to create SLSA provenance attestations

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •