Skip to content

Adding a deprecation info API check for saml nameid_format setting #77276

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

Merged

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Sep 3, 2021

In 8.0 the behavior of an unset saml nameid_format setting. This commit adds a check to the deprecation
info API that warns users of this change, if they are using saml without nameid_format being set.
Relates #42404 #44090

@masseyke masseyke requested a review from jbaiera September 3, 2021 21:13
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Sep 3, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

if (detailsList.isEmpty()) {
return null;
} else {
String message = "if nameid_format is not explicitly set, the previous default of " +
Copy link
Member

Choose a reason for hiding this comment

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

I think we either need some more text here or a section in the breaking release notes and link from here ( I think the latter gives us more flexibility ). I can open a PR for the docs and reference the logs here once we have a link

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @jkakavas -- just confirming that this is still on your to-do list, and you're not waiting on anything from me.

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for the ping, you are right, this slipped my mind. I'll work on something today or tomorrow and get @lockewritesdocs to review.

Copy link
Member

Choose a reason for hiding this comment

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

Here is it: #77785

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I'll go ahead and merge this, and update its URL along with several others in an upcoming PR.

@masseyke
Copy link
Member Author

masseyke commented Sep 7, 2021

@elasticmachine update branch

1 similar comment
@masseyke
Copy link
Member Author

masseyke commented Sep 7, 2021

@elasticmachine update branch

Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM, pending results of the discussion about the docs

@masseyke masseyke merged commit 429920d into elastic:7.x Sep 15, 2021
@masseyke masseyke deleted the feature/deprecation-info-saml-name-id-format branch September 15, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>deprecation Team:Data Management Meta label for data/management team v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants