File size: 698 Bytes
7c89ed7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Mozdef_util Library
===================

We provide a library used to interact with MozDef components.


Installation
-------------

If you're using Mac OS X::

  git clone https://github.com/mozilla/mozdef mozdef
  cd ./mozdef
  export PYCURL_SSL_LIBRARY=openssl
  export LDFLAGS=-L/usr/local/opt/openssl/lib;export CPPFLAGS=-I/usr/local/opt/openssl/include
  pip install -r requirements.txt



If you're using CentOS::

  git clone https://github.com/mozilla/mozdef mozdef
  cd ./mozdef
  PYCURL_SSL_LIBRARY=nss pip install -r requirements.txt


Usage
-----

.. toctree::
    :maxdepth: 2

    mozdef_util/connect
    mozdef_util/create
    mozdef_util/search
    mozdef_util/match_query_classes