Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Update SAML URLs #77038

Merged
merged 5 commits into from
Sep 1, 2021

Conversation

lockewritesdocs
Copy link
Contributor

@lockewritesdocs lockewritesdocs commented Aug 30, 2021

Updates SAML URLs from /api/security/v1/saml to /api/security/saml/callback. This change was introduced to the documentation master branch in #47999, but was never backported to 7.x branches.

Preview link: https://elasticsearch_77038.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/7.x/saml-guide-stack.html

Relates to #81733 in the Kibana repo

cc: @kcm

@lockewritesdocs lockewritesdocs added >docs General docs changes :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v7.15.0 v7.16.0 v7.14.2 labels Aug 30, 2021
@lockewritesdocs lockewritesdocs self-assigned this Aug 30, 2021
@elasticmachine elasticmachine added Team:Security Meta label for security team Team:Docs Meta label for docs team labels Aug 30, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@lockewritesdocs
Copy link
Contributor Author

@elasticmachine update branch

@lockewritesdocs lockewritesdocs added the auto-backport Automatically create backport pull requests when merged label Aug 31, 2021
Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! I couldn't remember why we decided not to backport this change, but I can't think of any reason right now.

@lockewritesdocs
Copy link
Contributor Author

@elasticmachine update branch

@lockewritesdocs
Copy link
Contributor Author

The fips failures are not related to changes in this PR. Leaving links to both build scans to trace back:

@lockewritesdocs lockewritesdocs merged commit ea96fb3 into elastic:7.x Sep 1, 2021
@lockewritesdocs lockewritesdocs deleted the docs__update-saml-url branch September 1, 2021 17:57
@@ -77,17 +77,19 @@ POST /_security/saml/prepare
"realm" : "saml1"
}
--------------------------------------------------
// TEST[skip:Additional configuration needed in yml files]
Copy link
Member

Choose a reason for hiding this comment

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

Lets not skip tests without a valid reason. All we need to do here is to change

  setting 'xpack.security.authc.realms.saml.saml1.sp.acs', 'https://kibana.org/api/security/v1/saml'

to

  setting 'xpack.security.authc.realms.saml.saml1.sp.acs', 'https://kibana.org/api/security/saml/callback'

in x-pack/docs/build.gradle

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jkakavas, thanks for the pointer! I wasn't sure how to fix the tests that were breaking the build. I'll create a new PR for updating build.gradle.

lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Sep 1, 2021
* [DOCS] Update SAML URLs

* Fix links and skip tests that require more setup

* Fix TESTRESPONSE

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Sep 1, 2021
* [DOCS] Update SAML URLs

* Fix links and skip tests that require more setup

* Fix TESTRESPONSE

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
lockewritesdocs pushed a commit that referenced this pull request Sep 2, 2021
* [DOCS] Update SAML URLs

* Fix links and skip tests that require more setup

* Fix TESTRESPONSE

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
lockewritesdocs pushed a commit that referenced this pull request Sep 2, 2021
* [DOCS] Update SAML URLs

* Fix links and skip tests that require more setup

* Fix TESTRESPONSE

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >docs General docs changes :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Docs Meta label for docs team Team:Security Meta label for security team v7.14.2 v7.15.0 v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants