docs: Superset 6.1 documentation catch-up (security, alerts/reports, theming, config)#39440
Conversation
…d config - security.mdx: document API key authentication (PR #37973) — creation via Security → API Keys, Bearer token usage, use cases, and security caution - alerts-reports.mdx: document webhook notifications (PR #36127) — enable via ALERT_REPORT_WEBHOOK feature flag, JSON payload format, multipart attachments, HTTPS enforcement, and retry behavior - theming.mdx: update default fonts note (IBM Plex Mono replaces Fira Code as default monospace in 6.1); add Theme Validation and Fallback section explaining the three-level fallback order and warning log behavior - configuring-superset.mdx: document HASH_ALGORITHM config key (md5/sha256 for FedRAMP compliance) and SQLLAB_HISTORY_RETENTION_DAYS (default 30 days, None to disable pruning) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Code Review Agent Run #dabb50
Actionable Suggestions - 3
-
docs/admin_docs/configuration/configuring-superset.mdx - 3
- Incorrect config default · Line 454-454
- Missing config implementation · Line 463-468
- Misleading pruning description · Line 471-471
Review Details
-
Files reviewed - 4 · Commit Range:
90b82f5..90b82f5- docs/admin_docs/configuration/alerts-reports.mdx
- docs/admin_docs/configuration/configuring-superset.mdx
- docs/admin_docs/configuration/theming.mdx
- docs/admin_docs/security/security.mdx
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers a full AI review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.
Documentation & Help
Default is sha256 (per superset/config.py), not md5. Also mentions the HASH_ALGORITHM_FALLBACKS companion setting.
There is no SQLLAB_HISTORY_RETENTION_DAYS config. Pruning is opt-in via the prune_query Celery beat task, which is commented out in the default CELERY_BEAT_SCHEDULE. Rewrite the section to reflect how the feature actually works.
Code Review Agent Run #8c7a77Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Clarify that multipart/form-data webhook deliveries send each top-level payload field (name, text, description, url) as its own form field, with nested values like `header` JSON-encoded. Files are attached as repeated `files` form fields. This matches what `WebhookNotification.send()` actually does in superset/reports/notifications/webhook.py.
The previous docs said API keys are managed via Security → API Keys in the admin menu, but that page does not exist. In reality: - API key authentication is disabled by default. Admins must both set FAB_API_KEY_ENABLED=True (Flask-AppBuilder config) and enable the FAB_API_KEY_ENABLED feature flag to expose the UI. - Keys are managed on the User Info page, under the "API Keys" collapse panel (see superset-frontend/src/pages/UserInfo/index.tsx). Update the section to describe both the enablement steps and the correct UI path.
Code Review Agent Run #4c089bActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
…theming, config) (apache#39440) Co-authored-by: Superset Dev <dev@superset.apache.org> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
SUMMARY
Documentation updates for features shipped in Superset 6.1 that weren't covered in the initial 6.0 docs release:
API Key Authentication (
security.mdx) — documents the new long-lived API keys UI (Security → API Keys), how to create/revoke keys, how to pass them as Bearer tokens, and recommended use cases (CI/CD, MCP integrations, service accounts). Covers PR feat(api-keys): add API key authentication via FAB SecurityManager #37973.Webhook Notifications (
alerts-reports.mdx) — documents theALERT_REPORT_WEBHOOKfeature flag, how to configure a webhook recipient in the alert/report UI, the exact JSON payload structure, multipart file attachments,ALERT_REPORTS_WEBHOOK_HTTPS_ONLYenforcement, and retry behavior. Covers PR feat(reports): add webhook option for notifications #36127.Default Fonts & Theme Validation (
theming.mdx) — updates the Default Fonts section to reflect IBM Plex Mono replacing Fira Code as the default code font in 6.1, with a migration note for users with existingfontFamilyCodeoverrides. Also adds a Theme Validation and Fallback section explaining the three-level fallback order and server log warnings on invalid theme JSON.Config Keys (
configuring-superset.mdx) — documents two new config keys:HASH_ALGORITHM— switch betweenmd5(default) andsha256for FedRAMP-compliant environmentsSQLLAB_HISTORY_RETENTION_DAYS— controls query history retention (default 30 days,Noneto disable pruning)BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — documentation-only changes.
TESTING INSTRUCTIONS
cd docs && npm startto render locally and verify MDX formattingADDITIONAL INFORMATION
Part of the 6.1 documentation catch-up series alongside #39422 (MCP server docs).