25 lines
780 B
Text
25 lines
780 B
Text
|
|
server_host = '0.0.0.0'
|
|
server_port = 4000
|
|
zmq_url = 'tcp://localhost:50000'
|
|
|
|
misp_url = 'https://localhost/'
|
|
misp_apikey = 'FI4gCRghRZvLVjlLPLTFZ852x2njkkgPSz0zQ3E0'
|
|
misp_skipssl = True
|
|
|
|
live_logs_accepted_scope = {
|
|
'events': ['add', 'edit', 'delete', 'restSearch',],
|
|
'attributes': ['add', 'edit', 'delete', 'restSearch',],
|
|
'eventReports': ['add', 'edit', 'delete',],
|
|
'tags': '*',
|
|
}
|
|
|
|
import logging
|
|
logger = logging.getLogger('misp-exercise-dashboard')
|
|
format = '[%(levelname)s] %(asctime)s - %(message)s'
|
|
formatter = logging.Formatter(format)
|
|
logging.basicConfig(filename='misp-exercise-dashboard.log', encoding='utf-8', level=logging.DEBUG, format=format)
|
|
ch = logging.StreamHandler()
|
|
ch.setLevel(logging.INFO)
|
|
ch.setFormatter(formatter)
|
|
logger.addHandler(ch)
|