← 输入框|github.com|刷新
Skip to content

Releases

v0.9.0

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

v0.8.1

Choose a tag to compare

@jakubramut jakubramut released this 26 Oct 14:25
65d24f6

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@ytsarev ytsarev released this 18 Aug 11:30
6912382

What's Changed

  • feat: add optional activeAccount to UserValidation by @ytsarev in #123
  • Update k8s.io/utils digest to cf1189d by @renovate[bot] in #124

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@ytsarev ytsarev released this 21 Jul 13:38
c31a4c3

What's Changed

  • Update xpkg.upbound.io/upbound/function-msgraph Docker tag to v0.6.0 by @renovate[bot] in #99
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.94.0 by @renovate[bot] in #100
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.96.0 by @renovate[bot] in #104
  • Update module sigs.k8s.io/controller-tools to v0.20.1 by @renovate[bot] in #109
  • Update module github.com/alecthomas/kong to v1.15.0 by @renovate[bot] in #105
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #102
  • fix: return mail and userPrincipalName for GroupMembership user members by @ytsarev in #116
  • feat: add optional queryInterval to throttle Microsoft Graph queries by @ytsarev in #118
  • Update module github.com/crossplane/function-sdk-go to v0.7.1 by @renovate[bot] in #110
  • feat: store queryInterval timestamp in a separate status field by @ytsarev in #119
  • Update module k8s.io/apimachinery to v0.36.2 by @renovate[bot] in #114

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@ytsarev ytsarev released this 15 Jan 11:16
2ff83c1

What's Changed

  • Update xpkg.upbound.io/upbound/function-msgraph Docker tag to v0.5.0 by @renovate[bot] in #88
  • Update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in #90
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #87
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.93.0 by @renovate[bot] in #92
  • Update k8s.io/utils digest to 914a6e7 by @renovate[bot] in #93
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #97
  • Update xpkg.upbound.io/crossplane-contrib/function-environment-configs Docker tag to v0.6.0 by @renovate[bot] in #98
  • Update dependency go to v1.25.5 by @renovate[bot] in #37
  • Update module k8s.io/apimachinery to v0.35.0 by @renovate[bot] in #89
  • Update module sigs.k8s.io/controller-tools to v0.20.0 by @renovate[bot] in #94

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@ytsarev ytsarev released this 05 Dec 20:13
892bdfb

What's Changed

  • Update xpkg.upbound.io/upbound/function-msgraph Docker tag to v0.4.0 by @renovate[bot] in #58
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.12.0 by @renovate[bot] in #60
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.86.0 by @renovate[bot] in #61
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #59
  • Remove duplicated renovate.json by @ytsarev in #66
  • Update module google.golang.org/protobuf to v1.36.10 by @renovate[bot] in #62
  • Update k8s.io/utils digest to bc988d5 by @renovate[bot] in #63
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.87.0 by @renovate[bot] in #64
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.13.0 by @renovate[bot] in #65
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.89.0 by @renovate[bot] in #70
  • Add documentation for usage with EnvironmentConfig by @tvandinther in #74
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #72
  • Update GitHub Artifact Actions (major) by @renovate[bot] in #71
  • 🔄 synced file(s) with upbound/sa-up by @upbound-bot in #82
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.13.1 by @renovate[bot] in #76
  • Update module k8s.io/apimachinery to v0.34.2 by @renovate[bot] in #77
  • Update module github.com/alecthomas/kong to v1.13.0 by @renovate[bot] in #78
  • Add support for empty input lists by @tvandinther in #68
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.90.0 by @renovate[bot] in #80
  • Update crossplane-runtime to v2 and function-skd-go v5 by @renovate[bot] in #39
  • Fix XRD field inconsistencies and update to crossplane-system namespace by @ytsarev in #85
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.91.0 by @renovate[bot] in #86

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@ytsarev ytsarev released this 12 Sep 12:46
a1a3bb6

What's Changed

  • Update xpkg.upbound.io/upbound/function-msgraph Docker tag to v0.3.0 by @renovate[bot] in #49
  • Update module sigs.k8s.io/controller-tools to v0.19.0 by @renovate[bot] in #50
  • Issue#51/support operations by @jonasz-lasut in #54
  • Update actions/setup-go action to v6 by @renovate[bot] in #53
  • Update module google.golang.org/protobuf to v1.36.9 by @renovate[bot] in #55
  • Update module k8s.io/apimachinery to v0.34.1 by @renovate[bot] in #56
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.85.0 by @renovate[bot] in #57

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@ytsarev ytsarev released this 27 Aug 23:26
5f6ce67

