Skip to content

Fix Stacklok Enterprise docs gaps from demo walkthrough - #1291

Merged
danbarr merged 4 commits into
mainfrom
fix-enterprise-demo-gaps
Oct 29, 2026
Merged

danbarr merged 4 commits into
mainfrom
fix-enterprise-demo-gaps

Conversation

@danbarr

@danbarr danbarr commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Fixes four docs gaps and bugs found while walking through the demo scenarios. UI labels and behavior were verified against stacklok-enterprise-platform at v0.25.0.

  • Okta directory sync: the reconciler only takes attributes from target app profile properties that have a SCIM destination (externalName), so a target app without them syncs users with no display name or email, and nothing is logged. Adds a "Map user attributes" section with a Terraform example, updates Prerequisites to say no SCIM connection is configured on the target app, adds a display-name/email check to Verify synchronization, and adds a troubleshooting entry. Also adds hcl to the Prism additionalLanguages for the new code block.
  • Connector Activity: calls the connector policy refuses never appear on the Activity tab, and the audit log records them as application_error. Updates the Activity section, rewrites step 3 of "Check a user's access" to use the audit log, and notes policy refusals in the audit outcome table.
  • Manage budgets: matches the current Budgets screen.
    • Defaults is now a button on the User Budgets tab.
    • Documents the per-user actions (Set a custom budget, Edit custom budget, Use default) and the group actions (Edit budget, Delete budget).
    • Corrects Edit Budgets: it reorders group budget priority rather than bulk-editing users.
    • Explains that a user budget falls through to group budgets once it runs out.
  • Organization spend screen: adds a "Monitor spend" section to Manage budgets covering the Total spend chart and the Groups/Users usage table. The API page keeps the endpoint table and links to it, and the console overview now lists Organization.

The Service Accounts tabs on these screens are left out while that feature is behind a flag.

Note for reviewers: additionalLanguages grammars, including the existing bash and powershell, don't currently highlight anywhere on the site (production included), so the new HCL block renders unhighlighted like the others. That's a separate, pre-existing issue.

Type of change

  • Documentation update

Related issues/PRs

Fixes #1281
Fixes #1282
Fixes #1283
Fixes #1287

Related: #1243 (console data retention). Interim wording tracks these platform bugs: stacklok/stacklok-enterprise-platform#3901, stacklok/stacklok-enterprise-platform#5758, stacklok/stacklok-enterprise-platform#5764

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Reviewer checklist

Content

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

🤖 Generated with Claude Code

danbarr and others added 3 commits October 28, 2026 21:34
The reconciler only projects app-profile properties whose schema
entry has a SCIM destination. Without them, users sync with no
display name or email. Describe the schema properties and profile
mappings the target app needs; no SCIM connection is configured.

Fixes #1281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refused calls never appear on the Activity tab and are audited as
application_error, so point admins to the audit log instead.

Fixes #1282

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Match the current Budgets screen layout, explain how user budgets
fall through to group budgets, and document the Organization spend
screen.

Fixes #1283
Fixes #1287

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 29, 2026 01:35
@vercel

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs-website Ready Ready Preview Oct 29, 2026 1:48am UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The troubleshooting guidance incorrectly attributes missing audit events to client or connection problems without first requiring tool-call audit events to be enabled and the call reproduced.

1 open issue
What changed in this PR

Updates Stacklok Enterprise documentation to address gaps found during demo walkthroughs, covering directory synchronization, connector troubleshooting, and AI spend management.

Changes:

  • Adds Okta attribute-mapping instructions, a Terraform example, and synchronization checks.
  • Corrects connector Activity and audit-log guidance for policy-refused calls.
  • Updates budget controls, explains group-budget fallback, and documents Organization spend monitoring.
File Description
docusaurus.config.ts Adds HCL to Prism's additional languages.
docs/​platform/​enterprise-directory/​okta-directory-sync.mdx Documents SCIM attribute mappings and missing-profile troubleshooting.
docs/​platform/​enterprise-console/​index.mdx Links to Organization spend monitoring.
docs/​connector-gateway/​support-connector-access.mdx Directs policy-refusal investigations to audit events.
docs/​connector-gateway/​forward-audit-logs.mdx Clarifies the audit outcome for policy-refused calls.
docs/​connector-gateway/​connectors.mdx Corrects Activity coverage and its limitations.
docs/​ai-gateway/​manage-budgets.mdx Updates budget actions and adds spend-monitoring guidance.
docs/​ai-gateway/​budgets-and-pricing.mdx Clarifies budget fallback and links to console instructions.

Review effort: Balanced

Audit logging is off by default and can filter out mcp_tool_call, so
missing events only point to the client once tool-call events are on
and the call is retried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danbarr
danbarr merged commit 2f2e3e0 into main Oct 29, 2026
10 checks passed
@danbarr
danbarr deleted the fix-enterprise-demo-gaps branch October 29, 2026 13:16

This branch was successfully deployed

1 active deployment
Preview — f0bd44b1 Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants