3228 Commits

Author SHA1 Message Date
jaymode
3c1218ac1c security: don't iterate over realms if authentication is not enabled
This changes the realms iterator call to alway return a empty iterator when we have a basic license
otherwise an exception would be thrown.

Closes elastic/elasticsearch#2474

Original commit: elastic/x-pack-elasticsearch@168cab9e1d
2016-06-14 06:41:58 -04:00
Jim Ferenczi
b8e76475b1 Merge pull request elastic/elasticsearch#2411 from jimferenczi/extension_security
Add support for a policy file (x-pack-extension-security.policy) in an x-pack extension

Original commit: elastic/x-pack-elasticsearch@49caea89ef
2016-06-14 10:57:57 +02:00
Jim Ferenczi
ce8ffab7f2 Add support for a policy file (x-pack-extension-security.policy) in an x-pack extension
Fix elastic/elasticsearch#2094

Original commit: elastic/x-pack-elasticsearch@bc017064d0
2016-06-14 10:20:54 +02:00
Shaunak Kashyap
3c26a64f4a Merge pull request elastic/elasticsearch#2487 from ycombinator/gh-2200-xpack-info-api
XPack Info Kibana API

Original commit: elastic/x-pack-elasticsearch@63274aff9c
2016-06-14 01:02:03 -05:00
Martijn van Groningen
1ecebab0aa security: Add _field_names field to the list of meta fields that are always allowed visible
The logic that filters `_field_names` field's terms is encapsulated in `FieldSubsetReader.java`,
but that doesn't kick in if `_field_names` is an allowed field.

Closes elastic/elasticsearch#2504

Original commit: elastic/x-pack-elasticsearch@d81ec9477a
2016-06-13 21:36:37 +02:00
Martijn van Groningen
eb5248d127 fix test compile error
Original commit: elastic/x-pack-elasticsearch@61c4a8eb9a
2016-06-13 21:15:58 +02:00
Alexander Reelsen
acc692bf68 Watcher: Putting a watch now stores its state correctly
The active state was not serialized in the PutWatchRequest leading to
to always setting it to active, when a different node than the master
node was hit with a put watch request.

Closes elastic/elasticsearch#2490

Original commit: elastic/x-pack-elasticsearch@060c0fa35f
2016-06-13 15:34:22 +02:00
jaymode
aa292561c0 test: remove AwaitsFix for field stats API test
This was fixed in core but the awaits fix was not removed here.

Original commit: elastic/x-pack-elasticsearch@357a797b5e
2016-06-13 09:30:22 -04:00
Robert Muir
5d3fe53822 Merge pull request elastic/elasticsearch#2449 from rmuir/forloop
improve watcher example to use painless enhanced for loop.

Original commit: elastic/x-pack-elasticsearch@af6e61f93f
2016-06-11 08:56:43 -04:00
Nik Everett
2dd6cfae2b Handle core changing TimeValue to Writeable
Original commit: elastic/x-pack-elasticsearch@72e33d6e52
2016-06-10 15:48:54 -04:00
Adrien Grand
8a03988c03 Upgrade code for Lucene 6.1.
Original commit: elastic/x-pack-elasticsearch@282299cebe
2016-06-10 18:57:31 +02:00
Shaunak Kashyap
98686f05a6 Merge branch 'master' into gh-2200-xpack-info-api
Original commit: elastic/x-pack-elasticsearch@9c9e6df720
2016-06-10 09:52:02 -07:00
Shaunak Kashyap
2805f35638 Merge branch 'master' into license-checking/better-ux
Original commit: elastic/x-pack-elasticsearch@22401022de
2016-06-09 18:25:31 -07:00
Shaunak Kashyap
d341223761 Merge pull request elastic/elasticsearch#2402 from ycombinator/gh-2200-sig-header
Add xpack info signature header to all Kibana API responses

Original commit: elastic/x-pack-elasticsearch@bd5fec8f81
2016-06-09 14:03:32 -05:00
Ryan Ernst
90d6e6756a Merge pull request elastic/elasticsearch#2317 from rjernst/kibana_gradle_improvements
Build: Only build uber xpack if kibana was built

Original commit: elastic/x-pack-elasticsearch@5b585dbb8a
2016-06-09 05:43:31 +02:00
Nik Everett
a334ea57fc Replace setRefresh with setRefreshPolicy
setRefresh is being removed from core.

