Skip to content

v0.9.0

Latest

Choose a tag to compare

@jakubramut jakubramut released this 23 Nov 11:44
ca53ec0

New features

  • additionalFields (#122): include extra Microsoft Graph properties in the results of every query type, appended to the default field set. For GroupMembership only user properties are accepted. Unknown property names are skipped with an Info log entry. See Additional Fields.
  • userLookupField: mail (#126): UserValidation can resolve users by mail instead of userPrincipalName, for example B2B guests whose UPN differs from their mail address. The default stays userPrincipalName. A mail lookup that matches more than one user fails instead of returning several principals. See Look up users by mail.
  • skipQueryWhenRefMissing (#128): when a groupRef, groupsRef, usersRef or servicePrincipalsRef path does not exist yet, the function skips the query with a Warning result and a FunctionSkip condition with reason RefNotResolved instead of failing the pipeline. The query runs on the first reconcile where the reference resolves. Default is false. See Skipping when a reference is not resolvable yet.

Behaviour changes

  • GroupMembership and Entra Agent ID members (#140): with msgraph-sdk-go v1.107.0, members whose @odata.type is agentUser, agentIdentity or agentIdentityBlueprintPrincipal are returned as type: user or type: servicePrincipal with their displayName, mail, userPrincipalName or appId. In v0.8.1 they were returned as type: unknown with displayName: Member <id>. Compositions that filter members on type now include them when Microsoft Graph returns these member types.

Fixes

  • UPN lookups with an apostrophe (#126): UserValidation now escapes the identifier as an OData string literal, so o'brien@example.com is sent as userPrincipalName eq 'o''brien@example.com'. In v0.8.1 the value was interpolated into the $filter unescaped. Inputs that already doubled the apostrophe (o''brien@example.com) produce the same filter as before.

Security

v0.9.0 fixes all 55 findings a grype scan reports against function-msgraph:v0.8.1 (1 Critical, 22 High, 20 Medium, 5 Low, 7 Negligible). A grype scan of the new image reports no vulnerabilities, and govulncheck reports none in the Go code. Scanned with grype 0.122.1 (vulnerability database of 2026-11-23) on linux/amd64 and linux/arm64.

Runtime image

The runtime base image changed from gcr.io/distroless/base-debian13 to gcr.io/distroless/static-debian13 (#144).

  • The function binary is statically compiled (CGO_ENABLED=0), so the image no longer ships glibc, OpenSSL, zlib or zstd. This removes every finding in libc6, libssl3t64 and zlib1g.
  • The image still runs as the distroless nonroot user and still contains the CA certificates and time zone data. No configuration changes are required.

Components

Component v0.8.1 v0.9.0 Findings fixed
Go toolchain (stdlib) go1.26.10 go1.26.11 1
golang.org/x/net v0.54.0 v0.62.0 6
google.golang.org/grpc v1.81.1 v1.83.2 3
golang.org/x/text v0.37.0 v0.44.0 1
github.com/microsoft/kiota-http-go v1.5.4 v1.5.6 1
go.opentelemetry.io/otel/trace v1.43.0 v1.47.0 1
libc6 2.41-12+deb13u4 removed 28
libssl3t64 3.5.7-1~deb13u3 removed 12
zlib1g 1:1.3.dfsg+really1.3.1-1+b1 removed 2
Fixed findings by component

Go standard library
CVE-2026-97054

golang.org/x/net (Critical: CVE-2026-78663)
CVE-2026-39821, CVE-2026-78659, CVE-2026-78660, CVE-2026-78663, CVE-2026-78669, CVE-2026-97032

google.golang.org/grpc
CVE-2026-84304, CVE-2026-84445, GHSA-hrxh-6v49-42gf

golang.org/x/text
CVE-2026-56852

github.com/microsoft/kiota-http-go
CVE-2026-44503

go.opentelemetry.io/otel/trace
CVE-2026-128085

libc6 (removed)
CVE-2010-4756, CVE-2018-20796, CVE-2019-9192, CVE-2019-1010022, CVE-2019-1010023, CVE-2019-1010024, CVE-2019-1010025, CVE-2026-5435, CVE-2026-6238, CVE-2026-6368, CVE-2026-6791, CVE-2026-8674, CVE-2026-18374, CVE-2026-19499, CVE-2026-19542, CVE-2026-77117, CVE-2026-80489, CVE-2026-84243, CVE-2026-86805, CVE-2026-89092, CVE-2026-95818, CVE-2026-97399, CVE-2026-100290, CVE-2026-115819, CVE-2026-121757, CVE-2026-121758, CVE-2026-124024, CVE-2026-126765

libssl3t64 (removed)
CVE-2026-35190, CVE-2026-84786, CVE-2026-88822, CVE-2026-88823, CVE-2026-95690, CVE-2026-95691, CVE-2026-95692, CVE-2026-107493, CVE-2026-107496, CVE-2026-121481, CVE-2026-121482, CVE-2026-124709

zlib1g (removed)
CVE-2026-27171, CVE-2026-85091

Other changes

  • github.com/microsoftgraph/msgraph-sdk-go v1.96.0 → v1.107.0 (#140)
  • google.golang.org/grpc, golang.org/x/net, golang.org/x/crypto, github.com/microsoft/kiota-http-go and github.com/crossplane/crossplane-runtime/v2 security bumps (#143)
  • Go toolchain go1.26.10 → go1.26.11 (#135)
  • github.com/microsoft/kiota-abstractions-go v1.9.3 → v1.12.2 (#139)
  • github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 → v1.15.0 (#138)
  • github.com/alecthomas/kong v1.15.0 → v1.17.0 (#137)
  • k8s.io/apimachinery v0.36.2 → v0.37.2 (#141), k8s.io/utils (#133), google.golang.org/protobuf v1.36.12 (#134)
  • sigs.k8s.io/controller-tools v0.20.1 → v0.23.0 (#142)
  • Example function pins updated (#136)
  • CI workflow and Renovate configuration synced from shared workflows (#129, #132, #135)

Full changelog: v0.8.1...v0.9.0