Skip to content

v0.3.0

Choose a tag to compare

@johnnycube johnnycube released this 21 Oct 20:12
· 65 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.3.0
6f65d41

Engine level 5: needs fleetlint 0.6.0 or newer (artifacts as catalog data, capabilities keyed by artifact, metadata.label).

Added

  • Artifacts are catalog data. artifacts/<id>.yaml says what a release publishes and how it is detected: a CEL expression returning the workflows that publish it. Twelve kinds: release-files, image, helm-chart, npm, pypi, crate, gem, maven, nuget, pub, android-app, apple-app. A repository pins facts: {artifacts: [...]} when detection misses one.

Changed

  • release/signing, release/sbom, release/provenance and release/trusted-publishing are checked per published artifact (by: artifact), not per stack: a repository that publishes binaries and an npm package must sign both, and the report says which one is not. Each kind has its own implementation (rules/release/<name>/<artifact>.yaml); where a check means nothing for a kind (an SBOM for an npm package, a signature on a crate) the implementation says so and reports not applicable. combine: any is gone from these capabilities; the stack-keyed ids (release/signing/node, ...) are aliases of the new ones. Images pushed from a push- or schedule-triggered workflow count as published, not only from tag-triggered ones.
  • metadata.layer is metadata.label (the old key is still read).

Engine level 5: needs fleetlint 0.6.0 or newer.

Pin this version in .fleetlint.yaml, by digest from the registry:

catalog: { oci: ghcr.io/fleetlint/catalog@sha256:5cc7a8896f3fd64dfd90f5608dcd5fc6b9ce8fc90ca5cd11c78fbbc3e21f4917 }

or by tag from git: catalog: { version: v0.3.0 }.

As a Go module: go get github.com/fleetlint/catalog@v0.3.0.

Verify the signature of the published artifact:

cosign verify ghcr.io/fleetlint/catalog@sha256:5cc7a8896f3fd64dfd90f5608dcd5fc6b9ce8fc90ca5cd11c78fbbc3e21f4917 \
  --certificate-identity-regexp '^https://github\.com/fleetlint/catalog/\.github/workflows/publish\.yml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com