Licence scan fails the build: `AGPL-3.0` detected in a transitive Go module
BeginnerTroubleshootingSupply chain: signing, SBOM and dependencies
Answer
Likely causes → A new dependency pulled an AGPL module; your policy blocks strong copyleft for SaaS.
Diagnose →
go mod why -m github.com/some/agpl-lib
trivy fs --scanners license --severity HIGH,CRITICAL .
Fix → Replace the dependency or the parent that pulls it; if it is test-only, confirm it is not linked into the shipped binary and record the decision with legal.
Prevent → Run licence checks on PRs that change go.mod, with an allowlist agreed with legal.
More on Supply chain: signing, SBOM and dependencies
`cosign verify` fails with `Error: no matching signatures` for an image CI says it signedBeginnerKeyless `cosign verify` fails: `none of the expected identities matched what was in the certificate`Intermediate`cosign sign` in GitHub Actions fails with `getting signer: getting key from Fulcio: ... no OIDC token`BeginnerKey-based `cosign verify --key cosign.pub` fails after a key rotation for older imagesIntermediate`cosign verify-attestation --type cyclonedx` returns `none of the attestations matched the predicate type`IntermediateKyverno `verifyImages` rejects pods: `failed to verify image ... : no signatures found` for a signed private ECR imageAdvanced