fleetlint Policy for a fleet of repositories
v0.8
Getting started

release/signing/helm-chart

Release artifacts are signed

Implements release/signing for the helm-chart artifact: it runs when the release publishes one (see artifacts).

Severityerror
Tiers1
Artifacthelm-chart
Scoperoot
Kindoutcome
Sourcelibrary v0.5.0
Selected byfleetlint-recommended@v0.5.0

Requirement

A chart pushed to an OCI registry is signed by digest with cosign sign; a chart in a chart repository carries a provenance file (helm package --sign, chart-releaser --sign).

Why

Checksums prove integrity; only a signature proves who built it.

Capability applies when

release.exists || repo.artifacts.size() > 0

Fix

OCI: cosign sign --yes <registry>/<chart>@<digest> after helm push. Chart repository: helm package --sign --key <name> --keyring <file> so a .prov file is published next to the chart.

Agent instruction: Use the artifact’s own signing format when it has one. Otherwise add sigstore/cosign-installer and a signing step after the artifacts are built. Files: cosign sign-blob --yes --bundle checksums.txt.sigstore.json checksums.txt and upload the bundle. Container image: cosign sign --yes <image>@<digest> using the digest output of the build step, with id-token: write on the job.

A finding of this rule points at the file artifact.workflows.size() > 0 ? artifact.workflows[0] : ".github/workflows/release.yml" yields.

Sources


Generated by fleetlint docs from catalog v0.5.0.