Original commit: elastic/x-pack-elasticsearch@b865d06c6d
2016-06-08 13:41:28 -04:00
markharwood
294fabb817 Graph refactored package name to new xpack convention as per issue 2383
Original commit: elastic/x-pack-elasticsearch@ae798f64e8
2016-06-07 14:04:04 +01:00
jaymode
370406bdc0 test: update active directory certificate
This change removes the old active directory certificate and replaces it with the AD
CA certificate that is valid until 2029 instead of needing to be changed yearly.

Closes elastic/elasticsearch#2440

Original commit: elastic/x-pack-elasticsearch@2f05bdfd01
2016-06-07 08:56:42 -04:00
Boaz Leskes
41ea6ee515 AwaitFix ActiveDirectoryGroupsResolverTests
Original commit: elastic/x-pack-elasticsearch@00f1052212
2016-06-07 14:37:02 +02:00
Jason Tedor
576a543a28 Register watcher thread pool
This commit register the watcher thread pool in the thread pool module
in core, and also makes the necessary changes to reflect a refactoring
that took place in core.

Relates elastic/elasticsearch#2397

Original commit: elastic/x-pack-elasticsearch@be298a7578
2016-06-06 22:09:58 -04:00
Nik Everett
dacc22f57a Handle core's block_until_refresh
s/request.setRefresh/request.setRefreshPolicy/

setRefresh is still supported on the builder for backwards
compatibility but not on the request itself.

Original commit: elastic/x-pack-elasticsearch@8763e2e65f
2016-06-06 10:43:14 -04:00
Alexander Reelsen
ad53f0080a X-pack: Fix xpack usage action name to not use info action name
Original commit: elastic/x-pack-elasticsearch@a26e913521
2016-06-06 12:00:10 +02:00
Lukas Olson
f22bc67a87 Merge pull request elastic/elasticsearch#2418 from lukasolson/fix/restrict-security-ui
[security-ui] Don't show user/role management if the user is unauthorized

Original commit: elastic/x-pack-elasticsearch@28d98d95a1
2016-06-02 19:19:10 -07:00
Tim Sullivan
651fea3bf9 Merge pull request elastic/elasticsearch#2420 from tsullivan/monitoring-ui-rename-jsx
monitoring ui: rename .js to .jsx

Original commit: elastic/x-pack-elasticsearch@4b855d4b27
2016-06-02 16:31:25 -07:00
Shaunak Kashyap
e0976ee0c3 Merge pull request elastic/elasticsearch#2360 from ycombinator/gh-2200
Refresh license information from Elasticsearch every 30 seconds

Original commit: elastic/x-pack-elasticsearch@65d1a5598b
2016-06-02 17:37:23 -05:00
Lukas Olson
a327ac0170 Merge pull request elastic/elasticsearch#2392 from w33ble/fix/unsafe-titles
Handle url unsafe characters in saved object names

Original commit: elastic/x-pack-elasticsearch@b16dd14e56
2016-06-02 11:36:59 -07:00
Joe Fleming
ab83e309aa Merge pull request elastic/elasticsearch#2396 from w33ble/docs-reporting-settings
Reporting settings docs

Original commit: elastic/x-pack-elasticsearch@903aa6b538
2016-06-02 10:44:55 -07:00
Christoph Büscher
9774e5472a Adapt to api changes in es core, inner query parsing now return Optional<QueryBuilder>
Changes relate to elastic/elasticsearch#17624

Original commit: elastic/x-pack-elasticsearch@bd9d31a9ff
2016-06-02 18:37:30 +02:00
Areek Zillur
e996b78b04 Revert "move trigger package to top-level x-pack"
This reverts commit elastic/x-pack@bb0add9416.

Original commit: elastic/x-pack-elasticsearch@fc20c8c307
2016-06-01 21:30:08 -04:00
Areek Zillur
51144b3330 Revert "move trigger tests to top-level x-pack test directory"
This reverts commit elastic/x-pack@1615d496d5.

Original commit: elastic/x-pack-elasticsearch@bcc2ae8e26
2016-06-01 21:29:43 -04:00
Lukas Olson
1e57153e0f Merge pull request elastic/elasticsearch#2390 from lukasolson/fix/ui-select
Replace angular-ui-select with ui-select

Original commit: elastic/x-pack-elasticsearch@b25888ec21
2016-06-01 13:58:54 -07:00
Areek Zillur
6ff8124640 Merge pull request elastic/elasticsearch#2388 from areek/extract_scheduler_engine_to_xpack
[refactor] extract trigger package and scheduler engine to top-level x-pack directory

