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

[SIEM] Check auth status for privileges via security plugin #61334

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

rylnd
Copy link
Contributor

@rylnd rylnd commented Mar 25, 2020

Summary

Addresses #59225

  • Accounts for security being disabled, adds tests
  • Updates other auth-aware endpoints (import timeline, graphql) to
    account for security being disabled.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

* Accounts for security being disabled, adds tests
* Updates other auth-aware endpoints (import timeline, graphql) to
account for security being disabled.
@rylnd rylnd added Team:SIEM v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v7.8.0 labels Mar 25, 2020
@rylnd rylnd self-assigned this Mar 25, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rylnd rylnd marked this pull request as ready for review March 25, 2020 20:06
@rylnd rylnd requested a review from a team as a code owner March 25, 2020 20:06
@rylnd rylnd requested review from spong and FrankHassanabad March 25, 2020 20:07
Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

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

Checked out locally, ran with security disabled (via xpack.security.enabled: false), and was able to verify is_authenticated: false in the privileges API response (and the opposite as well for when security is enabled). LGTM! Thanks for the tests + cleanup here @rylnd 👍

@rylnd rylnd merged commit 9243b6d into elastic:master Mar 26, 2020
@rylnd rylnd deleted the clean_up_auth branch March 26, 2020 00:08
rylnd added a commit to rylnd/kibana that referenced this pull request Mar 26, 2020
…stic#61334)

* Accounts for security being disabled, adds tests
* Updates other auth-aware endpoints (import timeline, graphql) to
account for security being disabled.
rylnd added a commit that referenced this pull request Mar 26, 2020
) (#61383)

* Accounts for security being disabled, adds tests
* Updates other auth-aware endpoints (import timeline, graphql) to
account for security being disabled.
rylnd added a commit that referenced this pull request Mar 26, 2020
) (#61384)

* Accounts for security being disabled, adds tests
* Updates other auth-aware endpoints (import timeline, graphql) to
account for security being disabled.

Co-authored-by: Elastic Machine <[email protected]>
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.7.0 v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants