Supply chain security refers to protecting the integrity, security, and reliability of the software development lifecycle from development to deployment. Tekton Chains is designed to address supply chain security concerns by providing mechanisms to verify that artifacts produced by CI/CD pipelines have not been tampered with and can be trusted.
Provenance is metadata containing verifiable information about software artifacts, describing how they were built, what sources were used, and who built them. In Tekton Chains, provenance is cryptographically signed to ensure its integrity and authenticity.
There are two types of provenance in Tekton Chains:
SLSA (Supply-chain Levels for Software Artifacts) is a security framework that provides a checklist of standards and controls to prevent tampering, improve integrity, and secure packages and infrastructure. Tekton Chains supports multiple SLSA provenance formats:
slsa/v1
or in-toto
formattersslsa/v2alpha3
and slsa/v2alpha4
formattersArtifacts in Tekton Chains refer to the inputs and outputs of a build process:
Type hinting is a mechanism used by Tekton Chains to understand the input and output artifacts of a TaskRun or PipelineRun. Type hints are specially named parameters or results that follow specific formats:
CHAINS-GIT_URL
and CHAINS-GIT_COMMIT
ARTIFACT_INPUTS
IMAGES
or parameters/results with the suffix IMAGE_URL
and IMAGE_DIGEST
ARTIFACT_OUTPUTS
Signing is the process of cryptographically signing provenance to ensure its integrity and authenticity. Tekton Chains supports multiple signing methods:
Storage backends are where Tekton Chains stores the generated provenance and signatures. Supported backends include:
The Tekton Chains controller is the core component that observes TaskRun and PipelineRun executions, captures relevant information, and generates, signs, and stores provenance. It runs as a Kubernetes deployment in the tekton-pipelines
namespace.