Commit Graph

3332 Commits

Author SHA1 Message Date
Ryan Ernst 82e4330e87 Merge branch 'master' into rest_handler_client
Original commit: elastic/x-pack-elasticsearch@7fcc120767
2016-06-30 08:16:50 -07:00
Simon Willnauer 30dd9ab09c Follup PR fore elastic/elasticsearchelastic/elasticsearch#19096 (elastic/elasticsearch#2656)
This PR is a cleanup / follup for elastic/elasticsearchelastic/elasticsearch#19096

Original commit: elastic/x-pack-elasticsearch@052b9a85a7
2016-06-30 13:42:09 +02:00
Martijn van Groningen 7c988b78e1 test: test that DLS is applied before FLS
Original commit: elastic/x-pack-elasticsearch@c7c12cc8d6
2016-06-30 12:32:37 +02:00
Ryan Ernst b513f2bb6b Merge branch 'master' into script_service_deps
Original commit: elastic/x-pack-elasticsearch@d4269e190d
2016-06-29 23:35:29 -07:00
Ryan Ernst 0fcb52a794 Merge branch 'master' into rest_handler_client
Original commit: elastic/x-pack-elasticsearch@429edeea84
2016-06-29 17:03:27 -07:00
Ryan Ernst 7822f28d7b Simplify rest handler constructors
This is the xplugins side of moving the client dependency for rest
handlers to the handleRequest method

Original commit: elastic/x-pack-elasticsearch@ce66e35e7b
2016-06-29 16:30:55 -07:00
Nik Everett 672d91f2a4 Move rest handler registration to ActionPlugin
Original commit: elastic/x-pack-elasticsearch@b3bc7d4a9f
2016-06-29 18:32:58 -04:00
Shaunak Kashyap 8910aa0db1 Merge pull request elastic/elasticsearch#2612 from ycombinator/fix-util-function
Fix util function

Original commit: elastic/x-pack-elasticsearch@8bc1a2cd63
2016-06-29 13:26:19 -07:00
jaymode b06249279e security: REST spec cleanup and authenticate tests create user
This change cleans up the rest API specs and changes the documentation field to a link. Additionally,
the integration tests for xpack now use the elastic user rather than a dummy user from a file realm.

Closes elastic/elasticsearch#2458
Closes elastic/elasticsearch#2437

Original commit: elastic/x-pack-elasticsearch@8059a0d856
2016-06-29 11:42:44 -04:00
Tanguy Leroux a06f4a02fd Rename Marvel packages and directories to Monitoring
related to elastic/elasticsearch#2383

Original commit: elastic/x-pack-elasticsearch@7f4001a031
2016-06-29 09:10:25 +02:00
Tim Sullivan fe4f64bb6f Merge pull request elastic/elasticsearch#2592 from tsullivan/monitoring-ui-document-multiclustersetup
monitoring ui: document mult-cluster setup

Original commit: elastic/x-pack-elasticsearch@266a467a2d
2016-06-28 15:50:40 -07:00
Ryan Ernst 2d0055de35 Make script service a cluster state listener
Original commit: elastic/x-pack-elasticsearch@dc763f3d66
2016-06-28 14:06:53 -07:00
Tim Sullivan 7e0e9d858d Merge pull request elastic/elasticsearch#2562 from tsullivan/monitoring-ui-statusboxes-styles
monitoring ui: new design for status indicator icon

Original commit: elastic/x-pack-elasticsearch@53a2943c82
2016-06-28 10:56:33 -07:00
Matt Bargar f0a1dba84e Merge pull request elastic/elasticsearch#2624 from w33ble/fix/esqueue-auth-errors
Fix unhandled auth error messages

Original commit: elastic/x-pack-elasticsearch@05ad4737b8
2016-06-28 13:09:12 -04:00
Shaunak Kashyap f590d9b7a8 Merge pull request elastic/elasticsearch#2611 from ycombinator/license-checking/create-xpack-into-service
Abstracting away xpack info into a service

Original commit: elastic/x-pack-elasticsearch@9e3710573e
2016-06-28 11:58:29 -05:00
Lukas Olson f5ed992c43 Merge pull request elastic/elasticsearch#2598 from lukasolson/fix/login-background
[security-ui] Update login background color

Original commit: elastic/x-pack-elasticsearch@931f28cd6d
2016-06-28 09:07:48 -07:00
Yannick Welsch 1762d1d96c Fix wrong logger usages
Relates to elastic/elasticsearchelastic/elasticsearch#19126

Original commit: elastic/x-pack-elasticsearch@e644f2bd9c
2016-06-28 16:46:31 +02:00
Nik Everett 6f6426b444 Switch plugin action registration to pull
Original commit: elastic/x-pack-elasticsearch@2154918b6e
2016-06-28 08:56:54 -04:00
Lukas Olson 3e21cdb96d Merge pull request elastic/elasticsearch#2608 from lukasolson/fix/index-patterns
[security-ui] Retrieve index patterns from Kibana service instead of Elasticsearch

Original commit: elastic/x-pack-elasticsearch@2b524a8d28
2016-06-27 16:16:13 -07:00
Jason Tedor b378ff780b Modify poll interval setting in native realm test
This commit modifies the construction of the poll interval setting in
the native realm tests in response to upstream change
elastic/elasticsearchelastic/elasticsearch#2f638b5a23597967a98b1ced1deac91d64af5a44.

Original commit: elastic/x-pack-elasticsearch@c6f60f51f4
2016-06-27 18:43:33 -04:00
Nik Everett a673c44036 Support IndicesModule list constructor
Original commit: elastic/x-pack-elasticsearch@c88e2b82b7
2016-06-27 15:04:17 -04:00
Boaz Leskes 62a46a2e8d revert elastic/x-pack@0513ff4168 as https://github.com/elastic/elasticsearch/pull/18992 was reverted as well
Original commit: elastic/x-pack-elasticsearch@febaaff840
2016-06-27 20:19:20 +02:00
Luca Cavanna b5bb2d2fdc Merge pull request elastic/elasticsearch#2576 from javanna/fix/xpack-rest-testcase-watcher
[TEST] remove start and stop watcher from XPackRestTestCase

Original commit: elastic/x-pack-elasticsearch@192be0db8b
2016-06-27 14:52:39 +02:00
Alexander Reelsen ebf00cc9e5 Dependencies: Upgrade jimfs to 1.1 removed unneeded guava calls (elastic/elasticsearch#2614)
Guava should only be used by the HTML sanitizer and no other code

Original commit: elastic/x-pack-elasticsearch@6a20674768
2016-06-27 11:07:15 +02:00
Alexander Reelsen 32c9f86124 Watcher: Support for inline attachments (elastic/elasticsearch#2601)
If an attachment is configured of disposition type INLINE, and is referred to
in HTML body parts, then some email clients can display images inside of an HTML
email and refer to those attachments.

Watcher already had support for inlined attachments, however this could not be configured
from a watch, but just via the Java API. Also it was not tested.

This commit changes the attachment to decide on creation if it should be inline or a regular
attachment and adds a test.

Relates elastic/elasticsearch#2381
Relates elastic/elasticsearch#2464
Closes elastic/elasticsearch#2557

Original commit: elastic/x-pack-elasticsearch@84935ffb18
2016-06-27 10:45:10 +02:00
Lee Hinman 88d0d4ddf5 Merge remote-tracking branch 'dakrone/fix-too-strict-validation'
Original commit: elastic/x-pack-elasticsearch@efb2d5ece6
2016-06-24 12:18:38 -06:00
Lee Hinman 4990296a5c Remove too-strict validation of role names
When parsing the privileges, we now no longer throw an exception if
there haven't been any names parsed out. This is not an issue though,
because we validate that the `names` array is not empty when we parse
it, and that it's not `null` before returning from the function.

Adds a rest test that sends things out of order to test this still
works.

Resolves elastic/elasticsearch#2606

Original commit: elastic/x-pack-elasticsearch@62a38bea8f
2016-06-24 12:00:24 -06:00
Robert Muir 8dce698219 Merge pull request elastic/elasticsearch#2571 from rmuir/restore_order
improve painless slack example

Original commit: elastic/x-pack-elasticsearch@3add93c1f4
2016-06-24 12:27:53 -04:00
Alexander Reelsen f78f848681 Watcher: Fix acknowledgement REST API endpoints
Add new REST API endpoint to acknoweldging actions. The old endpoints
have not been removed as part of this PR, but can be in the next major
version.

Update the documentation to remove the parameter based example, and
mention that the old endpoints are going to be removed in the future.

Closes elastic/elasticsearch#2517

Original commit: elastic/x-pack-elasticsearch@e2558e9e1f
2016-06-24 16:50:35 +02:00
Tanguy Leroux 6ed9f50457 Fix SearchInputIT.testSearchInlineTemplate
The search type is overridden from default to query_and_fetch by the search action if the number of shards to request is equal to 1

Original commit: elastic/x-pack-elasticsearch@a9552c697c
2016-06-24 09:19:59 +02:00
Joe Fleming d52418d92e Merge pull request elastic/elasticsearch#2565 from w33ble/fix/reporting-phantom-path
Fix Phantom unpacking on Distro packages

Original commit: elastic/x-pack-elasticsearch@4a59fbff64
2016-06-23 12:49:55 -04:00
Joe Fleming 742a807907 Merge branch 'master' into fix/reporting-phantom-path
Original commit: elastic/x-pack-elasticsearch@badcc6f883
2016-06-23 11:18:54 -05:00
Yannick Welsch 74efdd4a94 Disable failing test NodeStatsTests.testNodeStats
Original commit: elastic/x-pack-elasticsearch@954badc4a4
2016-06-23 13:36:06 +02:00
Tanguy Leroux a20fb42b70 Fix SearchInputIT.testSearchIndexedTemplate
Original commit: elastic/x-pack-elasticsearch@4011a7bc9b
2016-06-23 12:33:49 +02:00
Tanguy Leroux 77a641b0fc Mute SecurityCachePermissionIT as it was before
Original commit: elastic/x-pack-elasticsearch@89c40f7bc0
2016-06-23 10:26:45 +02:00
Yannick Welsch b3ba1be659 Fix checkstyle line length limit
Original commit: elastic/x-pack-elasticsearch@717ab001d1
2016-06-23 10:01:02 +02:00
Tanguy Leroux 99ade96091 Watcher: Remove usage of SearchRequest's template support
Template support is going to be removed from the Search API to its own Search Template API in the lang-mustache module (see elastic/elasticsearch#17906, elastic/elasticsearch#18765). This commit changes Watcher's SearchInput and SearchTransform classes so that it now uses a WatcherSearchTemplateRequest that contains both the search request and the template. Search request and template are rendered using WatcherSearchTemplateRequestService before being executed.

Original commit: elastic/x-pack-elasticsearch@bfa16ab80f
2016-06-23 09:31:47 +02:00
Alexander Reelsen f6abf979ce Fixed compilation issue
Relates elastic/elasticsearchelastic/elasticsearch#18914

Original commit: elastic/x-pack-elasticsearch@35b6960b9e
2016-06-23 09:06:02 +02:00
Lukas Olson 14896b174e Merge pull request elastic/elasticsearch#2573 from lukasolson/fix/all-fields
[security-ui] Default new roles to have access to all fields

Original commit: elastic/x-pack-elasticsearch@535a0287e8
2016-06-22 11:30:42 -07:00
Tim Sullivan 56798c59b7 Merge pull request elastic/elasticsearch#2564 from tsullivan/monitoring-ui-overview-welcome-msg
monitoring ui: provide welcome message on new overview

Original commit: elastic/x-pack-elasticsearch@dcd92d2ea0
2016-06-22 10:33:56 -07:00
Tim Sullivan 14c49b4af9 Merge pull request elastic/elasticsearch#2578 from tsullivan/monitoring-ui-alpha4-rc-fix-kibanainstanceslink
Monitoring UI: Fix link in header of Kibana panel

Original commit: elastic/x-pack-elasticsearch@e59b678b0b
2016-06-22 10:32:02 -07:00
Nik Everett 9aecf6330a Handle core removing addField
It is addStoredField now.

Original commit: elastic/x-pack-elasticsearch@265d716b31
2016-06-22 12:45:25 -04:00
javanna ffae647b8b [TEST] remove start and stop watcher from XPackRestTestCase
We were ignoring the response code which is always 401 because the license is not good to start watcher. Plus all tests run fine without these methods.

Original commit: elastic/x-pack-elasticsearch@f93e1c2777
2016-06-22 15:51:53 +02:00
Alexander Reelsen 5883efc976 Watcher: Remove support for _timestamp field in index action (elastic/elasticsearch#2575)
The watch index action was using the _timestamp field by default.
This functionality now needs to be configured explicitely for a special
field that is part of that document which is going to be indexed.

Relates elastic/elasticsearchelastic/elasticsearch#18980

Original commit: elastic/x-pack-elasticsearch@dfa4cf2296
2016-06-22 14:31:27 +02:00
Luca Cavanna 694a91cd2f Merge pull request elastic/elasticsearch#2433 from javanna/feature/http_client
Low level RestClient

Original commit: elastic/x-pack-elasticsearch@7a0c0eb9e6
2016-06-22 09:59:57 +02:00
javanna 1ea3397956 Merge branch 'master' into feature/http_client
Original commit: elastic/x-pack-elasticsearch@cb39e935d5
2016-06-22 09:50:28 +02:00
Alexander Reelsen 4f55896af8 Tests: Fix ManualPublicSmtpServersTester to make it work again
Original commit: elastic/x-pack-elasticsearch@8cf12ed485
2016-06-22 08:40:25 +02:00
Lukas Olson f62ed15929 Merge pull request elastic/elasticsearch#2540 from epixa/2045-401redirect
security: Auth redirects determined by kbn-version header

Original commit: elastic/x-pack-elasticsearch@ad5777d52c
2016-06-21 10:23:36 -07:00
javanna a030239c9e Merge branch 'master' into feature/http_client
Original commit: elastic/x-pack-elasticsearch@6437c6572d
2016-06-21 16:22:25 +02:00
Joe Fleming 493b437673 Merge branch 'master' into fix/reporting-phantom-path
Original commit: elastic/x-pack-elasticsearch@05da659188
2016-06-21 09:50:12 -04:00