Skip to content

For 4.89 RC: Add SCIM end-points to api_endpoints.yml - #48642

Merged
juan-fdz-hawa merged 2 commits into
rc-minor-fleet-v4.89.0from
cherry-pick-48413-48565-into-4.89
Jul 2, 2026
Merged

For 4.89 RC: Add SCIM end-points to api_endpoints.yml#48642
juan-fdz-hawa merged 2 commits into
rc-minor-fleet-v4.89.0from
cherry-pick-48413-48565-into-4.89

Conversation

@juan-fdz-hawa

Copy link
Copy Markdown
Contributor

noahtalerman and others added 2 commits July 2, 2026 12:25
- Update the best practice is to create an API-only user w/ the admin
role and access only to necessary SCIM API endpoints
- These doc updates require [this
bug](#48062) to be fixed because
the `/scim/*` API endpoints aren't exposed as API endpoints one can pick
when creating an API only user
- Document the `/scim/*` API endpoints


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added SCIM API endpoints for managing users and groups.
* Supported actions include listing, creating, viewing, replacing,
updating, and deleting SCIM users and groups.
* Added read-only endpoints for SCIM schemas, service provider
configuration, and resource types.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
The SCIM endpoints are served by the elimity-com/scim library mounted as
a single prefix handler on the root ServeMux, so they are never
registered as individual gorilla/mux routes.

Since the routes can't be discovered, supply them to the validator
instead: add scim.RegisterValidationRoutes, a FeatureRouteFunc that
registers stub routes for the SCIM endpoints (handlers are never
invoked, only their path templates and methods are inspected). Wire it
into the three Validate call sites (production serve, test helper,
svctest).
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.89.0@757bcbf). Learn more about missing BASE report.

Files with missing lines Patch % Lines
cmd/fleet/serve.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.89.0   #48642   +/-   ##
=========================================================
  Coverage                          ?   67.49%           
=========================================================
  Files                             ?     3677           
  Lines                             ?   233678           
  Branches                          ?    12240           
=========================================================
  Hits                              ?   157729           
  Misses                            ?    61798           
  Partials                          ?    14151           
Flag Coverage Δ
backend 69.05% <95.23%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@juan-fdz-hawa
juan-fdz-hawa marked this pull request as ready for review July 2, 2026 17:09
@juan-fdz-hawa
juan-fdz-hawa requested review from a team and rachaelshaw as code owners July 2, 2026 17:09

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@juan-fdz-hawa
juan-fdz-hawa merged commit 33fba4e into rc-minor-fleet-v4.89.0 Jul 2, 2026
38 of 39 checks passed
@juan-fdz-hawa
juan-fdz-hawa deleted the cherry-pick-48413-48565-into-4.89 branch July 2, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants