Adrien Grand
6860944f07
Use Java's Base64 instead of elasticsearch's. elastic/elasticsearch#2282
...
Original commit: elastic/x-pack-elasticsearch@c2e748d732
2016-05-23 11:25:31 +02:00
Luca Cavanna
a0f826c8ed
fix xpack.usage api name and add a basic REST test for it ( elastic/elasticsearch#2308 )
...
There were two api with same name, depending on the platform one or the other was being loaded first, hence the xpack info tests may fail due to unsupported params being used.
Original commit: elastic/x-pack-elasticsearch@bd44eef3cc
2016-05-23 10:01:03 +02:00
uboness
80db81e320
Fix test
...
Closes elastic/elasticsearch#2313
Original commit: elastic/x-pack-elasticsearch@3729849cbe
2016-05-23 00:35:57 +02:00
uboness
12102f433d
Separated the `elastic` user from the internal xpack user
...
Also,
- changed the anonymous username to `_anonymous` (used to be `__es_anonymous_user` which I found needlessly, overly, redundantly and not to mention unnecessarily complex 🤷 )
- changed the system username and role name to `_system` (used to be `__es_system_user` and `__es_system_role`... it introduced gratuitous and totally un-called for naming complexity 🤦 )
Closes elastic/elasticsearch#2079
Original commit: elastic/x-pack-elasticsearch@63b6de2bba
2016-05-22 23:42:19 +02:00
Boaz Leskes
1f6b401b9d
awaitFix on OpenLdapTests.testUsageStats
...
Original commit: elastic/x-pack-elasticsearch@e077dc4449
2016-05-22 15:57:12 +02:00
Ryan Ernst
b5dc201f5a
Add thirdparty excludes for javax.activation classes
...
Original commit: elastic/x-pack-elasticsearch@d60891f56f
2016-05-21 22:42:15 -07:00
Ryan Ernst
d0fa5cb29a
Merge pull request elastic/elasticsearch#2311 from rjernst/java9
...
Make java 9 work
Original commit: elastic/x-pack-elasticsearch@85fd896fec
2016-05-21 15:17:25 -07:00
Ryan Ernst
7838304324
Add comment about added security permission
...
Original commit: elastic/x-pack-elasticsearch@0ef9337378
2016-05-21 15:19:12 -07:00
Ryan Ernst
09f6138b77
Merge branch 'master' into java9
...
Original commit: elastic/x-pack-elasticsearch@8a5736fcd5
2016-05-21 14:36:25 -07:00
Ryan Ernst
f5bbe1858c
Make java 9 work
...
This is the xplugins side of elastic/elasticsearchelastic/elasticsearch#18496
Most of the changes here are related to javax.activation.
Original commit: elastic/x-pack-elasticsearch@2a47f94ab5
2016-05-21 14:28:52 -07:00
Lee Hinman
32d53b7ced
Merge pull request elastic/elasticsearch#2307 from dakrone/fix-compilation-no-scriptmode
...
Fix compilation for ScriptMode removal
Original commit: elastic/x-pack-elasticsearch@815c58af3d
2016-05-20 15:29:29 -06:00
Lee Hinman
5d93b51472
Fix compilation for ScriptMode removal
...
See: https://github.com/elastic/elasticsearch/pull/18502
Original commit: elastic/x-pack-elasticsearch@b0422d13df
2016-05-20 15:23:11 -06:00
Lukas Olson
c2ae64c7ed
Merge pull request elastic/elasticsearch#2296 from lukasolson/fix/relative-links
...
[security-ui] Remove relative urls and prepend base path
Original commit: elastic/x-pack-elasticsearch@300dcdd92b
2016-05-20 10:08:27 -07:00
Joe Fleming
a5e4498833
Merge pull request elastic/elasticsearch#2278 from w33ble/expose-user
...
Expose getUser on the server object
Original commit: elastic/x-pack-elasticsearch@7ca6a88cc4
2016-05-20 09:24:49 -07:00
uboness
27db7c40b1
addressed review comments
...
Original commit: elastic/x-pack-elasticsearch@01552f5e82
2016-05-20 13:11:41 +01:00
uboness
084179f457
Added security realm feature usage stats
...
- if active, `file` realm size
- if active, `native` realm size
- if active, `ldap` realm size, whether SSL is used, load balance type used, user search used
- if active, `active_directory` realm size, whether SSL is used, load balance type used
`size` is scale estimation based on the local cache. Scales are: `small` (under 10 users), `medium` (under 50 users), `large` (under 250 users) and `x-large` (above 250 users).
Original commit: elastic/x-pack-elasticsearch@c6efb17aa4
2016-05-20 13:11:41 +01:00
uboness
9dbbfd09f8
Introducing infrastructure for feature usage API
...
- Each `XPackFeatureSet` can now return a `Usage` object that encapsulates the feature usage stats of the set
- A new `/_xpack/usage` REST API is introduced to access the usage stats of all features
- Intentionally not explicitly exposing the API in the `XPackClient` as this API is primarily meant for use by Kibana X-Pack (that said, it is still possible to call this API from the transport client using the `XPathUsageRequestBuilder`)
- For now the usage stats that are returned are minimal, once this infrastructure is in, we'll start adding more stats
Relates to elastic/elasticsearch#2210
Original commit: elastic/x-pack-elasticsearch@d651fe4b01
2016-05-20 13:11:41 +01:00
jaymode
d552574016
test: set logger level differently after removal of support for es.* system properties
...
Original commit: elastic/x-pack-elasticsearch@fcaa9bbcff
2016-05-20 08:11:26 -04:00
jaymode
71b78579a1
test: ensure address is resolvable in CertUtilsTests#testSubjectAlternativeNames
...
We check for an expected length but this is only valid if the address can be resolved and on some systems
127.0.0.1 may not map to a name.
Original commit: elastic/x-pack-elasticsearch@2f7c8da242
2016-05-20 08:10:55 -04:00
Joe Fleming
8dd7be3f07
Merge pull request elastic/elasticsearch#2299 from lukasolson/fix/default-encryption-key
...
Default xpack.security.encryptionKey if not set
Original commit: elastic/x-pack-elasticsearch@7cf53e293a
2016-05-19 17:11:04 -07:00
Areek Zillur
26a07766f0
fix license notification test bug
...
Original commit: elastic/x-pack-elasticsearch@ec1257d3e1
2016-05-19 18:20:01 -04:00
Areek Zillur
a2a267d68d
Merge branch 'master' into fix/remove-license
...
Original commit: elastic/x-pack-elasticsearch@d5c6e64ced
2016-05-19 17:19:50 -04:00
Areek Zillur
a2993810f9
Fix rest test to adapt to license removal behaviour
...
Now we explicitly install a license in rest test cluster
Original commit: elastic/x-pack-elasticsearch@59cc837d0f
2016-05-19 17:15:04 -04:00
Shaunak Kashyap
23031c21d3
Merge pull request elastic/elasticsearch#2246 from ycombinator/gh-2001
...
Handle security feature being disabled, license being basic, or license being expired
Original commit: elastic/x-pack-elasticsearch@42a6170595
2016-05-19 15:46:33 -05:00
Jason Tedor
ded4c2278c
Remove settings and system properties entanglement
...
This commit removals the usage of system properties as settings from the
command scripts and the commands themselves.
Relates elastic/elasticsearch#2206
Original commit: elastic/x-pack-elasticsearch@b0a3b895b1
2016-05-19 14:09:49 -04:00
Joe Fleming
d34a20f8c8
Merge pull request elastic/elasticsearch#2288 from ycombinator/reporting-license-check-defensive-code
...
Make license check module more defensive
Original commit: elastic/x-pack-elasticsearch@39f9619c48
2016-05-19 09:50:45 -07:00
Tanguy Leroux
5161b540a9
Move unneeded log info messages to debug
...
closes elastic/elasticsearch#2228 , elastic/elasticsearch#2227
Original commit: elastic/x-pack-elasticsearch@558751c424
2016-05-19 17:28:20 +02:00
Ali Beyad
d6179855bd
Renamed AggregatorBuilder to AggregationBuilder, applying the changes to
...
x-plugins.
Closes elastic/elasticsearch#2263
Relates elastic/elasticsearch#18377
Original commit: elastic/x-pack-elasticsearch@6d1a698669
2016-05-19 09:28:53 -04:00
Chris Earle
87c085d857
Better approach to skipping license check for subprojects
...
Original commit: elastic/x-pack-elasticsearch@8624ab08cc
2016-05-19 02:41:03 -04:00
Chris Earle
93ca4db1ce
Remove duped plugin application from Gradle script.
...
Original commit: elastic/x-pack-elasticsearch@6745b39c82
2016-05-19 02:20:55 -04:00
Chris Earle
c94a326f1d
Split monitoring smoke tests into separate smoke tests
...
There is a race condition between the smoke tests that get run because of the teardown conditions of
REST tests. By splitting them, we can avoid the unrealistic scenario/race condition.
Original commit: elastic/x-pack-elasticsearch@f95ae0e595
2016-05-19 02:08:33 -04:00
Areek Zillur
703dfda921
Merge branch 'master' into fix/remove-license
...
Original commit: elastic/x-pack-elasticsearch@1e84c8431d
2016-05-18 16:16:53 -04:00
Chris Earle
c754f7cf08
Fixing grammar in GRADLE.CHEATSHEET
...
Original commit: elastic/x-pack-elasticsearch@3adf64d641
2016-05-18 14:17:13 -04:00
Chris Earle
5496fd3407
Adding more Gradle cheatsheet info
...
Original commit: elastic/x-pack-elasticsearch@4439769da6
2016-05-18 14:14:25 -04:00
Chris Earle
10c48c2847
Adding more Gradle info
...
Original commit: elastic/x-pack-elasticsearch@d451020dfc
2016-05-18 14:00:00 -04:00
Chris Earle
0c2b4f9ff3
Updating Gradle cheatsheet
...
Original commit: elastic/x-pack-elasticsearch@94a2379d74
2016-05-18 13:51:46 -04:00
Chris Earle
cb8774aa2c
Add asciidoc extension to GRADLE.CHEATSHEET so that GitHub renders it
...
Original commit: elastic/x-pack-elasticsearch@d05f0280a3
2016-05-18 13:42:25 -04:00
Chris Earle
ecf4c30979
Rename /_x-pack/monitoring/* to /_xpack/monitoring/*
...
This PR just drops the - in the existing REST API name by changing the base MonitoringRestHandler to extend
XPackRestHandler instead of BaseRestHandler directly, and using its URI_BASE.
Original commit: elastic/x-pack-elasticsearch@1bed2dba31
2016-05-18 13:26:00 -04:00
Jason Tedor
5bf3b7054c
Fix compilation from FsInfo#<init> change in core
...
This commit fixes some test compilation issues due to upstream changes
in core that added I/O statistics on Linux.
Original commit: elastic/x-pack-elasticsearch@a0877aa0aa
2016-05-17 20:51:54 -04:00
Joe Fleming
a4f4cd5203
Merge pull request elastic/elasticsearch#2272 from w33ble/snapshot-flag
...
Build flags to allow version modification
Original commit: elastic/x-pack-elasticsearch@12dea4b9c8
2016-05-17 14:40:31 -07:00
Areek Zillur
a134ec613d
Merge pull request elastic/elasticsearch#2258 from areek/fix/2230
...
Fix license log message levels
Original commit: elastic/x-pack-elasticsearch@c1fe244dd8
2016-05-17 15:09:05 -04:00
Jonathan Budzenski
294a939d9d
Merge pull request elastic/elasticsearch#2264 from jbudz/ui-kibana-mappings
...
monitoring: add kibana mappings
Original commit: elastic/x-pack-elasticsearch@c105aca8b8
2016-05-17 13:15:31 -05:00
Tanguy Leroux
a8ed2fa69c
Monitoring: Update REST/test namespace
...
Related to elastic/elasticsearch#1702
Original commit: elastic/x-pack-elasticsearch@6000fd4010
2016-05-17 09:35:25 +02:00
Chris Earle
18919115c1
Updating test to try to get it to actually run Monitoring. This should not have any effect, but the test passes locally 100% of the time and fails remotely 100% of the time...
...
Original commit: elastic/x-pack-elasticsearch@c3b16b8238
2016-05-16 18:41:26 -04:00
Tim Sullivan
de00c7575f
Merge pull request elastic/elasticsearch#2252 from tsullivan/monitoring-ui-fix-multicluster-support
...
Monitoring UI: Fix Multicluster Support / Basic License rules
Original commit: elastic/x-pack-elasticsearch@5af942235e
2016-05-16 14:56:50 -07:00
Jonathan Budzenski
b469eef1a2
monitoring ui: change mappings double -> float
...
Original commit: elastic/x-pack-elasticsearch@6c7c166aec
2016-05-16 16:55:01 -05:00
Jonathan Budzenski
92a58c7c07
monitoring ui: update mappings, align agent version with elasticsearch version
...
Original commit: elastic/x-pack-elasticsearch@1a9a4fc96e
2016-05-16 15:30:56 -05:00
Jonathan Budzenski
bf229d0090
monitoring ui: update mappings
...
Original commit: elastic/x-pack-elasticsearch@ae5703f10a
2016-05-16 15:21:58 -05:00
Areek Zillur
3ffe341f48
Fix license expiry log message
...
- change license expiration message from error to warn
- start logging expiry message from 25 days instead of 30
closes elastic/elasticsearch#2231
Original commit: elastic/x-pack-elasticsearch@6c88066c1f
2016-05-15 21:00:11 -04:00
Areek Zillur
81e14c5617
Fix license log message levels
...
Now we log license expiry, invalid and grace message as warn and log license valid message as debug
closes elastic/elasticsearch#2230
Original commit: elastic/x-pack-elasticsearch@569c169136
2016-05-15 20:45:10 -04:00