kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[Logstash Plugin] Migrate authc.getCurrentUser usage to coreContext.security

Open tsullivan opened this issue 1 year ago • 2 comments

Part of https://github.com/elastic/kibana/issues/186574

Summary

This PR migrates the Logstash Plugin's route handler for saving a pipeline, which consumes authc.getCurrentUser, to use coreContext.security.

Background: This PR serves as an example of a plugin migrating away from depending on the Security plugin, which is a high priority effort for the last release before 9.0.

Checklist

Delete any items that are not applicable to this PR.

tsullivan avatar Jun 28 '24 18:06 tsullivan

/ci

tsullivan avatar Jun 28 '24 20:06 tsullivan

/ci

tsullivan avatar Jul 01 '24 15:07 tsullivan

:yellow_heart: Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
logstash 2 1 -1

History

  • :yellow_heart: Build #218566 was flaky eeb396bef7e21f32e082a6c84869aad52c9301a6
  • :broken_heart: Build #218563 failed c7bfb4d80c4dfa09db07b7bbf7533b7f84f1260c

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

kibana-ci avatar Jul 01 '24 17:07 kibana-ci

:yellow_heart: Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
logstash 2 1 -1

History

  • :broken_heart: Build #219223 failed cf126a9228f90a028ee5ebb28d9968a7db810aed

elasticmachine avatar Jul 03 '24 17:07 elasticmachine