Original commit: elastic/x-pack-elasticsearch@0a89cf2ca3
2016-06-01 15:27:24 -04:00
Areek Zillur
f9c214ac1c move trigger tests to top-level x-pack test directory
Original commit: elastic/x-pack-elasticsearch@d29aeddae8
2016-06-01 15:04:05 -04:00
Shaunak Kashyap
ab39cab599 Merge branch 'master' into gh-2200
Original commit: elastic/x-pack-elasticsearch@38629917e1
2016-06-01 12:00:51 -07:00
jaymode
4083bae777 test: set debug log level on the external cluster
Original commit: elastic/x-pack-elasticsearch@e23afb5fbc
2016-06-01 14:35:24 -04:00
Areek Zillur
a7aa18aa17 move trigger package to top-level x-pack
Original commit: elastic/x-pack-elasticsearch@4f955a0c4a
2016-06-01 14:31:22 -04:00
Tim Sullivan
c1db7cb4dd Merge pull request elastic/elasticsearch#2368 from tsullivan/ui-usage-stats
Monitoring UI: Add X-Pack Usage object to Phone Home data

Original commit: elastic/x-pack-elasticsearch@4784dd101b
2016-06-01 11:26:18 -07:00
Areek Zillur
58a0d42ff8 Merge branch 'master' into extract_scheduler_engine_to_xpack
Original commit: elastic/x-pack-elasticsearch@1fef4b9a31
2016-06-01 12:34:34 -04:00
Areek Zillur
a818fc50f3 cleanup redundant schedules array
Original commit: elastic/x-pack-elasticsearch@30ec462545
2016-06-01 11:42:12 -04:00
Areek Zillur
54215ae4d5 Merge pull request elastic/elasticsearch#2386 from areek/move_clock_module_to_xpack
[refactor] move clock module to x-pack package

Original commit: elastic/x-pack-elasticsearch@750d3962cb
2016-06-01 11:22:30 -04:00
jaymode
d5e64a0524 test: lowercase index name
Original commit: elastic/x-pack-elasticsearch@3e037eca8a
2016-06-01 10:02:51 -04:00
Yannick Welsch
11908868c5 Remove handlers that have been removed from core
Removes handlers internal:cluster/node/index/deleted and internal:cluster/node/index_store/deleted that have been removed in core as part of elastic/elasticsearchelastic/elasticsearch#18602

Original commit: elastic/x-pack-elasticsearch@e040871e5a
2016-06-01 15:23:18 +02:00
jaymode
9d1ed22def security: add delete permissions to kibana_user role
Closes elastic/elasticsearch#2393

Original commit: elastic/x-pack-elasticsearch@4a096befd0
2016-06-01 08:09:01 -04:00
jaymode
a2f3f304d3 test: update Kibana role integ tests to use built in role
Original commit: elastic/x-pack-elasticsearch@89f3104a4b
2016-06-01 07:24:14 -04:00
Jason Tedor
b046a08842 Fix version compatability test
This commit fixes the version compatability test by updating the version
to reflect the current version in core.

Original commit: elastic/x-pack-elasticsearch@0bb6dbc1c3
2016-05-31 22:08:56 -04:00
Lukas Olson
c9db4c8576 Merge pull request elastic/elasticsearch#2385 from lukasolson/fix/editable-kibana_user
[security-ui] Make kibana_user role uneditable

Original commit: elastic/x-pack-elasticsearch@2807fa8105
2016-05-31 15:02:39 -07:00
Tim Sullivan
a40366800d Merge pull request elastic/elasticsearch#2361 from tsullivan/monitoring-ui-fix-bytes-indices-listing
monitoring ui: refactor indices listing with JSX

Original commit: elastic/x-pack-elasticsearch@fc6cc4ed79
2016-05-31 14:46:26 -07:00
Areek Zillur
961656932c extract schedule engine to x-pack package
Original commit: elastic/x-pack-elasticsearch@f968882306
2016-05-31 16:35:56 -04:00
Areek Zillur
dab72186e5 move clock module to x-pack package
Original commit: elastic/x-pack-elasticsearch@6f0ecb5518
2016-05-31 16:29:18 -04:00
jaymode
a58ed3ed32 security: rename /authenticate /_authenticate
We use the _ to indicate actions in endpoint names. It appears that the _authenticate API was
incorrectly removed in elastic/elasticsearch#2174. This adds it back.

Original commit: elastic/x-pack-elasticsearch@0a0b85d05a
2016-05-31 12:37:07 -04:00