Bring in additions to api_endpoints.yml#48532
Conversation
There was a problem hiding this comment.
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.
|
FYI @noahtalerman it looks like some of the SCIM endpoints are causing the tests to fail; do all of them need to be available to API-only users, or can we comment them out for now? |
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## rc-patch-fleet-v4.88.0 #48532 +/- ##
=========================================================
Coverage ? 54.43%
=========================================================
Files ? 1672
Lines ? 192377
Branches ? 0
=========================================================
Hits ? 104722
Misses ? 76135
Partials ? 11520
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| path: "/api/v1/fleet/scim/Users" | ||
| display_name: "List SCIM users" | ||
| - method: "POST" | ||
| path: "/api/v1/fleet/scim/Users" | ||
| display_name: "Create SCIM user" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/Users/:id" | ||
| display_name: "Get SCIM user" | ||
| - method: "PUT" | ||
| path: "/api/v1/fleet/scim/Users/:id" | ||
| display_name: "Replace SCIM user" | ||
| - method: "PATCH" | ||
| path: "/api/v1/fleet/scim/Users/:id" | ||
| display_name: "Update SCIM user" | ||
| - method: "DELETE" | ||
| path: "/api/v1/fleet/scim/Users/:id" | ||
| display_name: "Delete SCIM user" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/Groups" | ||
| display_name: "List SCIM groups" | ||
| - method: "POST" | ||
| path: "/api/v1/fleet/scim/Groups" | ||
| display_name: "Create SCIM group" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/Groups/:id" | ||
| display_name: "Get SCIM group" | ||
| - method: "PUT" | ||
| path: "/api/v1/fleet/scim/Groups/:id" | ||
| display_name: "Replace SCIM group" | ||
| - method: "PATCH" | ||
| path: "/api/v1/fleet/scim/Groups/:id" | ||
| display_name: "Update SCIM group" | ||
| - method: "DELETE" | ||
| path: "/api/v1/fleet/scim/Groups/:id" | ||
| display_name: "Delete SCIM group" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/Schemas" | ||
| display_name: "Get SCIM schemas" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/ServiceProviderConfig" | ||
| display_name: "Get SCIM service provider config" | ||
| - method: "GET" | ||
| path: "/api/v1/fleet/scim/ResourceTypes" | ||
| display_name: "Get SCIM resource types" |
There was a problem hiding this comment.
@lucasmrod do you know if these SCIM endpoints are documented incorrectly? They're causing tests to fail with error initializing API endpoints: the following API endpoints are unknown: …
This file is what populates the API endpoints available to limit API-only users' access.
The changes here include some endpoints whose experimental status was recently removed, and the missing SCIM endpoints. We want to make these available for API-only users as soon as possible.