Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
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 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 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
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 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 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 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 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 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 93d717dd95
Improve elasticsearch client and query models
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:17 -05:00
Brandon Myers dcbcb70f2c
Add unit tests for abstract ES classes
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:07 -05:00
Brandon Myers 265d306fdb
Update gitignore with celery files
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:06 -05:00
Brandon Myers f5aa9cfb9e
Update unit test helper
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:06 -05:00
Brandon Myers 1a013af29e
Update tests directory to US/Pacific
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:00:48 -05:00
Brandon Myers 820854e3cb
Add tests directory to QA repo
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 14:59:39 -05:00