Fix PR review comments on SCIM surfaces

- Return valid JSON (null) in `prb scim view --json` when no
  SCIM configuration exists
- Remove organization ID from MCP not-found error to prevent
  identifier disclosure in multi-tenant paths
- Use nullable GID refs for bridge_id and connector_id in
  MCP specification for correct generated ID typing

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-05-04 19:30:52 +04:00
parent 3b712273ef
commit f418780dd4
4 changed files with 12 additions and 21 deletions

View File

@@ -9929,9 +9929,9 @@ components:
$ref: "#/components/schemas/GID"
description: Organization ID
bridge_id:
type:
- string
- "null"
anyOf:
- $ref: "#/components/schemas/GID"
- type: "null"
description: Associated SCIM bridge ID, if any
created_at:
type: string
@@ -9964,9 +9964,9 @@ components:
$ref: "#/components/schemas/GID"
description: SCIM configuration ID
connector_id:
type:
- string
- "null"
anyOf:
- $ref: "#/components/schemas/GID"
- type: "null"
description: Connector ID, if any
type:
$ref: "#/components/schemas/SCIMBridgeType"