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

231 Коммитов

Автор SHA1 Сообщение Дата
Phrozyn 37599c7928
initial exposure of only our watchlist endpoint - WIP 2018-11-16 11:51:29 -06:00
Phrozyn 91fbc63f4e
resolving merge from master conflicts 2018-11-16 11:41:47 -06:00
Phrozyn bbf2d10e12
mergine master into branch with conflicts resolved. 2018-11-16 11:34:02 -06:00
Jeff Bryner a071b7a9f7 properly init the config 2018-11-13 09:43:49 -08:00
Jeff Bryner c41d849427 hook up the stop list to the config file 2018-11-13 08:51:35 -08:00
A Smith ee606a17e5
Merge branch 'master' into watchlist_feature 2018-11-12 14:49:42 -06:00
Jeff Bryner c4cd519bc4 fix imports 2018-11-12 10:47:00 -08:00
Brandon Myers deb4fc86c5
Update rest tests to use separate config 2018-11-12 12:35:40 -06:00
Jeff Bryner a7f4059cbe revert esservers to localhost 2018-11-12 08:31:58 -08:00
Jeff Bryner 092907b6b4 pep! 2018-11-11 20:46:00 -08:00
Jeff Bryner 1e0fc20713 pep! 2018-11-11 20:38:47 -08:00
Jeff Bryner 20d43a9e87 options 2018-11-11 20:32:12 -08:00
Jeff Bryner a2d0ff8fc0 remove the function in favor of the plugin 2018-11-11 20:03:51 -08:00
Jeff Bryner 984cb9d794 return results 2018-11-11 16:58:15 -08:00
Jeff Bryner 5599dd0f8d add datetime import 2018-11-11 15:46:42 -08:00
Jeff Bryner 5e77bbfa94 pass a dict 2018-11-11 15:45:28 -08:00
Jeff Bryner ee5c2caf56 correct the esservers option 2018-11-11 15:45:10 -08:00
Jeff Bryner a00e91d84d use the options sent to us 2018-11-11 14:42:47 -08:00
Jeff Bryner 69d2224a75 move function to plugin 2018-11-11 14:41:23 -08:00
Jeff Bryner 3e71d2f4fc rename the route, remove hard coded function 2018-11-11 14:41:15 -08:00
Brandon Myers b27537fd3a
Remove references to enableBlockIP config key 2018-11-09 15:11:21 -06:00
A Smith 01f37161c1
Merge branch 'master' into watchlist_feature 2018-11-08 13:55:08 -06:00
Brandon Myers 3b07f12cc9
Resolve E128 continuation line under indented 2018-10-31 18:11:08 -05:00
Brandon Myers 3fbeae4611
Resolve E127 continuation line over indented 2018-10-31 17:30:18 -05:00
Brandon Myers db5c6c92cc
Resolve E126 continuation of over-indented lines 2018-10-31 17:17:49 -05:00
Phrozyn ef2d32096a
pep8 corrections. 2018-10-30 18:24:30 -05:00
Phrozyn 210ff38ebb
removing path to watchlist, removing watchlist from static, adding private folder to gitignore. 2018-10-30 18:20:11 -05:00
Brandon Myers 1d03fd7037
Resolve E129 indented line with same indent as next logical line 2018-10-30 18:16:38 -05:00
Brandon Myers 4c80290a2b
Resolve E302 expected 2 blank lines found 1 2018-10-30 18:08:59 -05:00
Brandon Myers c8922602f3
Resolve E305 expected 2 blank lines after class 2018-10-30 18:04:55 -05:00
Brandon Myers 877eb8cc56
Resolve E222 multiple spaces after operator 2018-10-30 17:31:27 -05:00
Brandon Myers 34ab0000ec
Resolve E116 unexpected indentation in comments 2018-10-30 17:30:02 -05:00
Phrozyn a423faedbc
fixing issues detected by flake8. 2018-10-30 11:28:59 -05:00
Phrozyn e3d7357f45
Adding cron to generate watchlist, removed generation code from rest code. 2018-10-30 11:28:59 -05:00
Phrozyn 6fc72265fe
Add rest endpoint for the watchlist and empty watchlist file. 2018-10-30 11:28:59 -05:00
Phrozyn 26a6876324
Adding rest endpoint and config file to watchlist_feature 2018-10-30 11:28:59 -05:00
Brandon Myers 663fd76ab2
Merge remote-tracking branch 'origin/infosec_workweek' into virtualenv_path_change 2018-10-24 13:05:30 -05:00
Brandon Myers 6849e2a131
Remove hashmark from restapi config 2018-10-22 19:57:39 -05:00
Zack Mullaly 13a6c7401b Replace all the imports to use mozdef_util 2018-10-16 12:45:04 -07:00
Brandon Myers 6456b8eddb
Merge remote-tracking branch 'origin/master' into fix_pep8_errors 2018-10-08 16:20:32 -04:00
Brandon Myers 68c17d41b9
Merge pull request #761 from mozilla/remove_fb_tx
Remove facebook threatexchange support
2018-10-08 16:15:23 -04:00
Brandon Myers 6dfd213f17
Remove redundant backslach between brackets 2018-10-05 18:05:46 -04:00
Brandon Myers 733a02c35d
Fixup unexpected spaces around keyword 2018-10-05 18:03:11 -04:00
Brandon Myers 5428a40110
Fixup inline comments 2018-10-05 18:02:04 -04:00
Brandon Myers ef4930603f
Fixup blank line at end of file 2018-10-05 17:52:13 -04:00
Brandon Myers 7689ea0d20
Remove too many blank lines 2018-10-05 17:46:00 -04:00
Brandon Myers c5bbc60b29
Fixup pep8 E211 2018-10-05 17:42:13 -04:00
Brandon Myers 7f149fad15
Remove whitespace before single quote 2018-10-05 17:39:44 -04:00
Brandon Myers c255c94c67
Remove whitespace before parenthesis 2018-10-05 17:37:47 -04:00
Brandon Myers 06f0e78c5a
Remove whitespace after parenthesis 2018-10-05 17:34:36 -04:00
Brandon Myers 1bbf4ef129
Remove facebook threatexchange support 2018-10-04 12:43:10 -04:00
Brandon Myers 1fd1f982f1
Remove banhammer rest plugin 2018-10-04 12:19:58 -04:00
Brandon Myers 879f6f6e6e
Remove unrelated comments to rest plugins 2018-10-04 12:18:15 -04:00
Brandon Myers 8ca3ac5578
Merge pull request #719 from mozilla/dns_blocklist
Add FQDN/DNS block page
2018-07-23 13:42:22 -05:00
Jeff Bryner 19b24f3e64 correct comment 2018-07-17 14:40:13 -07:00
Jeff Bryner 14e9456a3a remove unused import 2018-07-17 14:39:51 -07:00
Jeff Bryner 48b71c908c
fix the cursor
update to match current pymongo cursor handling
2018-07-10 10:37:00 -07:00
Jeff Bryner c0a1267f02 return meaningful errors to the UI 2018-07-09 16:36:44 -07:00
Jeff Bryner a10f512f0a fix up the fqdn checker 2018-07-09 14:46:32 -07:00
Jeff Bryner 10214a1acd s/ip/fqdn 2018-07-09 13:05:29 -07:00
Jeff Bryner 89f5aa08d9 add endpoint 2018-07-09 13:04:53 -07:00
Jonathan Claudius 99c5c5ecc1 Add FQDN blocklist plugins 2018-07-05 16:26:45 -04:00
Brandon Myers 1067ad01b2
Self describe api type in status route 2018-06-14 16:25:31 -05:00
Jeff Bryner 726a1d09fd fixup silly mistakes 2018-05-29 16:43:14 -07:00
Jeff Bryner 132fa70ad0 rough in the status page requests call 2018-05-29 15:58:51 -07:00
Jeff Bryner 9971235a8f add the statuspage options 2018-05-29 15:39:15 -07:00
Jeff Bryner 0fa9979e7f import requests 2018-05-29 15:22:23 -07:00
Jeff Bryner 7538144b40 ipdecorate ipblocklist 2018-05-25 14:38:20 -07:00
Jeff Bryner a3089014b7 update to fix review items. 2018-05-22 11:55:36 -07:00
Jeff Bryner c09eb4a00d changes to allow IP lookup functions in all pages containing an IPv4 2018-05-20 20:51:54 -07:00
Jeff Bryner 760ef6f94f sync rest with new duration options 2018-05-17 16:15:22 -07:00
Jeff Bryner f65ccfd032 correct case of field as sent by the form. 2018-05-15 08:51:32 -07:00
Jeff Bryner 22b5dc0069 rest listen on all interfaces 2018-05-15 08:37:25 -07:00
Jeff Bryner a403ff5780 update logic in checking ip data 2018-05-15 08:36:27 -07:00
Jeff Bryner 4e30925327 sample ipblocklist.conf file 2018-05-15 08:35:48 -07:00
Jeff Bryner 621e4dbcff initial ipblocklist plugin 2018-05-13 20:38:42 -07:00
Brandon Myers d4514e943b
Update ini files to use new virtualenv path 2018-04-20 13:23:36 -05:00
Brandon Myers c60c7b8c36
Remove extra line after copywrite date 2018-01-04 17:15:35 -06:00
Yash Mehrotra 90d7e3b6d3
Remove free-form 'Contributor:' text from code. Fixes #407 2017-12-23 02:14:53 +05:30
Phrozyn de775ce574
Kibana Dashboard URL fix 2017-11-12 17:52:22 -06:00
Brandon Myers 74fa6d832a
Update config key for listen host in rest 2017-10-25 18:53:18 -05:00
Brandon Myers baf24c77a5
Add custom user agent to rest api requests 2017-10-13 14:52:05 -05:00
A Smith c252f9f8ff Merge pull request #488 from mozilla/add_config_option_host
Add config option for rest and loginput for listening host address
2017-10-12 16:49:15 -05:00
Brandon Myers e4377aa409
Rename loginput and rest host config to listen_host 2017-10-12 11:27:22 -05:00
Phrozyn 1fd7335355
Naming Convention and Logging Changes. 2017-10-04 15:59:49 -05:00
Brandon Myers cf9a2712e6
Add config option for rest and loginput for listening host address 2017-09-28 15:07:22 -05:00
Brandon Myers b6bd34fbc0
Revert "Remove cymon rest plugin"
This reverts commit cae96f73b1.
2017-09-21 16:02:33 -05:00
Brandon Myers 28535ddf95
Switch deprecated ipwhois method in rest api 2017-09-11 14:38:27 -05:00
Brandon Myers 72bd8f47e2
Change default kibanaurl in rest conf 2017-08-17 16:08:35 -05:00
Brandon Myers b3334c6c39
Change logging from print to logger in rest 2017-08-07 17:14:18 -05:00
Brandon Myers 029ce3cfb9
Fixup rest api aggregation tests 2017-08-07 16:35:36 -05:00
Brandon Myers 58081ac415 Merge branch 'master' into add_docker_compose 2017-08-04 15:09:26 -05:00
Brandon Myers 2721bdc2cb
Add ability for docker-compose to start containers 2017-08-04 14:30:11 -05:00
Brandon Myers cdb6be3f2c
Remove fxa rest plugin 2017-07-17 15:39:11 -05:00
Brandon Myers f7ad9e9007
Remove unnecessary fields in loginput and rest api ini 2017-07-12 19:04:41 -05:00
Brandon Myers bf465b0480
Remove trailing slash in kibana url 2017-07-05 17:10:18 -05:00
Brandon Myers a695692382
Correct kibana dashboard url 2017-07-05 17:08:21 -05:00
Brandon Myers 11ac4dd835
Update files that were diff between two repos 2017-06-15 15:14:57 -05:00
Brandon Myers cae96f73b1
Remove cymon rest plugin 2017-06-15 15:07:44 -05:00
Brandon Myers 4d9813424c
Remove test rest plugins 2017-06-15 15:07:44 -05:00