Permalink
Browse files

averez-22-license: Fix license stuff (Closes #22)

  • Loading branch information...
netantho committed Apr 16, 2014
1 parent c8ecbff commit dcde5cdfda2040b1315ffa99465b41c212086c5c
Showing with 489 additions and 3 deletions.
  1. +8 −0 analyze_code.sh
  2. +1 −0 benchmarking/es/insert_bulk.js
  3. +1 −0 benchmarking/es/insert_simple.js
  4. +1 −0 benchmarking/es/search_all_fulltext.js
  5. +4 −0 bot/mozdefbot.py
  6. +9 −0 cron/backupES.sh
  7. +9 −0 cron/backupES10.sh
  8. +5 −0 cron/broAlerts.py
  9. +9 −0 cron/broAlerts.sh
  10. +5 −0 cron/cloudTrailAlerts.py
  11. +9 −0 cron/cloudTrailAlerts.sh
  12. +5 −0 cron/cloudtrail2mozdef.py
  13. +9 −0 cron/cloudtrail2mozdef.sh
  14. +9 −0 cron/esMaint.sh
  15. +9 −0 cron/healthAndStatus.py
  16. +9 −0 cron/healthAndStatus.sh
  17. +9 −0 cron/pruneES.sh
  18. +5 −0 cron/pruneIndexes.py
  19. +5 −0 cron/rotateIndexes.py
  20. +5 −0 cron/setupIndexTemplates.py
  21. +9 −0 docker/Dockerfile
  22. +9 −0 docker/Makefile
  23. +2 −1 docs/source/contributors.rst
  24. +9 −0 examples/heka-lua-bro-intel/brointel.lua
  25. +9 −0 examples/heka-lua-bro-notice/bronotice.lua
  26. +9 −0 examples/heka-lua-syslog/syslog_tab_delimited.lua
  27. +8 −0 initscripts/mozdefloginput
  28. +8 −0 initscripts/mozdefmq
  29. +8 −0 initscripts/mozdefrestapi
  30. +9 −0 lib/cefFifo2MQ.py
  31. +9 −0 lib/cefFile2Mozdef.py
  32. +9 −0 lib/cefTail2Mozdef.py
  33. +4 −0 loginput/index.py
  34. +11 −0 meteor/app/client/alertssummary.html
  35. +11 −0 meteor/app/client/attackers.html
  36. +10 −0 meteor/app/client/eshealthTable.html
  37. +10 −0 meteor/app/client/incidentAdd.html
  38. +10 −0 meteor/app/client/incidentEdit.html
  39. +13 −2 meteor/app/client/incidentTable.html
  40. +11 −0 meteor/app/client/logincounts.html
  41. +11 −0 meteor/app/client/mozdef.js
  42. +11 −0 meteor/app/client/null.html
  43. +10 −0 meteor/app/client/verisTags.html
  44. +10 −0 meteor/app/lib/collections.js
  45. +10 −0 meteor/app/lib/models.js
  46. +10 −0 meteor/app/lib/settings.js
  47. +10 −0 meteor/app/router/router.js
  48. +10 −0 meteor/app/server/methods.js
  49. +10 −0 meteor/app/server/mozdef.js
  50. +11 −0 meteor/mozdef.html
  51. +10 −0 meteor/public/css/mozdef.css
  52. +10 −0 meteor/public/css/moznightly.css
  53. +10 −0 meteor/public/css/nightly.css
  54. +10 −0 meteor/public/css/template.css
  55. +5 −0 mq/alertWorker.py
  56. +5 −0 mq/alertsdebugReceiver.py
  57. +5 −0 mq/cpEvents.py
  58. +5 −0 mq/esworker.py
  59. +5 −0 mq/eventsdebugReceiver.py
  60. +8 −0 mq/plugins/geoip.py
  61. +4 −0 rest/index.py
  62. +5 −0 test/json2Mozdef.py
View
@@ -1,4 +1,12 @@
#!/bin/sh
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# Contributors:
+# Björn Arnelid bjorn.arnelid@gmail.com
+
# Automated static code analysis for Python and JavaScript
# Python tools pylint, pep8, pyflakes
NOW=$(date +%Y%m%d_%H%M%S)
@@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (c) 2014 Mozilla Corporation
+//
// Contributors:
// Anthony Verez averez@mozilla.com
@@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (c) 2014 Mozilla Corporation
+//
// Contributors:
// Anthony Verez averez@mozilla.com
@@ -2,6 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (c) 2014 Mozilla Corporation
+//
// Contributors:
// Anthony Verez averez@mozilla.com
View
@@ -2,6 +2,10 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
"""mozdef bot using KitnIRC."""
import json
View
@@ -1,4 +1,13 @@
#!/bin/bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# herein we backup our indexes! this script should run at like 6pm or something, after logstash
# rotates to a new ES index and theres no new data coming in to the old one. we grab metadatas,
# compress the data files, create a restore script, and push it all up to S3.
View
@@ -1,4 +1,13 @@
#!/bin/bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Anthony Verez averez@mozilla.com
+
# herein we backup our indexes! this script should run at like 6pm or something, after you
# rotate indexes to a new ES date index and theres no new data coming in to the old one. we create a snapshot,
# create a restore script, and push it all up to S3.
View
@@ -1,7 +1,12 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
import pika
import sys
View
@@ -1,3 +1,12 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/broAlerts.py -c /home/mozdef/envs/mozdef/cron/broAlerts.conf
View
@@ -1,7 +1,12 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
import pika
import sys
View
@@ -1,4 +1,13 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/cloudTrailAlerts.py
@@ -1,7 +1,12 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
import os
import sys
@@ -1,4 +1,13 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.py -c /home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.conf
View
@@ -1,4 +1,13 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/rotateIndexes.py -c /home/mozdef/envs/mozdef/cron/rotateIndexes.conf
View
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
import json
import logging
import os
View
@@ -1,3 +1,12 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/healthAndStatus.py -c /home/mozdef/envs/mozdef/cron/healthAndStatus.conf
View
@@ -1,4 +1,13 @@
#!/usr/bin/env bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/pruneIndexes.py -c /home/mozdef/envs/mozdef/cron/pruneIndexes.conf
View
@@ -1,8 +1,13 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# set this to run as a cronjob
# to reguarly remove indexes
# run it after backup of course
View
@@ -1,8 +1,13 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# set this to run as a cronjob at 00:00 UTC to create the indexes
# necessary for mozdef
@@ -1,8 +1,13 @@
#!/usr/bin/env python
+
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# Use this to setup the index templates for mozdef
# You only need to run it once, it will setup the templates
# used as future indexes are created
View
@@ -1,3 +1,12 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Yohann Lepage yohann@lepage.info
+# Anthony Verez averez@mozilla.com
+
FROM debian:testing
MAINTAINER Yohann Lepage <yohann@lepage.info>
View
@@ -1,3 +1,12 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Yohann Lepage yohann@lepage.info
+# Anthony Verez averez@mozilla.com
+
# Project: MozDef
# Author: 2xyo <yohann@lepage.info>
# Date: 2014
@@ -3,4 +3,5 @@ Contributors
Here is the list of the awesome contributors helping us or that have helped us in the past:
- * Yohann Lepage (@2xyo) yohann INSERTAT lepage INSERTPOINT info (docker configuration)
+ * Yohann Lepage (@2xyo) yohann INSERTAT lepage INSERTDOT info (docker configuration)
+ * Björn Arnelid bjorn.arnelid INSERTAT gmail INSERTDOT com
@@ -1,3 +1,12 @@
+-- This Source Code Form is subject to the terms of the Mozilla Public
+-- License, v. 2.0. If a copy of the MPL was not distributed with this
+-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
+-- Copyright (c) 2014 Mozilla Corporation
+--
+-- Contributors:
+-- Anthony Verez averez@mozilla.com
+-- Mike Trinkala mtrinkala@mozilla.com
+
require "lpeg"
require "string"
-- Some magic for parsing tab-separated logs
@@ -1,3 +1,12 @@
+-- This Source Code Form is subject to the terms of the Mozilla Public
+-- License, v. 2.0. If a copy of the MPL was not distributed with this
+-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
+-- Copyright (c) 2014 Mozilla Corporation
+--
+-- Contributors:
+-- Anthony Verez averez@mozilla.com
+-- Mike Trinkala mtrinkala@mozilla.com
+
require "lpeg"
require "string"
-- Some magic for parsing tab-separated logs
@@ -1,3 +1,12 @@
+-- This Source Code Form is subject to the terms of the Mozilla Public
+-- License, v. 2.0. If a copy of the MPL was not distributed with this
+-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
+-- Copyright (c) 2014 Mozilla Corporation
+--
+-- Contributors:
+-- Anthony Verez averez@mozilla.com
+-- Mike Trinkala mtrinkala@mozilla.com
+
require "lpeg"
require "string"
local sep = lpeg.P"\t"
@@ -1,5 +1,13 @@
#!/bin/bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# uwsgi - This script starts and stops uwsgi apps interfacing with nginx and sending to message queues
#
# chkconfig: - 85 15
View
@@ -1,5 +1,13 @@
#!/bin/bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# uwsgi - This script starts and stops uwsgi apps consuming the mozdef message queues
#
# chkconfig: - 85 15
@@ -1,5 +1,13 @@
#!/bin/bash
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
# uwsgi - This script starts and stops uwsgi apps interfacing with nginx and serving rest requests
#
# chkconfig: - 85 15
View
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
import os
import sys
from configlib import getConfig,OptionParser
View
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+# Copyright (c) 2014 Mozilla Corporation
+#
+# Contributors:
+# Jeff Bryner jbryner@mozilla.com
+
import os
import sys
from configlib import getConfig,OptionParser
Oops, something went wrong.

0 comments on commit dcde5cd

Please sign in to comment.