Tanguy Leroux
0b50bbb5e5
Fix compilation errors with org.elasticsearch.cluster.health.ClusterHealthStatus
...
Original commit: elastic/x-pack-elasticsearch@68988b2163
2015-11-16 15:34:26 +01:00
Martijn van Groningen
46044a4fe0
test: use one IndexSetting instance
...
Original commit: elastic/x-pack-elasticsearch@1f35455ebe
2015-11-16 12:01:42 +01:00
Martijn van Groningen
101e4ff7ce
test: added test that ensures that field data cache is not bypassed for segment and global ordinal caching when field subset reader hides the requested field.
...
Original commit: elastic/x-pack-elasticsearch@c4864d18ac
2015-11-16 11:38:02 +01:00
Martijn van Groningen
6e482d1a3d
shield: Also prohibit update requests inside bulk requests if FLS is enabled.
...
We do this already for update requests, but this was forgotten to be checked for bulk requests.
Original commit: elastic/x-pack-elasticsearch@8d864a7c98
2015-11-16 05:49:33 +01:00
Chris Earle
6ef51d5dc0
Merge branch 'master' of https://github.com/elastic/x-plugins
...
Original commit: elastic/x-pack-elasticsearch@22a9ade30e
2015-11-13 14:44:59 -05:00
Lee Hinman
557f0d4f83
Fix compilation for `newIndexSettings` arity change
...
Original commit: elastic/x-pack-elasticsearch@f94fabfcc9
2015-11-13 09:35:46 -07:00
Chris Earle
8c5fdc7023
Fixing references to bin/plugin -i
...
Original commit: elastic/x-pack-elasticsearch@708d381742
2015-11-12 13:45:38 -05:00
jaymode
1601ce4fba
add guava as a test dependency for jimfs
...
Original commit: elastic/x-pack-elasticsearch@331f834729
2015-11-11 13:40:03 -05:00
jaymode
d74de5acc8
shield: only wrap readers if the RequestContext can be located
...
Previously, when the RequestContext could not be located a FieldSubsetReader was returned that only
allowed meta fields to be read. This was done for safety in case there was an API missed so we did not
leak data. However, this causes issues because some requests in elasticsearch execute on a different
thread than the one with the RequestContext so we effectively lose this context and prevent access to
the fields in the document. This is especially problematic with update requests, because that means that
fields that aren't included in the updated document will be lost.
This commit removes the wrapping of the readers in this case and adds tests for bulk updates.
Closes elastic/elasticsearch#938
Original commit: elastic/x-pack-elasticsearch@74c8059da0
2015-11-11 13:26:49 -05:00
Ryan Ernst
26c8e949a4
Build: Remove transitive dependencies
...
In elastic/elasticsearchelastic/elasticsearch#14668, transitive dependencies were removed
from elasticsearch, and plugins now no longer get transitive deps
either. This commit fixes xplugins to remove transitive deps.
Original commit: elastic/x-pack-elasticsearch@5c41657b6e
2015-11-11 09:18:24 -08:00
Martijn van Groningen
39e58b03d5
Fix upstream changes to IndexSearcherWrapper: https://github.com/elastic/elasticsearch/pull/14654
...
Original commit: elastic/x-pack-elasticsearch@b32ba2ad78
2015-11-10 23:10:04 +07:00
Areek Zillur
dcae5fb5f0
ensure no operation is blocked before initial license notification
...
closes elastic/elasticsearch#906
update comment
Original commit: elastic/x-pack-elasticsearch@0bd788720f
2015-11-09 11:31:06 -05:00
Ryan Ernst
33785e5446
Build: Improve behavior and setup for attachment to elasticsearch
...
Currently, running any task while attached to elasticsearch will also
try to run that task in all elasticsearch projects. This change causes
x-plugins to be moved into a subproject when attached. It does this by
dynamically creating a fake root project, and making this root project
think it is attached to the existing attachments, along with x-plugins
itself.
This also fixes buildSrc so attachment to elasticsearch's buildSrc
actually works.
Original commit: elastic/x-pack-elasticsearch@da0adf1da5
2015-11-06 11:08:03 -08:00
Tanguy Leroux
9fc92950c4
Fix Shield zip package
...
Original commit: elastic/x-pack-elasticsearch@eaf9dfc9ba
2015-11-06 16:17:03 +01:00
debadair
6106128272
Docs: Added uninstall topics to Watcher & Shield. Closes elastic/elasticsearch#801 .
...
Original commit: elastic/x-pack-elasticsearch@b990c64647
2015-11-05 17:54:35 -08:00
Simon Willnauer
a9028da5d1
Merge pull request elastic/elasticsearch#933 from s1monw/catchup/14518
...
Fix API usage after index-level guice was removed
Original commit: elastic/x-pack-elasticsearch@06400cc58d
2015-11-05 18:39:12 +01:00
Robert Muir
cfb77bf572
Remove confusing pom.xml files
...
Original commit: elastic/x-pack-elasticsearch@772a1eb5d3
2015-11-05 10:39:28 -05:00
Simon Willnauer
ad2835f6d3
Fix API usage after index-level guice was removed
...
See https://github.com/elastic/elasticsearch/pull/14518
Original commit: elastic/x-pack-elasticsearch@2428ee47c2
2015-11-05 13:18:58 +01:00
Robert Muir
5311da746b
Add jimfs as shield test dep and conditionalize file permissions changing in tests.
...
See elastic/elasticsearch#928 for followup work
Original commit: elastic/x-pack-elasticsearch@d435cf9000
2015-11-04 14:25:20 -05:00
Daniel Mitterdorfer
081ffbeced
Allow System#exit() from command line tools
...
This commit adds SuppressForbidden annotations to command line tools to
still allow to call System#exit() (see also issue 12596 in ES core).
Original commit: elastic/x-pack-elasticsearch@1dd3f1dcb1
2015-11-04 14:54:27 +01:00
Martijn van Groningen
b7b9fa3ba5
fixed shield due to the IndexQueryParseService removal change
...
Original commit: elastic/x-pack-elasticsearch@ad826b9245
2015-11-04 13:10:42 +07:00
Martijn van Groningen
8fe5a03aae
fixed compile error by removing unused imports
...
Original commit: elastic/x-pack-elasticsearch@59384c6a10
2015-11-04 11:39:19 +07:00
javanna
e6409ea171
[TEST] resolve compile error due to upstream changes
...
Original commit: elastic/x-pack-elasticsearch@b16c56ae6a
2015-10-31 10:31:54 +01:00
Lee Hinman
52cfa2b6ed
[TEST] Fix IndexPrivilegeTests for the _optimize removal
...
Original commit: elastic/x-pack-elasticsearch@cc1a8b94d4
2015-10-29 16:39:03 -06:00
Ryan Ernst
d1b5d020f5
Switch to gradle build system.
...
See elastic/elasticsearchelastic/elasticsearch#13930
Original commit: elastic/x-pack-elasticsearch@b8d26ebd2a
2015-10-29 11:44:48 -07:00
debadair
c088d19da4
Fixed YAML error in config. Closes elastic/elasticsearch#896
...
Original commit: elastic/x-pack-elasticsearch@7056bd5315
2015-10-29 11:38:56 -07:00
debadair
86ed4c84d6
Fixed download links. Closes elastic/elasticsearch#891 & elastic/elasticsearch#893 .
...
Original commit: elastic/x-pack-elasticsearch@f6711f2dbc
2015-10-28 16:33:41 -07:00
jaymode
2837a2d8dc
docs: shield release notes updates for 2.0GA
...
Original commit: elastic/x-pack-elasticsearch@6693be06da
2015-10-28 06:21:30 -04:00
Suyog Rao
7b0dbfe3c5
Update Shield docs with Logstash 2.0 changes
...
Most changes are related to the change in default
protocol from node to http
Fixes elastic/elasticsearch#882
Original commit: elastic/x-pack-elasticsearch@f5cad71f84
2015-10-27 18:18:31 -07:00
debadair
e81e640190
Docs: Consolidated Watcher 2.0 release notes. Fixed pkg install cmds and subscription links for Watcher & Shield.
...
Original commit: elastic/x-pack-elasticsearch@1387a61a8f
2015-10-27 18:01:41 -07:00
Simon Willnauer
70ed74cd7d
Make sure license plugins classes are loaded before we can instantiate them
...
Original commit: elastic/x-pack-elasticsearch@c46fd7287e
2015-10-27 23:23:44 +01:00
Simon Willnauer
3639465760
remove useless @Inject annoation to make sure nobody loads this in anger
...
Original commit: elastic/x-pack-elasticsearch@418381665c
2015-10-27 14:31:31 +01:00
Simon Willnauer
c132e55020
Use official public API to register query cache and index searcher wrapper
...
Closes elastic/elasticsearch#794
Original commit: elastic/x-pack-elasticsearch@eb94fbd145
2015-10-27 14:20:26 +01:00
Simon Willnauer
6b742a0d60
fix tests - don't mock BitSetFilterCache
...
Original commit: elastic/x-pack-elasticsearch@ad9a507415
2015-10-27 12:24:04 +01:00
Simon Willnauer
2cb0cbf62a
Cut over to IndexModule to register query cache
...
This commit cuts over to the new query cache registry in IndexModule added in
https://github.com/elastic/elasticsearch/pull/14293
Original commit: elastic/x-pack-elasticsearch@4d56584b01
2015-10-27 12:04:37 +01:00
jaymode
32af9610dd
do not use the cache methods for loading entries into the user cache
...
The cache provides a get method with a callable to load the value into the cache. Our callable
performs authentication and then returns a value. The issue with this is that the cache will queue
concurrent calls if a value is already being loaded and return the result to all callers. This is
problematic since the key is only the username and we do not validate the credentials as part of
the get call. This means it is possible for valid credentials to be returned a null user and authentication
fails.
Additionally, another variant exists where it is possible for invalid credentials to be returned a valid
user, which allows an attacker to gain access by only knowing a username and issuing a large number
of concurrent requests.
Closes elastic/elasticsearch#860
Original commit: elastic/x-pack-elasticsearch@3d122d3bbb
2015-10-26 09:44:00 -04:00
jaymode
6850cb051d
fix compile errors due to upstream changes in EngineConfig
...
Original commit: elastic/x-pack-elasticsearch@c2f24707a9
2015-10-26 09:09:10 -04:00
Simon Willnauer
eee2718b05
Move over to new IndexSettings
...
This change applied the changed from https://github.com/elastic/elasticsearch/pull/14251
Original commit: elastic/x-pack-elasticsearch@c19a0a23e9
2015-10-23 12:05:25 +02:00
debadair
7a61d435a5
Shield Docs: Fixed another cross doc problem.
...
Original commit: elastic/x-pack-elasticsearch@4a100865fa
2015-10-21 15:49:29 -07:00
debadair
099266bc49
Shield Docs: Fixed broken xrefs.
...
Original commit: elastic/x-pack-elasticsearch@938fce0359
2015-10-21 15:49:09 -07:00
debadair
ca2aaa1567
Shield Docs: Fixed messed up xrefs & removed obsolete troubleshooting & limitation info.
...
Original commit: elastic/x-pack-elasticsearch@a376a24ea1
2015-10-21 15:48:36 -07:00
javanna
93065acf59
Remove references to search/exists that was deleted in core
...
Original commit: elastic/x-pack-elasticsearch@f1da798028
2015-10-21 18:30:30 +02:00
jaymode
f5e9c826b4
docs: remove configuration path setting from plugin install commands
...
The additional setting to specify the configuration path is no longer needed with elasticsearch 2.0, so
we should remove it from the documentation. Also cleans up the installation commands to be in line
with what 2.0 requires.
Original commit: elastic/x-pack-elasticsearch@b269568a67
2015-10-21 07:14:34 -04:00
javanna
45d0ea6014
update action names after optimize and count removal from core
...
Original commit: elastic/x-pack-elasticsearch@614e51bd31
2015-10-21 13:01:37 +02:00
Lee Hinman
bfdf01131c
[TESTS] Rename optimize to forcemerge for internal transport action
...
Original commit: elastic/x-pack-elasticsearch@4fca4fe3cb
2015-10-20 23:04:32 -06:00
Nik Everett
8231e856c2
Remove and ban @Test
...
Original commit: elastic/x-pack-elasticsearch@02425ca13d
2015-10-20 18:20:46 -04:00
jaymode
7380e45abb
document the user_group_attribute setting for LDAP realms
...
Closes elastic/elasticsearch#284
Original commit: elastic/x-pack-elasticsearch@d90aecbe3b
2015-10-20 14:43:08 -04:00
debadair
84ffc956a8
Shield Docs: Clarified that Shield does not support AD distribution groups. Closes elastic/elasticsearch#520 .
...
Original commit: elastic/x-pack-elasticsearch@39f57ff08d
2015-10-20 10:34:52 -07:00
debadair
0123d33e87
Shield Docs: Updated Marvel config and license management for 2.0.
...
Original commit: elastic/x-pack-elasticsearch@3d225c2562
2015-10-20 10:13:51 -07:00
Steve Kearns
e1dde82724
Update LICENSE.txt for shield and watcher with new EULA
...
Original commit: elastic/x-pack-elasticsearch@9dd554efff
2015-10-20 15:47:00 +02:00