Skip to content

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 15:10
· 33 commits to main since this release
a87d16b

An answer that holds one of six listed destructive command shapes is withheld from every sink and
replaced by a fixed notice at low confidence (0025, measured before the release); the alert
KausaAnswerWithheld fires when that happens; and the chart is listed on Artifact Hub with a
verified publisher. Nothing to change in values or permissions.

Added

  • The alert KausaAnswerWithheld (increase(kausa_answers_withheld_total[1h]) > 0), with its
    promtool unit test and its section in Alerts: the measurement of
    0025 withheld no benign answer (Destructive commands withheld,
    measured
    ).
  • The chart is listed on Artifact Hub: charts/artifacthub-repo.yml holds the repository's ID,
    which the release pushes to ghcr.io/fedeam/charts/kausa:artifacthub.io, so Artifact Hub shows
    kausa's publisher as verified from the next release.
  • An answer that holds one of six listed destructive command shapes (W001–W006: kubectl,
    oc or k deleting namespaces, projects, nodes, CRDs or everything, with --all, -A,
    --force or a grace period of 0; helm uninstall; rm -rf; prose that deletes every
    namespace), in a summary, cause or step as a sink gets it after the names are mapped back, has
    that text replaced by
    kausa's fixed notice, which leads the Event note, the Explanation entry and the notification,
    with low confidence (Withheld command shapes,
    0025). The explanation log line gains withheld and model_confidence, and the new counter
    kausa_answers_withheld_total counts these answers. No values or permissions change; the Event
    stays Normal and Explained, and the Explanation and notification schemas are the same.

Install

helm install kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.1 \
  -n kausa --create-namespace --set rbac.scope=cluster --set dryRun=true

The same chart is attached below as kausa-0.6.1.tgz, and its URL still works:
helm install kausa https://github.com/fedeam/kausa/releases/download/v0.6.1/kausa-0.6.1.tgz ….
A release installed from a chart URL moves to the registry with
helm upgrade kausa oci://ghcr.io/fedeam/charts/kausa --version 0.6.1 -n kausa --reuse-values.

  • Image: ghcr.io/fedeam/kausa:0.6.1 (ghcr.io/fedeam/kausa@sha256:5f45435d398ee0a20af0c7dbc27abd92e01373de7094faab0486ad4a19d1f784); linux/amd64
    ghcr.io/fedeam/kausa@sha256:45537b66a011fd86d120778029bb3189882b489a64177eab9aec68a6c75cdd54, linux/arm64 ghcr.io/fedeam/kausa@sha256:28a90fa97a4823a88e90e5e2c5c7d374a71ff202692c6009329c5b43f946971b.
  • Chart: oci://ghcr.io/fedeam/charts/kausa, version 0.6.1
    (ghcr.io/fedeam/charts/kausa@sha256:1782aed4370101cfcb1e9b0363c08355792f5005f6d88e4fd6a545875a87178e), the same bytes as kausa-0.6.1.tgz.
  • SBOMs (CycloneDX 1.6): kausa-0.6.1-linux-amd64.cdx.json, kausa-0.6.1-linux-arm64.cdx.json.

Verify

With cosign v3 or later; no login needed. Verify by digest: tags can be moved.

ID=https://github.com/fedeam/kausa/.github/workflows/release.yml@refs/tags/v0.6.1
ISSUER=https://token.actions.githubusercontent.com
cosign verify ghcr.io/fedeam/kausa@sha256:5f45435d398ee0a20af0c7dbc27abd92e01373de7094faab0486ad4a19d1f784 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/kausa@sha256:5f45435d398ee0a20af0c7dbc27abd92e01373de7094faab0486ad4a19d1f784 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:45537b66a011fd86d120778029bb3189882b489a64177eab9aec68a6c75cdd54 --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://cyclonedx.org/bom ghcr.io/fedeam/kausa@sha256:28a90fa97a4823a88e90e5e2c5c7d374a71ff202692c6009329c5b43f946971b --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify ghcr.io/fedeam/charts/kausa@sha256:1782aed4370101cfcb1e9b0363c08355792f5005f6d88e4fd6a545875a87178e --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/fedeam/charts/kausa@sha256:1782aed4370101cfcb1e9b0363c08355792f5005f6d88e4fd6a545875a87178e --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER" > /dev/null

To install exactly the chart you checked, compare it with the signed checksums
(on macOS, shasum -a 256 in place of sha256sum):

curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.1/SHA256SUMS
curl -fsSLO https://github.com/fedeam/kausa/releases/download/v0.6.1/SHA256SUMS.sigstore.json
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json --certificate-identity "$ID" --certificate-oidc-issuer "$ISSUER"
helm pull oci://ghcr.io/fedeam/charts/kausa --version 0.6.1
sha256sum --ignore-missing -c SHA256SUMS
helm install kausa kausa-0.6.1.tgz -n kausa --create-namespace --set rbac.scope=cluster --set dryRun=true

With the GitHub CLI, which needs gh auth login:

W=fedeam/kausa/.github/workflows/release.yml
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:5f45435d398ee0a20af0c7dbc27abd92e01373de7094faab0486ad4a19d1f784 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.1
gh attestation verify oci://ghcr.io/fedeam/charts/kausa@sha256:1782aed4370101cfcb1e9b0363c08355792f5005f6d88e4fd6a545875a87178e --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.1
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:45537b66a011fd86d120778029bb3189882b489a64177eab9aec68a6c75cdd54 --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.1 --predicate-type https://cyclonedx.org/bom
gh attestation verify oci://ghcr.io/fedeam/kausa@sha256:28a90fa97a4823a88e90e5e2c5c7d374a71ff202692c6009329c5b43f946971b --repo fedeam/kausa --signer-workflow "$W" --source-ref refs/tags/v0.6.1 --predicate-type https://cyclonedx.org/bom
gh release download v0.6.1 --repo fedeam/kausa
gh attestation verify kausa-0.6.1.tgz --repo fedeam/kausa --bundle kausa-0.6.1.intoto.jsonl --signer-workflow "$W" --source-ref refs/tags/v0.6.1