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

Function get_traffic_analyzer

webapp_modern.py:16851–16861  ·  view source on GitHub ↗

Get or create traffic analyzer instance

()

Source from the content-addressed store, hash-verified

16849 'enabled': source.enabled,
16850 'last_updated': source.last_updated
16851 })
16852
16853 return jsonify(dashboard_data)
16854
16855 except Exception as e:
16856 logger.error(f"Error getting threat intelligence dashboard: {e}")
16857 return jsonify({'error': str(e)}), 500
16858
16859def generate_threat_intelligence_report(target, enriched_finding):
16860 """Generate threat intelligence report content"""
16861 try:
16862 from datetime import datetime
16863
16864 # Check if this is a meaningful finding

Callers 12

get_traffic_statusFunction · 0.70
get_traffic_debugFunction · 0.70
start_traffic_captureFunction · 0.70
stop_traffic_captureFunction · 0.70
get_traffic_summaryFunction · 0.70
get_traffic_hostsFunction · 0.70
get_traffic_connectionsFunction · 0.70
get_traffic_beaconsFunction · 0.70
get_traffic_ja3Function · 0.70
get_traffic_ircFunction · 0.70
get_traffic_alertsFunction · 0.70
get_traffic_host_detailsFunction · 0.70

Calls 1

TrafficAnalyzerClass · 0.90

Tested by

no test coverage detected