OpenSearch/qa
Jay Modi 2d893df7e9 Add better authorization for scroll requests and remove signing (elastic/x-pack-elasticsearch#1416)
This commit adds better security for scroll requests in that they are now tied to a single user as
we only authorize the request that creates the scroll. This is accomplished by adding a
SearchOperationListener that listens for new scroll contexts and stores the authentication on the
ScrollContext. Then upon
retrieval of the search context for a query or fetch, the current authentication is compared to the
authentication that was present when the scroll context was created. If the current authentication
belongs to a different user, then a SearchContextMissingException will be thrown to prevent leaking
a valid vs invalid scroll id.

Additionally, signing of a scroll id is only performed when there is a older node in the cluster
that would expect the scroll id to be signed. Once this is backported to 5.x, we can remove this
bwc layer for 6.0/master.

Original commit: elastic/x-pack-elasticsearch@0e5dcafd32
2017-06-06 10:23:18 -06:00
..
audit-tests Remove SecuredString and use SecureString from elasticsearch core (elastic/x-pack-elasticsearch#1092) 2017-04-17 13:28:46 -04:00
core-rest-tests-with-security Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
ml-basic-multi-node [ML] Validate job configs before transport (elastic/x-pack-elasticsearch#1375) 2017-05-10 10:55:16 +01:00
ml-disabled [TEST] Give jobs meaningful names in ML integ tests (elastic/x-pack-elasticsearch#1103) 2017-04-19 12:00:53 +01:00
ml-no-bootstrap-tests Rename x-pack project names to new names with split repo 2017-02-10 11:02:42 -08:00
ml-single-node-tests Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
multi-cluster-search-security Rename test from `.yaml` to `yml` 2017-05-17 15:39:57 +02:00
reindex-tests-with-security Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
rolling-upgrade Add better authorization for scroll requests and remove signing (elastic/x-pack-elasticsearch#1416) 2017-06-06 10:23:18 -06:00
security-client-tests Remove SecuredString and use SecureString from elasticsearch core (elastic/x-pack-elasticsearch#1092) 2017-04-17 13:28:46 -04:00
security-example-extension Move integ test runner deps to cluster deps (elastic/x-pack-elasticsearch#1096) 2017-04-17 16:04:09 -07:00
security-migrate-tests Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
smoke-test-graph-with-security Add a short-lived token based access mechanism (elastic/x-pack-elasticsearch#1029) 2017-04-26 08:00:03 -04:00
smoke-test-ml-with-security [TEST] Add more exclusions to ML security tests 2017-06-05 11:37:12 +01:00
smoke-test-plugins Rename test from `.yaml` to `yml` 2017-05-17 15:39:57 +02:00
smoke-test-plugins-ssl [TESTS] Fix filename pattern for templating in SSL smoke test 2017-05-18 11:07:42 +10:00
smoke-test-security-with-mustache Remove leftover file template references 2017-05-17 23:22:27 -07:00
smoke-test-watcher Tests: Various watcher test improvements 2017-05-24 14:08:02 +02:00
smoke-test-watcher-with-mustache Script: Convert uses of CompiledTemplate to TemplateScript (elastic/x-pack-elasticsearch#1630) 2017-06-02 13:41:33 -07:00
smoke-test-watcher-with-painless Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
smoke-test-watcher-with-security Rename test from `.yaml` to `yml` 2017-05-17 15:39:57 +02:00
transport-client-tests Remove deprecated script settings. (elastic/x-pack-elasticsearch#1469) 2017-05-18 13:32:57 -07:00
tribe-node-tests-with-security Rename test from `.yaml` to `yml` 2017-05-17 15:39:57 +02:00
tribe-tests-with-license [TEST] Adapt wait_for_nodes condition for ClusterFormationTasks with tribes 2017-04-27 09:57:54 +02:00
tribe-tests-with-security [TEST] Adapt wait_for_nodes condition for ClusterFormationTasks with tribes 2017-04-27 09:57:54 +02:00
vagrant Rename x-pack project names to new names with split repo 2017-02-10 11:02:42 -08:00
build.gradle Migrates QA files 2017-02-08 16:58:55 +00:00