What's Changed

  • Update examples by @renovate[bot] in #6
  • Bump environmentconfig example to v1beta1 by @ytsarev in #11
  • Update golangci/golangci-lint-action action to v8 by @renovate[bot] in #10
  • Update dependency go to v1.24.3 by @renovate[bot] in #3
  • Update module github.com/microsoft/kiota-authentication-azure-go to v1.3.0 by @renovate[bot] in #7
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.9.0 by @renovate[bot] in #4
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.70.0 by @renovate[bot] in #8
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.71.0 by @renovate[bot] in #13
  • Update module k8s.io/apimachinery to v0.33.1 by @renovate[bot] in #9
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.10.0 by @renovate[bot] in #14
  • Update module sigs.k8s.io/controller-tools to v0.18.0 by @renovate[bot] in #12
  • Update module github.com/alecthomas/kong to v1.11.0 by @renovate[bot] in #15
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.72.0 by @renovate[bot] in #16
  • Update module github.com/crossplane/crossplane-runtime to v1.20.0 by @renovate[bot] in #18
  • Update xpkg.upbound.io/crossplane-contrib/function-environment-configs Docker tag to v0.4.0 by @renovate[bot] in #19
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.73.0 by @renovate[bot] in #20
  • Update dependency go to v1.24.4 by @renovate[bot] in #21
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.10.1 by @renovate[bot] in #22
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.74.0 by @renovate[bot] in #23
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.78.0 by @renovate[bot] in #24
  • Update module k8s.io/apimachinery to v0.33.3 by @renovate[bot] in #25
  • Update module github.com/alecthomas/kong to v1.12.0 by @renovate[bot] in #26
  • Update dependency go to v1.24.5 by @renovate[bot] in #27
  • Update module github.com/microsoft/kiota-authentication-azure-go to v1.3.1 - autoclosed by @renovate[bot] in #28
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.79.0 by @renovate[bot] in #29
  • Update module github.com/alecthomas/kong to v1.12.1 by @renovate[bot] in #30
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.80.0 - autoclosed by @renovate[bot] in #31
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.83.0 by @renovate[bot] in #33
  • Update actions/download-artifact action to v5 by @renovate[bot] in #36
  • Update module google.golang.org/protobuf to v1.36.7 by @renovate[bot] in #38
  • Update actions/checkout digest to 08eba0b by @renovate[bot] in #40
  • Update module github.com/Azure/azure-sdk-for-go/sdk/azidentity to v1.11.0 by @renovate[bot] in #35
  • Update actions/checkout action to v5 by @renovate[bot] in #41
  • Update module google.golang.org/protobuf to v1.36.8 by @renovate[bot] in #43
  • Update module k8s.io/apimachinery to v0.33.4 by @renovate[bot] in #42
  • Update module github.com/microsoftgraph/msgraph-sdk-go to v1.84.0 by @renovate[bot] in #44
  • Fix #34: Data returned by graphQuery should return map[string]type to be able to be serialized into structpb.Value by @jonasz-lasut in #46
  • Feat/workload identity support by @jonasz-lasut in #45
  • Update k8s.io/utils digest to 0af2bda by @renovate[bot] in #47

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@ytsarev ytsarev released this 01 May 10:00
51b7ecd

What's Changed

  • Add dynamic references and fix group membership issues in Microsoft Graph function by @ytsarev in #2

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@ytsarev ytsarev released this 28 Apr 09:05
02c8dab

Initial release of function-msgraph, a Crossplane composition function for querying the Microsoft Graph API.

Features

  • User Validation: Verify whether Azure AD users exist
  • Group Membership: Query group membership to get member details
  • Group Object IDs: Retrieve object IDs for Azure AD groups
  • Service Principal Details: Get information about service principals
  • Throttling mitigation with skipQueryWhenTargetHasData option
  • Comprehensive examples for all supported query types

Development Tools update

  • Using golangci-lint v2 for code quality

Full Changelog: v0.0.0...v0.1.0