The logger is server to Siem clients ( right now only Windows client available), clients is sending logs using gRPC and logger save the logs in MongoDB. The logger need to provide categories for clients, to start sending relevant logs. To use that code, you must generate new certificate, provide public to logger & clients, but only logger have the private.
This project was tested on CentOS 7.
- Install python 3 in your machine
- Clone project
- In MongoC folder, edit files and update the DB address.
- Run
pip install protoc
to install ProtoBuf, then run:protoc --proto_path=ProtoBuf --python_out=ProtoBuf ProtoBuf/evtmanager.proto
python -m grpc_tools.protoc -I./ProtoBuf --python_out=ProtoBuf --grpc_python_out=ProtoBuf ProtoBuf/evtmanager.proto
- Run
python3 MainServer.py
and wait to see printing: Server is UP !
##Configure the DB This project working with MongoDB, and build up to use it. Please make sure to add default values to DB, you can download it from here or from here.