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

Function get_recon_scan

webapp_modern.py:17763–17775  ·  view source on GitHub ↗

Get recon scan status and partial results

(scan_id)

Source from the content-addressed store, hash-verified

17761 'pan_connected': safe_bool(shared_data.pan_connected),
17762 'usb_active': safe_bool(shared_data.usb_active),
17763 'ethernet_connected': safe_bool(is_ethernet_available()),
17764 'ethernet_ip': _get_active_ethernet_ip(),
17765 'ethernet_interface': _get_active_ethernet_name(),
17766 'manual_mode': safe_bool(shared_data.config.get('manual_mode', False)),
17767 'headless_mode': safe_bool(getattr(shared_data, 'headless_mode', False)),
17768 'release_gate': _build_release_gate_payload(),
17769 'timestamp': datetime.now().isoformat()
17770 }
17771
17772def get_recent_logs():
17773 """Get recent log entries with enhanced activity information focused on security scanning"""
17774 logs = []
17775 try:
17776 # Enhanced logging - aggregate from multiple sources for real-time updates
17777
17778 # Function to filter logs for security focus

Callers

nothing calls this directly

Calls 4

get_scan_stateMethod · 0.80
errorMethod · 0.80
get_recon_engineFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected