2024-06-26 13:30:47 +00:00
|
|
|
|
2024-07-01 13:02:19 +00:00
|
|
|
server_host = '0.0.0.0'
|
|
|
|
server_port = 4000
|
|
|
|
zmq_url = 'tcp://localhost:50000'
|
|
|
|
|
2024-06-26 13:30:47 +00:00
|
|
|
misp_url = 'https://localhost/'
|
|
|
|
misp_apikey = 'FI4gCRghRZvLVjlLPLTFZ852x2njkkgPSz0zQ3E0'
|
|
|
|
misp_skipssl = True
|
|
|
|
|
|
|
|
live_logs_accepted_scope = {
|
|
|
|
'events': ['add', 'edit', 'delete', 'restSearch',],
|
|
|
|
'attributes': ['add', 'edit', 'delete', 'restSearch',],
|
|
|
|
'tags': '*',
|
2024-07-02 11:46:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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)
|