Martijn van Groningen
a7e85df649
Move the get alert api over to be a master node api and that it fetches the alert from the in memory alert store instead via core get api from an index.
...
Original commit: elastic/x-pack-elasticsearch@6bf471bf74
2014-12-05 19:59:58 +01:00
Martijn van Groningen
05848603d8
Added missing rest handler
...
Original commit: elastic/x-pack-elasticsearch@749dfc61f5
2014-12-05 19:24:11 +01:00
Martijn van Groningen
b039f8bbdb
Changed to use indexBlockedException instead of indicesBlockedException
...
Original commit: elastic/x-pack-elasticsearch@33f581ddd2
2014-12-05 19:13:31 +01:00
Martijn van Groningen
bbaa122d7e
Removed unused field.
...
Original commit: elastic/x-pack-elasticsearch@b6b0d926ba
2014-12-05 19:11:24 +01:00
Areek Zillur
fd1011b32a
[FIX] Do not emit feature license status on shutdown
...
closes elastic/elasticsearch#33
Original commit: elastic/x-pack-elasticsearch@caa49a52c5
2014-12-05 11:29:47 -05:00
Martijn van Groningen
45e5c13369
Disallow dynamic mapping
...
Added config mapping
Original commit: elastic/x-pack-elasticsearch@f3de2c17bd
2014-12-05 17:03:26 +01:00
Brian Murphy
c97e083a59
Move the saving of configs to the manager.
...
Original commit: elastic/x-pack-elasticsearch@aa8372d34e
2014-12-05 15:55:19 +00:00
Martijn van Groningen
ac45a4fe99
Changes the configuration manager to rely more on alert store for the .alerts index / templated to be loaded. This simplified to loading logic in the configuration manager.
...
Original commit: elastic/x-pack-elasticsearch@ccd7a23243
2014-12-05 16:42:58 +01:00
Brian Murphy
780c89ec23
Move settings checking to the creation of SMTP alert actions.
...
Original commit: elastic/x-pack-elasticsearch@30da14cb9e
2014-12-05 15:09:07 +00:00
Martijn van Groningen
203cf5c024
Remove redundant config manager start checking
...
Original commit: elastic/x-pack-elasticsearch@5369765398
2014-12-05 16:02:28 +01:00
Martijn van Groningen
984d7d615a
removed log statements
...
Original commit: elastic/x-pack-elasticsearch@c4b7b16cd4
2014-12-05 15:36:18 +01:00
Martijn van Groningen
aeacbe44ca
Removed redundant if statement
...
Original commit: elastic/x-pack-elasticsearch@2de43dc7d5
2014-12-05 15:34:44 +01:00
Martijn van Groningen
1258a4c327
Renamed ConfigManager#isReady() to ConfigManager#start()
...
Add ConfigManager#stop()
Simplified config loading
smpt alert action settings are now also updated
Original commit: elastic/x-pack-elasticsearch@acb180f88c
2014-12-05 15:14:24 +01:00
Brian Murphy
920f7ea2a9
More changes for configuration manager and email action renaming.
...
Original commit: elastic/x-pack-elasticsearch@1c5087e79a
2014-12-05 12:07:31 +00:00
Brian Murphy
d8b751f6ed
Change to support name change of email alert action.
...
Original commit: elastic/x-pack-elasticsearch@d8bba3194b
2014-12-05 12:07:31 +00:00
Brian Murphy
d4f8bf0d2c
Fix test to pass in a dummy cluster state when readying the ConfigManager.
...
Original commit: elastic/x-pack-elasticsearch@e085844f9f
2014-12-05 12:07:31 +00:00
Brian Murphy
1f49c9199d
Changes after review.
...
Original commit: elastic/x-pack-elasticsearch@a5fac88f19
2014-12-05 12:07:31 +00:00
Brian Murphy
d70164de4d
Rename EmailAlertAction
...
Original commit: elastic/x-pack-elasticsearch@35e819cdf2
2014-12-05 12:06:42 +00:00
Brian Murphy
6791841f42
Changes after review.
...
Original commit: elastic/x-pack-elasticsearch@0a9055b918
2014-12-05 12:05:57 +00:00
Brian Murphy
31173507a5
Add actions and listeners for Configuration.
...
Add transport actions for configuration.
Add Listener so that components can listen for config changes.
Original commit: elastic/x-pack-elasticsearch@bab02770d9
2014-12-05 12:05:57 +00:00
Brian Murphy
d3ec7f40ba
Add tests for configuration manager.
...
Original commit: elastic/x-pack-elasticsearch@9c284fc4c6
2014-12-05 12:05:57 +00:00
Brian Murphy
8fa42a581f
Configuration : Add ability to configure alerting by creating .alerts/config/<name> documents in the index.
...
This commit adds the ConfigurationManager which the components use to load configuration from the index.
The configuration manager exposes an isReady method which components should not start until it is returns true.
Original commit: elastic/x-pack-elasticsearch@96a2f9f44f
2014-12-05 12:05:57 +00:00
javanna
8320be7b09
Build: add scm info to pom.xml
...
Build number maven plugin requires this info to retrieve the build number and make it available as a variable, which is then published through RestShieldInfoAction, which is currently null. This commit makes sure the build number gets currently published.
Closes elastic/elasticsearch#428
Original commit: elastic/x-pack-elasticsearch@0a2bc7646b
2014-12-05 12:42:44 +01:00
uboness
08b33e8854
Fixed a bug where when shield is disabled it still replaced the transport
...
Closes elastic/elasticsearch#430
Original commit: elastic/x-pack-elasticsearch@422ba76d81
2014-12-05 11:27:50 +01:00
javanna
02c3601ac5
Build: fix dependencies order in pom
...
tests-framework.jar must be before lucene-core.jar
Original commit: elastic/x-pack-elasticsearch@7aa48f737a
2014-12-05 08:49:36 +01:00
javanna
093d9a901c
Packaging: set es core as provided dependency
...
Also update the assembly configuration and the commons-codec version
Closes elastic/elasticsearch#423
Original commit: elastic/x-pack-elasticsearch@27e76c5307
2014-12-05 07:41:19 +01:00
uboness
d7c54a5d1b
Fixes a bug in LicensingTests
...
- where the licenses were enabled on any cluster event. Instead they should only be enabled either explicitly by the test or at start up.
- also modified `ShieldActionModule` to for `ShieldActionFilter` to be bound as an eager singleton (es core doesn't define the scope for the registered action filters)
Original commit: elastic/x-pack-elasticsearch@47ac0d2e6f
2014-12-05 01:08:04 +01:00
uboness
e646fd5edc
Integration with license plugin
...
- Added a `LicenseService` to handle license feature enable/disable events
- LicenseEventNotifier is responsible for notifying the license events to whatever registered listeners that are interested in them
- In Shield, when a license is disabled for `shield` feature, we block all read operations (done in the `ShieldActionFilter`)
- Added initial documentation around licensing
Closes elastic/elasticsearch#347
Original commit: elastic/x-pack-elasticsearch@6ba7a10cd4
2014-12-04 20:49:35 +01:00
Areek Zillur
108bb149bd
Added LicenseVersion for plugin
...
Original commit: elastic/x-pack-elasticsearch@a89d778fd9
2014-12-04 13:09:16 -05:00
Martijn van Groningen
6fd5e5202e
change readme file to asciidoc
...
Original commit: elastic/x-pack-elasticsearch@91b9c87fa6
2014-12-04 17:04:35 +01:00
Martijn van Groningen
a4f0077a2a
Fix tests differently
...
Original commit: elastic/x-pack-elasticsearch@00ec42c29b
2014-12-04 16:55:32 +01:00
Brian Murphy
cc9fac0f93
TEST: Fix AbstractAlertingTests
...
Original commit: elastic/x-pack-elasticsearch@1611f84a41
2014-12-04 15:40:18 +00:00
javanna
070dbebb7a
[TEST] delete unused ip_filter.yml
...
Original commit: elastic/x-pack-elasticsearch@1ac69ba59f
2014-12-04 16:31:36 +01:00
Brian Murphy
3f4d469d4a
FIX: Fixes after merge fail.
...
Original commit: elastic/x-pack-elasticsearch@6bab2d2640
2014-12-04 15:10:18 +00:00
Brian Murphy
4e825e7fac
Merge branch 'master' of https://github.com/elasticsearch/elasticsearch-alerts
...
Original commit: elastic/x-pack-elasticsearch@0707d65b2c
2014-12-04 14:55:26 +00:00
Brian Murphy
f175b298b4
Add payload search test
...
Original commit: elastic/x-pack-elasticsearch@9fba7e97d1
2014-12-04 14:55:08 +00:00
Brian Murphy
b68d7e5554
Changes for payload merge.
...
Original commit: elastic/x-pack-elasticsearch@7989471378
2014-12-04 14:54:20 +00:00
Brian Murphy
14ca6ec300
Add payload search and response to AlertActionEntry.
...
Original commit: elastic/x-pack-elasticsearch@b88b63e8a9
2014-12-04 14:31:14 +00:00
Brian Murphy
8375788839
Merge result from rebase.
...
Original commit: elastic/x-pack-elasticsearch@7e091273da
2014-12-04 14:30:04 +00:00
uboness
970dbaec77
Updated the min es compatibility to 1.4.0
...
Original commit: elastic/x-pack-elasticsearch@6aa954c3bb
2014-12-04 15:01:47 +01:00
Alexander Reelsen
2aafcf40dd
Performance: Only iterate ip filter rules per profile
...
This is a little cleanup to only iterate IP filter rules for each
profile instead of iterating all of them and check for the profile
inside of the rule.
Original commit: elastic/x-pack-elasticsearch@6774f1f165
2014-12-04 14:16:10 +01:00
Martijn van Groningen
e09fface02
adjust formatting
...
Original commit: elastic/x-pack-elasticsearch@aeabde439e
2014-12-04 13:53:09 +01:00
Martijn van Groningen
83f7fba1e1
Docs: Moved getting started to dedicated asciidoc file and added some more general documentation.
...
Original commit: elastic/x-pack-elasticsearch@2cddf76cd6
2014-12-04 12:53:18 +01:00
uboness
150ac97ffe
Reduced audit logs
...
- Moved ACCESS_GRANTED logging of internal actions to TRACE level
Original commit: elastic/x-pack-elasticsearch@fe9bd3e64d
2014-12-04 10:25:40 +01:00
Areek Zillur
a8cf41d78f
Update version to 1.0.0-beta1
...
Original commit: elastic/x-pack-elasticsearch@77cf9d460d
2014-12-03 20:15:21 -05:00
Areek Zillur
134c278336
Add LicenseVersion to track version
...
closes elastic/elasticsearch#23
Original commit: elastic/x-pack-elasticsearch@d606beeb14
2014-12-03 19:38:16 -05:00
Areek Zillur
b08f459c57
[LICENSOR] use Paths and Files instead of File
...
Original commit: elastic/x-pack-elasticsearch@1aefc6867d
2014-12-03 12:54:31 -05:00
Areek Zillur
99806cbd27
Move build tool configs to dev-tools
...
Original commit: elastic/x-pack-elasticsearch@d4aa77b55d
2014-12-03 12:54:31 -05:00
Alexander Reelsen
347374b56d
Cleanup: Removed leftover and unused ip_filter.yml
...
Also fixed a minor tabbing issue
Original commit: elastic/x-pack-elasticsearch@cc761fd278
2014-12-03 15:39:52 +01:00
uboness
2bd541e40f
Added EULA
...
Original commit: elastic/x-pack-elasticsearch@dd9ebdd082
2014-12-03 14:09:55 +01:00