Brandon Myers
|
28080dd980
|
Fix remaining qa references in prod
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:45 -05:00 |
Brandon Myers
|
2d6b770699
|
Fix pytest errors
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:42 -05:00 |
Brandon Myers
|
8895fed1e9
|
Remove pyes_enabled references in codebase
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:42 -05:00 |
Brandon Myers
|
e43fe3c323
|
Replace kibana-int with .kibana as index
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:40 -05:00 |
Brandon Myers
|
9c5760ccc7
|
Remove comment in test bulk queue
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:38 -05:00 |
Brandon Myers
|
71692067cc
|
Add error support plus tests to bulk import
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:38 -05:00 |
Brandon Myers
|
43755b2580
|
Add bulk support to elasticsearch client
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:38 -05:00 |
Brandon Myers
|
d0ea4b585e
|
Update comments for loginput tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:38 -05:00 |
Brandon Myers
|
59ede33b59
|
Add initial swing at BulkQueue
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:37 -05:00 |
Brandon Myers
|
e92a754f1f
|
Add sleep to rest unit test
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:37 -05:00 |
Brandon Myers
|
e10c90f585
|
Add example tests for loginput
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:37 -05:00 |
Brandon Myers
|
38f7600f8c
|
Remove self.setup in test search query
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:37 -05:00 |
Brandon Myers
|
87cf1386b6
|
Sort aggregation keys in tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:37 -05:00 |
Brandon Myers
|
13f2764ef8
|
Add aggregation size functionality
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:36 -05:00 |
Brandon Myers
|
0b8d5b33af
|
Add alias for alerts index
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:36 -05:00 |
Brandon Myers
|
4031c431d9
|
Add ES2 tests for elasticsearch client
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:36 -05:00 |
Brandon Myers
|
9655ea740c
|
Add tests for creating aliases
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:36 -05:00 |
Brandon Myers
|
ac0217f373
|
Update default timezone to UTC
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:35 -05:00 |
Brandon Myers
|
26326f243d
|
Remove pyes from alert filenames
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:34 -05:00 |
Brandon Myers
|
ccebf7344d
|
Add unit test support for query should param
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:33 -05:00 |
Brandon Myers
|
46fd487ee6
|
Fixup healthToMongo with health stats in ES
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:28 -05:00 |
Brandon Myers
|
51b9c1fefe
|
Add get_indices() to ES client with test
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:28 -05:00 |
Brandon Myers
|
362c870cfa
|
Add unit test for no results in client
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:22 -05:00 |
Brandon Myers
|
0b5efec854
|
Update alert test case with master
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:22 -05:00 |
Brandon Myers
|
731da67eba
|
Fix timestamp related issues in tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:22 -05:00 |
Brandon Myers
|
44b5e8aa4a
|
Fix unit test suite current timestamp
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:22 -05:00 |
Gene Wood
|
b4ffb4d42e
|
Set default alert_filename based on the following convention
Test class : TestAlertExampleName
Alert class : AlertExampleName
Alert filename : example_name.py
|
2017-06-15 15:03:21 -05:00 |
Brandon Myers
|
0562a77be7
|
Update alert unit tests to use alert_filename
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:20 -05:00 |
Gene Wood
|
3c16556065
|
Derive alert_name from class name
|
2017-06-15 15:03:07 -05:00 |
Brandon Myers
|
c3226d0488
|
Remove correlated alerts alert unit test
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:07 -05:00 |
Brandon Myers
|
3e818ebdf9
|
Move test config file to tests root
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:06 -05:00 |
Brandon Myers
|
07182bf99c
|
Fix paths in tests/libs
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:06 -05:00 |
Brandon Myers
|
20e0d8a3fb
|
Move test files under tests/lib
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:03:06 -05:00 |
Brandon Myers
|
6caaad320d
|
Remove duplicate definitions of toUTC
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:46 -05:00 |
Brandon Myers
|
3a3221987f
|
Add cloudtrail couple alerts
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:12 -05:00 |
Brandon Myers
|
c41c31c181
|
Fix up alert unit tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:11 -05:00 |
Brandon Myers
|
5cbc540ff5
|
Fix search query unit tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:11 -05:00 |
Brandon Myers
|
02ad68ed25
|
Fix bruteforce_ssh_pyes alert
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:11 -05:00 |
Brandon Myers
|
8e52a89c4c
|
Finish updating alert unit tests to new format
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:11 -05:00 |
Brandon Myers
|
d517fb1ad3
|
Improve some alert unit tests to better format
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:11 -05:00 |
Brandon Myers
|
63608e3bf6
|
Restrict unit test access from running on mozilla
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:10 -05:00 |
Brandon Myers
|
ff4260f879
|
Configure rest api to handle no kibana index
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:10 -05:00 |
Brandon Myers
|
76174add7d
|
Update mq directory with search class
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:02:01 -05:00 |
Brandon Myers
|
7c9cad5352
|
Remove pyes exception handling from rest
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:24 -05:00 |
Brandon Myers
|
7b14fcef69
|
Update rest api with tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:24 -05:00 |
Brandon Myers
|
4590d88efa
|
Update alert task with search query execute
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:24 -05:00 |
Brandon Myers
|
7ccf36f75c
|
Update alert specs for new event format
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:24 -05:00 |
Brandon Myers
|
1e14ca0ce8
|
Add aggregation to search query
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:23 -05:00 |
Brandon Myers
|
5631e494de
|
Add unit tests for some rest routes
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:23 -05:00 |
Brandon Myers
|
a1f67935ec
|
Update alerts for new model names
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
|
2017-06-15 15:01:23 -05:00 |