MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_config

Function get_config

webapp_modern.py:4884–4890  ·  view source on GitHub ↗

Get current configuration

()

Source from the content-addressed store, hash-verified

4882 if start and not running:
4883 _threat_monitor_state['enabled'] = True
4884 _threat_monitor_state['findings'] = []
4885 _threat_monitor_state['sweep_count'] = 0
4886 _threat_monitor_state['last_sweep'] = None
4887 t = threading.Thread(target=_threat_monitor_loop, daemon=True,
4888 name='threat-monitor')
4889 _threat_monitor_state['thread'] = t
4890 t.start()
4891 running = True
4892 elif not start and running:
4893 _threat_monitor_state['enabled'] = False

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected