Commit Graph

5271 Commits

Author SHA1 Message Date
Alexander Reelsen 91a4b74037 Packaging: Add commons codec jar to packaged zip
In order to use the `esusers` tool and to crypt passwords, one needs
to have the jar packaged in the zip release. This adds the depdendency
to the assembly descriptor.

Original commit: elastic/x-pack-elasticsearch@82ae451892
2014-08-11 10:11:26 +02:00
uboness 2c71ece598 [cleanup] Moved to TransportMessage where possible
Original commit: elastic/x-pack-elasticsearch@46535f7818
2014-08-08 21:23:26 +02:00
uboness ad02ec4609 Added the realm type to the audit trail logs for failed authentication
- Also introduced an option to disable esusers auth (such that if users configured ldap, the audit trails won't get cluttered by failed authentication in esusers
 - Moved the realms initialization to a dedicated Realms class
 - Also introduce an option to completely disable shield while keeping the installed plugin and its settings

Original commit: elastic/x-pack-elasticsearch@b554ad5ba7
2014-08-08 19:56:31 +02:00
uboness bf73ba3665 Updated the code base to use the latest changes in TransportMessage on es-core
Now the UsernamePasswordToken, once resolved, is placed in the (new) request context as is (avoids the need to re-parse headers)

Original commit: elastic/x-pack-elasticsearch@f898a94157
2014-08-08 18:07:25 +02:00
Alexander Reelsen 3ee4d527f3 CmdTool: Added options for editing roles and listing users/roles
Two new commands to the command line tool have been added

* esusers list: Allows to list all users with their roles or only a single one
* esusers roles: Allows to add or remove roles

Roles have been configured as to only consist of lowercase alphanumeric characters.

Original commit: elastic/x-pack-elasticsearch@6fcb4c56e4
2014-08-08 17:36:29 +02:00
Alexander Reelsen 75cf637fed Build: Do not depend on guava in compile scope
Changed the scope of the guava dependency to prevent wrong imports and always use the shaded ones.
This required a change in the forbidden API signatures, as that tool alwyas try load the class and fail
if the class cannot be found.

Original commit: elastic/x-pack-elasticsearch@90a245423a
2014-08-08 12:57:28 +02:00
Alexander Reelsen f4824d78e4 Compilation: Fix compilation issue with latest 1.4-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@66624a104f
2014-08-08 08:58:12 +02:00
Alexander Reelsen 44a549fd12 Test: Removed network.mode from test to prevent slowdown
Original commit: elastic/x-pack-elasticsearch@69b9296928
2014-08-07 14:08:51 +02:00
Alexander Reelsen b78262046e Packaging: Fix broken paths, adapt to elasticsearch packaging
* Add config and bin directory to assembly
* Add main method to ESUsersTool so it starts
* Fix bin/esusers to actually start
* Fix ESUsersTool to write files in config/shield by default as each plugin has its own directory after installation
* Changed bin/ and config/ directory to reflect path after installation in ES

Original commit: elastic/x-pack-elasticsearch@7d4165e389
2014-08-07 14:06:14 +02:00
Alexander Reelsen 9dd52bfb5f Packaging: Add files from bin/ and config/ directories
Original commit: elastic/x-pack-elasticsearch@76d389966e
2014-08-06 17:05:28 +02:00
uboness 09bdfc3da8 Added support class for caching username/password realm
Original commit: elastic/x-pack-elasticsearch@493234a0a5
2014-08-06 03:23:10 +02:00
uboness 605aee5a54 Moved ESUsersTool to cores cli tool infra
Also removed the cli tool infra from this repo (as it was moved to core)

Original commit: elastic/x-pack-elasticsearch@0bf7f84ab6
2014-08-03 23:08:28 +02:00
Alexander Reelsen 86546e80ad Netty: Added ip filter capabilties to pipeline
Used the existing infra structure to filter by ip in the netty pipeline
before any other handler is hit, in order to reject as soon as possible.
Right now the connection is simply closed.

The configuration is a simple YAML file which uses allow/deny rules

Original commit: elastic/x-pack-elasticsearch@000e44f8cc
2014-07-30 14:13:22 +02:00
Alexander Reelsen a6bf836ae8 SSL: Renamed settings, added SSLConfig tests
Settings for SSL now all start with `shield` as well. Changed documentation and tests to reflect this.

Original commit: elastic/x-pack-elasticsearch@9dd3bc865e
2014-07-30 11:14:22 +02:00
javanna 3a4af4c7bc uncommented security filter now that the action filter chain is in
Original commit: elastic/x-pack-elasticsearch@5b96b80409
2014-07-28 22:56:45 +02:00
javanna 0b751b12f1 integrated indices related request change added to es core and added wildcard expansion
Original commit: elastic/x-pack-elasticsearch@1192d0e7f8
2014-07-25 11:39:30 +02:00
Alexander Reelsen 9bb9fb478d Fix all guava imports to use shaded classes
This is required for the plugin to run externally

Original commit: elastic/x-pack-elasticsearch@de16c825f1
2014-07-25 08:24:02 +02:00
Alexander Reelsen ff820ce956 Docs: Added SSL certification/CA creation docs
Original commit: elastic/x-pack-elasticsearch@f38f2806b3
2014-07-23 15:42:10 +02:00
Alexander Reelsen d0673b0cfb Added SSL support in netty
This introduces the possibility to have all communications (transport
and HTTP) to run over SSL.

Original commit: elastic/x-pack-elasticsearch@c816a65f53
2014-07-22 11:41:17 +02:00
Alexander Reelsen bc0e233589 Removed netty dependency. Use shaded classes as imports
Original commit: elastic/x-pack-elasticsearch@46483aa44f
2014-07-22 11:20:41 +02:00
uboness 9b3160b7ac Added more unit tests, re-implemented & added tests for ESUsersTool
- Added CliTool infrastructure (should eventually be moved to core and removed from this repo)

Original commit: elastic/x-pack-elasticsearch@ba498163f5
2014-07-21 04:42:04 +02:00
uboness f727e29066 Initial commit of the infrastructure codebase for security
There are four modules:
 - authc: realm based authentication module
 - authz: role based privileges & permissions authorization module
 - n2n: node to node authentication module (incl. IP filtering auth)
 - audit: audit trail module (only includes log file audit trails for now)

Original commit: elastic/x-pack-elasticsearch@b1ec9e2923
2014-07-17 17:58:36 +02:00
Alexander Reelsen 5ede63f180 Dependencies: Upgraded to elasticsearch 1.4.0-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@ccec992aeb
2014-07-17 08:35:16 +02:00
Alexander Reelsen b201d726b2 Initial import
Original commit: elastic/x-pack-elasticsearch@d85c3afaf4
2014-07-07 11:30:28 +02:00
Chris Cowan 9116a2180e Ignoring the Gruntfile.js for JSHint
Original commit: elastic/x-pack-elasticsearch@d180e0048e
2014-05-28 10:27:00 -07:00
Chris Cowan 99f06b31a9 Save Dashboards to Elasticsearch
- Added "show_home" option to loader
- Added custom "Save" panel to navigation panels
- Changed "Marvel Dashboards" to "Dashboards"
- Added merge code to Navigation to merge saved dashboards into static
  dashboards
- Splitting up functions into discrete files
- Removing findDashboardByLink() method
- Changed Experimental to Stable for all Marvel panels

Original commit: elastic/x-pack-elasticsearch@933f031beb
2014-03-28 16:04:19 -07:00
Chris Cowan 886bb57aec Merge remote-tracking branch 'upstream/master' into feature/issue-147
Original commit: elastic/x-pack-elasticsearch@bd2019549b
2014-03-12 15:29:01 -07:00
Chris Cowan 3cf9b74dd2 Merge remote-tracking branch 'upstream/master'
Original commit: elastic/x-pack-elasticsearch@d3bb0637c6
2014-03-12 15:25:47 -07:00
Chris Cowan 68e7672da8 Merge branch 'master' of github.com:ccowan/elasticsearch-marvel
Original commit: elastic/x-pack-elasticsearch@d8e67322bf
2014-03-11 20:21:06 -07:00
Boaz Leskes c4c757801a Updated readme file to include sense usage
Original commit: elastic/x-pack-elasticsearch@e9ec1f9a78
2014-03-11 21:01:54 +01:00
Chris Cowan f113d4c052 Merge pull request elastic/elasticsearch#131 from ccowan/feature/issue-126-analytics-rebased
Google Analytics

Original commit: elastic/x-pack-elasticsearch@35e1b92e57
2014-03-07 15:58:35 -07:00
Chris Cowan 278057a997 Merge branch 'feature/issue-126-analytics' of github.com:ccowan/elasticsearch-marvel into feature/issue-126-analytics
Original commit: elastic/x-pack-elasticsearch@cdfa3906f3
2014-03-07 15:51:28 -07:00
Chris Cowan acffb298b5 Merge remote-tracking branch 'upstream/master' into feature/issue-126-analytics
Original commit: elastic/x-pack-elasticsearch@516aa06967
2014-03-07 15:45:08 -07:00
Chris Cowan c0c503fc55 Merge pull request elastic/elasticsearch#129 from ccowan/feature/issue-59-error-reporting
Fixing elastic/elasticsearch#59 and Mergin elastic/elasticsearch#124

Original commit: elastic/x-pack-elasticsearch@9c280749f7
2014-03-07 15:43:43 -07:00
Chris Cowan b8f63aeb09 Merge remote-tracking branch 'upstream/master'
Original commit: elastic/x-pack-elasticsearch@b522970b7d
2014-03-04 16:25:13 -07:00
Boaz Leskes 6fb39208cb Merge branch 'feature/url_auto_complete'
* feature/url_auto_complete:
  Added url params for get_source. Removed trailing slash from _delete_doc
  Implemented all 1.0 breaking changes
  Added autocomplete support for url query strings parameters
  Introduced a pattern based url auto complete backend

Original commit: elastic/x-pack-elasticsearch@96453b205a
2014-02-19 15:32:18 +01:00
Boaz Leskes 8e4f3d57de Merge branch 'pr/111': master node indication, multiple master detection, stale data indication
Closes elastic/elasticsearch#105 , Closes elastic/elasticsearch#104

Original commit: elastic/x-pack-elasticsearch@ab45216752
2014-02-17 21:57:28 +01:00
Rashid Khan 7c344c9677 resolve conflict
Original commit: elastic/x-pack-elasticsearch@91e43068e7
2014-02-06 13:44:00 -07:00
Boaz Leskes 1832e07400 Merge branch 'feature/sense_1.0.0_api'
Added Aggregations to KB
Lazy load API
Encapsulated ES calls into an es module. Introduced api_1_0 (currently a copy of api_0_90) .
Version is auto detected and set based on GET / .

Original commit: elastic/x-pack-elasticsearch@4ab37d459f
2014-02-06 19:16:47 +01:00
Boaz Leskes 0d34d6cbef Updated readme file
Original commit: elastic/x-pack-elasticsearch@e1879dbc24
2014-02-06 11:07:36 +01:00
Rashid Khan 8d4d6c879a Merge remote-tracking branch 'upstream/master' into staleRows
Original commit: elastic/x-pack-elasticsearch@121c5dc757
2014-02-05 16:32:38 -07:00
Rashid Khan 2547c500c4 Resolve conflicts, add stale node/index indication
Original commit: elastic/x-pack-elasticsearch@067c1b09a3
2014-02-05 16:32:28 -07:00
Boaz Leskes ab4b11caf8 Removed CONTRIBUTING file and updated license
Original commit: elastic/x-pack-elasticsearch@70a8079d3b
2014-01-27 21:30:23 +01:00
Boaz Leskes e23982fb2b Moved kibana related code to a kibana folder
Original commit: elastic/x-pack-elasticsearch@a0e103e1e3
2014-01-22 11:09:03 +01:00
Rashid Khan 1bb31c1984 Merge remote-tracking branch 'upstream/master'
Original commit: elastic/x-pack-elasticsearch@6bf08a7582
2014-01-21 13:45:48 -07:00
Boaz Leskes 2b98f2ba05 Added Sense.
Original commit: elastic/x-pack-elasticsearch@d16c96872b
2014-01-20 22:14:47 +01:00
Rashid Khan 12266a10b6 Merge remote-tracking branch 'upstream/master'
Original commit: elastic/x-pack-elasticsearch@1c7ff2664e
2014-01-07 15:34:50 -07:00
Boaz Leskes 52801c99b3 Added plugin installation instructions
Original commit: elastic/x-pack-elasticsearch@55b7cd9331
2014-01-07 23:29:57 +01:00
Boaz Leskes 38f9ff6064 Release command doesn't repackage but release already built (and tested) packages
Original commit: elastic/x-pack-elasticsearch@df6e333050
2013-11-21 22:55:01 +01:00
Boaz Leskes 8dd7be641f Added --es_port and --port options to the server command.
Original commit: elastic/x-pack-elasticsearch@e83a9de8c9
2013-11-21 15:03:20 +01:00