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

509 Коммитов

Автор SHA1 Сообщение Дата
Brandon Myers 4d28c6d273
Update cloudtrail mapping 2019-06-03 17:37:30 -05:00
Brandon Myers 3bd574571c
Move vidyo cron script and dependencies into mozdef-deprecated 2019-06-03 13:17:07 -05:00
Brandon Myers c9e9e4ec62
Remove unused comments from mq plugins 2019-05-02 13:58:06 -05:00
Brandon Myers dc86d98c24
Fix if statement in vulnerability plugin 2019-04-11 14:00:22 -05:00
Brandon Myers 9ed9b3f866
Add check to see if type exists on message vulnerability plugin 2019-04-11 13:53:40 -05:00
Brandon Myers 12b2e85b2b
Remove unnecessary whitespace from file 2019-04-11 12:42:43 -05:00
Brandon Myers 0331731328
Merge remote-tracking branch 'origin/master' into doc_type_removal 2019-04-11 12:13:49 -05:00
Phrozyn c472f963db
Adding type as a static entry regardless if already set. 2019-04-10 13:03:39 -05:00
Phrozyn ff20881548
Modifying some of the type references. 2019-04-09 11:09:49 -05:00
A Smith 5845bd17eb
Merge pull request #1206 from mozilla/Fix_invalid_literal_proxy_fixup
Fixing invalid literal in squidFixup.py
2019-04-04 14:08:38 -05:00
Phrozyn 246b50d200
Fixing invalid literal in squidFixup.py 2019-04-04 14:07:14 -05:00
Phrozyn 7da9ba2044
Updating squidFixup to include a summary. 2019-04-04 13:49:27 -05:00
A Smith fb898a2da9
Merge pull request #1192 from mozilla/guardduty_fix_null_date
Adding check for None type object in date fields.
2019-04-03 13:47:19 -05:00
Phrozyn 12b9e9ef0e
adding tags assertions to tests. 2019-04-02 12:50:19 -05:00
Phrozyn a43c7ddc1f
lowercase TAGS in squidFixup.py 2019-04-01 15:10:59 -05:00
Phrozyn 87b23c19d6
fixing conditional syntax 2019-03-28 19:20:04 -05:00
Phrozyn 5a82201040
Adding check for None type object in date fields. 2019-03-28 18:09:03 -05:00
Phrozyn 4ea91f7ac0
Fixing flake8 erros 2019-03-28 11:21:23 -05:00
Phrozyn 9eafc93c01
Update to remove doc_type in favor of type, edited comments to reflect accuracy. 2019-03-25 13:15:49 -05:00
Phrozyn 6a9cdc3c9f
Minor tweaks to mq workers. 2019-03-25 13:14:42 -05:00
Phrozyn dcc3f68623
Updating sns_sqs worker to remove doc_type and add type. 2019-03-25 13:14:36 -05:00
Phrozyn 884ebbc98d
Removing doc_type parameters from papertrail worker, this will be handled by elasticsearch client. 2019-03-25 13:14:30 -05:00
Phrozyn fbe6b83f4c
Removing doc_type parameters from eventtask worker, this will be handled by elasticsearch client. 2019-03-25 13:14:25 -05:00
Phrozyn af076675da
removing doc_type to be handled via elasticsearch client, adding new type to handle subcategory filters 2019-03-25 13:14:18 -05:00
Brandon Myers e25d16ba21
Merge pull request #1132 from mozilla/fix_cloudtrail_parsing
updating cloudtrail plugin to add details.requestparameters.tagging.
2019-03-21 16:49:19 -05:00
A Smith 9c10b7c745
Merge pull request #1118 from mozilla/parse_sqs_sshd_events_properly
Resolving issues with sshd events not parsing correctly.
2019-03-20 14:14:27 -05:00
Phrozyn 5149b8cbf7
updating cloudtrail plugin to add details.requestparameters.tagging. 2019-03-19 18:44:30 -05:00
Brandon Myers 435553cf1f
Fix pyyaml warning messages to use safe loader 2019-03-14 14:51:01 -05:00
Phrozyn 5d47bf2f37
Resolving issues with sshd events not parsing correctly. 2019-03-05 15:21:27 -06:00
Brandon Myers e9566f614a
Merge pull request #1064 from mozilla/replace_timer_with_threads
Replace timer with threads
2019-02-28 12:31:49 -05:00
Brandon Myers 4190c8d5c5
Merge pull request #1105 from mozilla/fixup_keys_references
Remove .keys() call during key exists comparison
2019-02-27 18:03:44 -05:00
Brandon Myers e16ec577bf
Remove .keys() call during key exists comparison 2019-02-15 12:11:15 -06:00
Brandon Myers 1d38a41369
Exclude auth_success field if not present on message bro ssh logs 2019-02-13 12:11:08 -06:00
Brandon Myers b875dcd627
Project plugins key from mq plugins removing it 2019-02-08 11:29:15 -06:00
Brandon Myers 14652f6511
Update mq plugins to create key correctly 2019-01-31 19:15:43 -06:00
Brandon Myers b3be820e15
Merge pull request #1083 from mozilla/reorder_plugins_key
Update plugins key on event ordering
2019-01-31 18:36:15 -06:00
Brandon Myers 3a51bc6583
Update plugins key on event ordering 2019-01-31 18:26:20 -06:00
Michal Purzynski 01c1339d38
Merge branch 'master' into squid_parsing 2019-01-30 18:19:13 -08:00
Brandon Myers 1ca517b3f3
Merge remote-tracking branch 'origin/master' into replace_timer_with_threads 2019-01-30 13:24:03 -06:00
Brandon Myers ea53957621
Merge remote-tracking branch 'origin/master' into replace_timer_with_threads 2019-01-30 13:22:52 -06:00
Brandon Myers 3f87b3e14a
Merge pull request #1070 from mozilla/lowercase_matching_key_mq_plugins
Lowercase potential matching keys in mq plugins
2019-01-30 13:21:19 -06:00
Brandon Myers 25488a483b
Merge pull request #1071 from mozilla/add_plugins_field_events
Add plugins field to events and populate with mq plugins ran
2019-01-30 13:20:43 -06:00
Michal Purzynski fc422b4327 Remove debugging leftovers 2019-01-29 20:40:42 -08:00
Michal Purzynski 6f18480102 PEP8 changes 2019-01-24 15:52:25 -08:00
Brandon Myers 2db449ec5c
Add plugins field to events and populate with mq plugins ran 2019-01-24 15:36:06 -06:00
Brandon Myers 92edd1d0c1
Lowercase potential matching keys in mq plugins 2019-01-24 15:30:24 -06:00
Brandon Myers 57c5dad652
Replace timer with threads 2019-01-23 11:59:31 -06:00
Brandon Myers 6c5ea5083e
Replace timer with thread for reauth in cloudtrail 2019-01-23 11:05:37 -06:00
Brandon Myers 0522b3ce6c
Remove duplicate code from cloudtrail worker 2019-01-22 12:39:47 -06:00
Brandon Myers 08749db287
Modify import for get_aws_credentials 2019-01-22 12:39:35 -06:00
Brandon Myers 7e7c10fdbb
Rename common file to lib/aws 2019-01-22 12:37:46 -06:00
Brandon Myers 7576a55ed7
Merge pull request #990 from ryandeivert/ryandeivert-dry-get-creds
deduplicating get_aws_credentials function
2019-01-22 12:35:23 -06:00
Michal Purzynski 529dfa45e4 Changed the data model, added heuristics to figure the destination in case of denies 2019-01-22 10:21:46 -08:00
Michal Purzynski 40d6c12ca3 A new plugin - parse Squid access log messages, coming from syslog-ng via AMQP. Replaces the squid2mozdef script 2019-01-18 16:51:44 -08:00
Brandon Myers 0f014f152f
Fixup filterlog mq plugin 2019-01-14 12:12:43 -06:00
Brandon Myers d8d88a5d35
Merge pull request #1020 from mozilla/lower_keys_fixes
lowercasing tags for fxa
2018-12-27 13:22:26 -05:00
Michal Purzynski 319532aed7 Remove the netaddr import 2018-12-26 14:50:32 -08:00
Michal Purzynski d93b2cbb29 Work around the lower_case plugin changes 2018-12-26 14:43:29 -08:00
Phrozyn 15b174743c
lowercasing tags for fxa, this fixes nothing. 2018-12-26 16:03:55 -06:00
Phrozyn 2963b703c9
moving this to run after lower_keys.py 2018-12-19 14:52:15 -06:00
Phrozyn 5da575f246
Correcting registration for fxa events, and removing replacement code. 2018-12-19 14:49:42 -06:00
Phrozyn 6e4d12c717
Resolving areas where keys are manipulated after lower_keys is run. 2018-12-19 11:27:00 -06:00
A Smith 9abad28a43
Merge pull request #1004 from mozilla/key_update_for_pulseguardian
updating key fields for pulseguardian events to move source_ip to sou…
2018-12-18 17:41:47 -06:00
A Smith 7215580095
Merge pull request #964 from mozilla/lower_keys
Lower keys
2018-12-18 17:41:27 -06:00
Brandon Myers 97409a248c
Merge pull request #995 from mozilla/add_port_details_root
Move source port and destination port to details root
2018-12-18 12:48:56 -06:00
Phrozyn 365c565023
updating key fields for pulseguardian events to move source_ip to sourceipaddress. 2018-12-17 10:58:39 -06:00
Brandon Myers 46be867d2f
Fixup unused variables check 2018-12-14 14:06:21 -06:00
Brandon Myers df84a1942d
Fixup block comments not having a space after hash 2018-12-14 13:40:07 -06:00
Brandon Myers be7788089d
Fixup missing whitespace around arithmetic operator 2018-12-14 12:49:25 -06:00
Brandon Myers 09989706a0
Fixup closing bracket indentation not matching original 2018-12-14 12:39:23 -06:00
Brandon Myers d04485c850
Fixup pep8 undefined library 2018-12-14 12:27:57 -06:00
Brandon Myers fc771bd531
Remove unused import statements 2018-12-14 11:34:42 -06:00
Brandon Myers e77b791c8a
Merge pull request #934 from mpurzynski/githubevent_pr
A MozDef plugin that parses GitHub's Webhook events to create meaning…
2018-12-13 15:52:41 -05:00
Michal Purzynski 9693dfa58e Address nits from the review - use mozdef_util instead of changing the path, remove unnecessary config file 2018-12-12 12:47:12 -08:00
Brandon Myers 4e28602162
Move source port and destination port to details root 2018-12-10 01:55:54 -05:00
Jeff Bryner 410eb27e1b explicitly accept/map 'source' field 2018-12-03 15:38:24 -05:00
Michal Purzynski 43f1fa2f53 Dynamically resolve path to the config file 2018-11-29 18:06:36 -08:00
Ryan Deivert 42032a99a7 deduplicating get_aws_credentials function 2018-11-29 15:37:45 -08:00
Michal Purzynski ebfacbe147 Move the mapping configuration to a plugin directory 2018-11-29 13:53:43 -08:00
Michal Purzynski 2548178183 Merge remote-tracking branch 'upstream/master' into githubevent_pr 2018-11-29 13:44:16 -08:00
A Smith 03dabc7524
Merge branch 'master' into lower_keys 2018-11-29 10:44:50 -06:00
Phrozyn 307d65165d
lowering keys that the lower_keys plugin will affect, and removing unused details.Random field. 2018-11-26 18:38:51 -06:00
Jeff Bryner 839d545dd6 pull ip from an occasionally present list 2018-11-23 09:26:45 -08:00
andrewkrug 440d50478d
fix flake 8 error 2018-11-21 07:43:37 -08:00
andrewkrug 5845d59dbb
ensure mozdef always polls the SQS queue we create 2018-11-21 06:55:46 -08:00
andrewkrug a14f51fd0e
standardize es_worker credential handling 2018-11-21 06:13:48 -08:00
Michal Purzynski fd5ffafbca Move the configuration file where it can be found 2018-11-20 15:37:22 -08:00
Brandon Myers 21aacc57a0
Add Principal key to cloudtrail plugin 2018-11-14 13:51:55 -06:00
Brandon Myers 006b708693
Sort cloudtrail keys in mq plugin 2018-11-14 13:51:17 -06:00
Phrozyn f9af2dc8f0
Updated code that works on subkeys. 2018-11-14 09:57:47 -06:00
Phrozyn 33e21788bf
initial commit 2018-11-13 16:10:09 -06:00
Brandon Myers 4d07a1e470
Merge pull request #933 from mpurzynski/large_strings_github
Truncate, if present, the GitHub Webhook's pr_body field
2018-11-05 15:35:47 -06:00
Michal Purzynski 90b746e5c6 remove newline at the end of the file 2018-11-05 12:11:58 -08:00
Brandon Myers acc00029fe
Merge pull request #932 from mpurzynski/fixup_fxafixup
Make sure the key eventsource exists before referencing it
2018-11-05 14:09:33 -06:00
Michal Purzynski 3b751ee9b6 the pep check sometimes wants the empty line at the end of the file and sometimes it does not. go figure. 2018-11-05 12:01:15 -08:00
Michal Purzynski 4ca98e512a python hates me 2018-11-05 11:53:54 -08:00
Michal Purzynski 260b0ec957 python hates newlines 2018-11-05 11:49:39 -08:00
Michal Purzynski 8ac8ff1e29 Make sure the key eventsource exists before referencing it 2018-11-05 11:09:01 -08:00
Michal Purzynski a39f3c2010 Truncate, if present, the GitHub Webhook's pr_body field 2018-11-05 11:05:22 -08:00
Michal Purzynski d61168a3fc A MozDef plugin that parses GitHub's Webhook events to create meaningful IR data 2018-11-05 11:03:40 -08:00