github upbound/function-azresourcegraph v0.14.0

3 hours ago

New features

  • Workload identity is inferred from the credentials (#185): when identity.type is unset or empty, the function uses workload identity if the azure-creds credentials JSON is a single object, or an array with exactly one entry, with a non-empty federatedTokenFile and no (or empty) clientSecret. Anything else uses service principal, as before. An explicit identity.type always wins. One Composition can now run against a workload identity Secret in one environment and a service principal Secret in another without changing identity.type. Releases up to v0.13.0 need an explicit identity.type: AzureWorkloadIdentityCredentials for workload identity.

Behaviour changes

  • Unset identity.type with a workload identity Secret now uses workload identity (#185): in v0.13.0 this configuration took the service principal path and failed with failed to initialize service principal provider: failed to obtain clientsecret credentials: secret can't be empty string. Only configurations that failed before change behaviour: a Secret with a non-empty clientSecret, a multi-entry array and an explicit identity.type behave exactly as in v0.13.0.
  • A one-entry credentials array is treated as a single entry (#185): service principal queries use the same credentials and subscription as before, but the array no longer advances the round-robin counter, and the startup log reads Single service principal mode detected. Arrays with two or more entries still round-robin.

Fixes

  • Explicit AzureWorkloadIdentityCredentials with a one-entry array (#185): v0.13.0 rejected it with invalid credential format: workload identity support only one credentials entry although the array has one entry. It now works. Two or more entries still return that error.

Security

v0.14.0 fixes the 1 finding a grype scan reports against the source at v0.13.0: GO-2026-5932, golang.org/x/crypto/openpgp is unmaintained and unsafe by design (severity Unknown in grype). The function binary does not import openpgp, so the advisory is not reachable from the function code; the bump clears the finding. A grype scan of the source at the release commit reports no vulnerabilities. Scanned with grype 0.122.1 (vulnerability database of 2026-12-01). The runtime image is unchanged (gcr.io/distroless/static-debian13).

Components

Component v0.13.0 v0.14.0 Findings fixed
golang.org/x/crypto v0.58.0 v0.59.0 1
Fixed findings by component

golang.org/x/crypto
GO-2026-5932

Other changes

  • golang.org/x/crypto v0.58.0 → v0.59.0 with golang.org/x/mod v0.41.0 → v0.42.0, golang.org/x/sync v0.24.0 → v0.25.0, golang.org/x/sys v0.49.0 → v0.50.0, golang.org/x/term v0.47.0 → v0.48.0, golang.org/x/text v0.43.0 → v0.44.0 and golang.org/x/tools v0.51.0 → v0.52.0 (#185)
  • Build Go toolchain pinned in go.mod (toolchain go1.26.11) (#178)
  • README: identity inference rule in its own section, one-entry arrays and the round-robin counter; Identity field comment and the input CRD description updated (#185)
  • Added an up test --e2e harness for Azure workload identity through Upbound OIDC (#167)
  • CI workflow and Renovate configuration synced from shared workflows (#168, #177, #181, #182)

Full changelog: v0.13.0...v0.14.0

Don't miss a new function-azresourcegraph release

NewReleases is sending notifications on new releases.