docs: rewrite SAML SSO guide and split into dedicated sub-pages - #7484
Open
eedugon wants to merge 39 commits into
Open
docs: rewrite SAML SSO guide and split into dedicated sub-pages#7484eedugon wants to merge 39 commits into
eedugon wants to merge 39 commits into
Conversation
Rewrites saml.md as a streamlined how-to using the stepper component. Moves advanced content (attribute mapping, signing/encryption, SAML without Kibana) to dedicated sub-pages. Updates toc.yml accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
eedugon
marked this pull request as draft
July 21, 2026 13:36
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update saml-entra.md, cloud-enterprise-orchestrator/saml.md and trb-security-saml.md to point to saml-attribute-mapping.md for anchors that moved there (saml-es-user-properties, saml-attribute-mapping-nameid) - Add [saml-kibana-basic] anchor to saml.md for backward compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Contributor
Elastic Docs Style Checker (Vale)Summary: 3 suggestions found 💡 Suggestions (3): Optional style improvements. Apply when helpful.
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
- Case-sensitivity warnings on idp.entity_id and sp.entity_id - Attribute URI mismatch warning (most common silent failure) - NameID transient vs persistent gotcha in attributes.principal callout - Clock skew note for assertion validation failures Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…gin section - Add URL/file path note and link to Create SAML realm in IdP requirements section - Remove 'Information to gather' subsection (redundant with Steps 1 and 2) - Convert ECH/ECE/ECK note to proper note admonition - Fix 'with security enabled' link to correct self-setup target - Expand Step 2 with definition list alternative layout (work in progress) - Add sp.acs link to Elasticsearch reference doc Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Make the description self-contained: include the exact URL format, clarify browser reachability, and add the reverse proxy gotcha. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rsion Update idp.entity_id and sp.acs callout descriptions in the original Step 2 layout to match the improved wording in the alternative version. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…te mapping section - Remove V1 callout layout, promote V2 definition list as the canonical Step 2 - Add correct anchor and title to Step 2 - Rewrite Map SAML attributes subsection: add context paragraph explaining what attributes are, clarify principal (required) vs groups (recommended), keep warning in context rather than as the opening element, enumerate advanced use cases before linking to saml-attribute-mapping.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ctions - Remove leftover eedugon note comment - Replace em-dashes with shorter sentences throughout - Mark attributes.principal (required) and attributes.groups (recommended) directly in definition list terms - Move full settings reference link above the definition list - Consolidate signing note into its own admonition after the order note - Replace "may" with "might" per technical writing conventions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use consistent pattern for both: "The URL of the X within Kibana..."
with a concrete example URL instead of {kibana-url} placeholder.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The `order` setting note was a standalone :::{note} block, but `order` is
not SAML-specific. Moved it as a <1> footnote on the YAML `order: 2` line
for tighter placement without breaking the prose flow.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The YAML values are self-evidently examples, and the definition list below already explains what each setting requires. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Swap steps 3 and 4: Configure Kibana now comes before Configure role mappings - Add Step 5 "Test your configuration" with authenticate API, troubleshooting link - Remove standalone Troubleshooting section (single line, now absorbed into Step 5) - Add restart notes in intros of ES and Kibana steps - Move order footnote, remove redundant "replace example values" sentence - Make settings intro actionable: "Configure each setting as described below" - Link stack-settings to #configure-stack-settings anchor in both steps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… 1 tip Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
eedugon
marked this pull request as ready for review
July 23, 2026 10:34
…nstances section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
shainaraskas
approved these changes
Jul 29, 2026
shainaraskas
left a comment
Member
There was a problem hiding this comment.
super solid. probably most of my comments are on the old stuff - language nits you didn't introduce you can ignore, but we could also make AI quickly fix the tense issues and maybe some of the italics, unplain language, and parentheticals.
buuut imo largely shipit. thank you 👏 👏 👏 👏 👏
stray thoughts:
- would be nice if this page linked up to its conceptual home: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7484/troubleshoot/elasticsearch/security/trb-security-saml
Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
- Add contextualization sentence linking to main SAML guide in saml-attribute-mapping.md and saml-signing-encryption.md - Add URN to SingleLogoutService bullet for consistency - Add applies_to tag to Prerequisites for self-managed clusters section - Add intro sentence before Configuration steps stepper - Frontload SP metadata tip in Configure IdP step; convert signing cert note to optional step 7 - Clarify realm settings intro as "most commonly used settings" - Clarify that lower order number means higher priority - Fix "confgired" typo - Improve session timeout sentence to mention per-provider context - Change "Kibana features" to "Kibana privileges" for accuracy - Improve req_authn_context_class_ref link text - Add nameid_format link in saml-attribute-mapping.md - Remove parentheses from saml-signing-encryption.md intro - Add TBD comment for reverse proxy basic auth paragraph Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Create deploy-manage/_snippets/es-file-path-tip.md with generic guidance on configuring file paths in Elasticsearch settings across deployment types (self-managed, ECH, ECE, ECK). Replace three duplicate tip blocks in saml.md and saml-signing-encryption.md with includes of the new snippet. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Rewrite TLS prerequisite to mention production mode requirement with link to bootstrap checks, reassure users TLS is enabled in most cases, and follow Shaina's suggestion to put reassurance before action link - Remove parenthetical in basic auth section intro Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pping doc Add a reference to the full SAML realm settings at the end of the mappable user properties section, so readers can find type info and configuration details for attributes.* settings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes elastic/docs-content-internal#427
Main preview link: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/7484/deploy-manage/users-roles/cluster-or-deployment-auth/saml
Summary
The original
saml.mdhad grown into a single monolithic page with 43 sections covering every aspect of SAML configuration — prerequisites, configuration steps, advanced features, reference details, and edge cases — with no clear separation between required and optional content, and no logical ordering that reflected an actual configuration workflow.This PR restructures the guide into an actionable how-to and moves some parts to dedicated sub-pages.
Scope of changes
saml.md(main guide) has been significantly reworked: restructured as a stepper-based how-to, language improved for clarity, redundancies removed, technical inaccuracies corrected, and advanced sections reordered by relevance.Sub-pages extracted from the original content have been left with the original text largely intact. They are a starting point and will be improved in follow-up work:
saml-attribute-mapping.md— full attribute mapping referencesaml-signing-encryption.md— signing and encryption guide with certificate generation examplessaml-without-kibana.md— SAML REST API flow for custom applicationsStructural changes to
saml.mdNotable content corrections
Multiple Kibana instances — Rewritten to make the actual condition explicit: each distinct public URL requires its own SAML realm, regardless of how many nodes or replicas exist behind it. Correctly scoped to self-managed and ECK deployments.
req_authn_contextsection — Now includes an MFA example using the Entra ID URI with a footnote clarifying that exact values are IdP-specific.SP metadata curl command — Fixed from
http://localhost:9200(incorrect, SAML requires HTTPS) tohttps://elasticsearch.example.com:9200with a footnote.SLO section — Simplified by removing redundant sub-headings that duplicated content already in the IdP requirements section.