Repository navigation
Releases
v0.9.0
New features
additionalFields(#122): include extra Microsoft Graph properties in the results of every query type, appended to the default field set. ForGroupMembershiponly user properties are accepted. Unknown property names are skipped with anInfolog entry. See Additional Fields.userLookupField: mail(#126):UserValidationcan resolve users bymailinstead ofuserPrincipalName, for example B2B guests whose UPN differs from their mail address. The default staysuserPrincipalName. A mail lookup that matches more than one user fails instead of returning several principals. See Look up users by mail.skipQueryWhenRefMissing(#128): when agroupRef,groupsRef,usersReforservicePrincipalsRefpath does not exist yet, the function skips the query with aWarningresult and aFunctionSkipcondition with reasonRefNotResolvedinstead of failing the pipeline. The query runs on the first reconcile where the reference resolves. Default isfalse. See Skipping when a reference is not resolvable yet.
Behaviour changes
GroupMembershipand Entra Agent ID members (#140): withmsgraph-sdk-gov1.107.0, members whose@odata.typeisagentUser,agentIdentityoragentIdentityBlueprintPrincipalare returned astype: userortype: servicePrincipalwith theirdisplayName,mail,userPrincipalNameorappId. In v0.8.1 they were returned astype: unknownwithdisplayName: Member <id>. Compositions that filter members ontypenow include them when Microsoft Graph returns these member types.
Fixes
- UPN lookups with an apostrophe (#126):
UserValidationnow escapes the identifier as an OData string literal, soo'brien@example.comis sent asuserPrincipalName eq 'o''brien@example.com'. In v0.8.1 the value was interpolated into the$filterunescaped. 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 inlibc6,libssl3t64andzlib1g. - The image still runs as the distroless
nonrootuser 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-gov1.96.0 → v1.107.0 (#140)google.golang.org/grpc,golang.org/x/net,golang.org/x/crypto,github.com/microsoft/kiota-http-goandgithub.com/crossplane/crossplane-runtime/v2security bumps (#143)- Go toolchain go1.26.10 → go1.26.11 (#135)
github.com/microsoft/kiota-abstractions-gov1.9.3 → v1.12.2 (#139)github.com/Azure/azure-sdk-for-go/sdk/azidentityv1.13.1 → v1.15.0 (#138)github.com/alecthomas/kongv1.15.0 → v1.17.0 (#137)k8s.io/apimachineryv0.36.2 → v0.37.2 (#141),k8s.io/utils(#133),google.golang.org/protobufv1.36.12 (#134)sigs.k8s.io/controller-toolsv0.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
What's Changed
- fix: bump go to 1.26.10 and runtime base to distroless base-debian13 for CVE-2026-111943 by @jakubramut in #127
New Contributors
- @jakubramut made their first contribution in #127
Full Changelog: v0.8.0...v0.8.1
v0.8.0
v0.7.0
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
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
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
- @upbound-bot made their first contribution in #59
- @tvandinther made their first contribution in #74
Full Changelog: v0.4.0...v0.5.0
v0.4.0
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
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
- @renovate[bot] made their first contribution in #6
- @jonasz-lasut made their first contribution in #46
Full Changelog: v0.2.0...v0.3.0
v0.2.0
v0.1.0
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