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

41 Коммитов

Автор SHA1 Сообщение Дата
Brandon Myers f078c003eb
Update mozdef bot conf with new creds
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:35 -05:00
Phrozyn be8e76c0c2
Updating rabbit creds for user mozdef in mozdefbot.conf (they were for qa2) 2017-06-15 15:05:00 -05:00
Brandon Myers 0c466f2a29
Fix encoding of bot for bugzilla
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:04:56 -05:00
Phrozyn 3e02f27d14
modified esservers to new cluster. 2017-06-15 15:04:45 -05:00
Brandon Myers 931ec16021
Fix merge with cron directory
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:44 -05:00
Brandon Myers ef6e483c7e
First import of existing files from prod
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:44 -05:00
Brandon Myers 81a07bc2d5
Rename mozdefqa1 to localhost in configs
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:40 -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 28c2a7fd45
Remove bot/safe mozdefbot
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:02:08 -05:00
Phrozyn edcc26f84e
Modifying thread/Process values to be in alignment with mozdefqa1's resources. Disabled unused workers. 2017-06-15 15:00:49 -05:00
Brandon Myers a269e9eb8d
Update bot directory to use US/Pacific
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:00:47 -05:00
Brandon Myers f584e72f0c
Update mozdefbot.conf to use new api key
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 14:59:40 -05:00
Brandon Myers 1d8c59b93f
Setup codebase for merge of two repos 2017-06-15 14:56:47 -05:00
Aaron Meihm 56ef591f4e fix issue where long alert summaries cause mozdefbot to exit 2016-04-11 16:14:33 -05:00
Aaron Meihm 78bc8120ad mozdefbot: throttle alert messaging
Adds back an introduced delay that was originally added in 3c038ec but
removed in e13f725.
2016-04-08 12:29:29 -05:00
Aaron Meihm af3985fa60 mozdefbot: during alert formatting, replace chars that cant be encoded
This resolves an issue where formatAlert() fails if the alert summary
contains extended characters
2016-04-07 11:57:24 -05:00
Guillaume Destuynder 593ad77ee7 Fix submodule reference 2015-10-21 13:05:00 -07:00
Guillaume Destuynder 8d331482e6 Update submodules 2015-06-16 17:12:54 -07:00
Guillaume Destuynder 1ad2d8c37d Fix validation check (entered CIA but not RPF)
Added more verbose warning on validation check
2015-06-16 17:05:30 -07:00
Jeff Bryner 48c4d6069e minor update to the color 2015-06-09 08:10:06 -07:00
Jeff Bryner d0c51e7e9e Merge pull request #261 from gdestuynder/master
Nicer colors and formatting of bug for readability
2015-05-15 11:47:13 -07:00
Jeff Bryner bb7cf1407d minor: let only roulette module handle the !r 2015-03-27 08:38:29 -07:00
Guillaume Destuynder 36bc53644f Nicer colors and formatting of bug for readability 2015-03-26 16:08:37 -07:00
Jeff Bryner 00c3bef7df Merge pull request #259 from gdestuynder/master
Support querying bugzilla for bugs (for example, incident/investigation ...
2015-03-25 16:52:36 -07:00
Guillaume Destuynder e994820e35 Support querying bugzilla for bugs (for example, incident/investigation bugs)
New options:
[zilla]
url = https://bugzilla.mozilla.org/
api_key = your api key (user preferences => api keys)
; how often to check, in seconds
interval = 120
; the channel to tell about the new bugs
channel = #test
; what bugs to search for?
search_terms = [{"product": "mozilla.org"}, {"component": "Security Operations: Incident"}, {"component": "Security
Operations: Investigation"}, {"status": "NEW"}]
2015-03-25 16:45:52 -07:00
Jeff Bryner 7de00c03f5 add super call to start to register listeners 2015-03-25 15:14:13 -07:00
Jeff Bryner 92af4f0a7d remove old cruft 2015-03-25 14:24:11 -07:00
Jeff Bryner 6a193c6240 add modular kitnirc and a fun module 2015-03-25 13:21:39 -07:00
Jeff Bryner e13f725911 remove pika, refactor the mq for kombu consumer mixin, closes #92 2015-03-25 10:15:13 -07:00
Jeff Bryner 51061c9468 auto_delete the queue, closes #236 2015-02-03 12:52:12 -08:00
Jeff Bryner 6da2875e98 explicitly set alert exchange to durable 2015-01-15 15:26:04 -08:00
Jeff Bryner 3c038ecb2e rate limit the bot to 1 message every 2seconds closing #220 2015-01-14 12:31:15 -08:00
Jeff Bryner 5ece6b2526 allow alert to pick an irc channel, closes 150 2014-07-21 15:25:01 -07:00
Jeff Bryner cbc02ad5c0 remove bot coloring for mozdef keyword 2014-06-12 16:08:20 -07:00
Jeff Bryner 38ac179903 moar sleep for the bot to accomodate starting via uwsgi 2014-05-02 16:06:27 -07:00
Anthony Verez dcde5cdfda averez-22-license: Fix license stuff (Closes #22) 2014-04-16 11:40:15 -07:00
Jeff Bryner ee42f669fb 90% more pep8, 10% less cruft 2014-04-07 15:16:34 -07:00
richierichrawr 87dff92a31 String formatting and variable cleanup
Extra `quotes =` was hanging around for some reason.

Fixed the string formatting so it matches the rest of the code.
2014-04-07 14:53:04 -04:00
Jeff Bryner 63a699e45c remove old cruft, set channel key in options 2014-03-27 08:45:24 -07:00
Guillaume Destuynder d2be992a76 Updated license file to conform with MPL 2014-02-25 09:55:02 -08:00
Jeff Bryner 24b668d05e adding code for IRC bot 2014-02-17 23:51:00 -08:00