Get traffic analysis summary
()
| 16994 | report_text += "\n" |
| 16995 | else: |
| 16996 | report_text += "RECOMMENDED ACTIONS\n" |
| 16997 | report_text += "-------------------\n" |
| 16998 | report_text += "• Review target for legitimate business purpose\n" |
| 16999 | report_text += "• Monitor for unusual activity\n" |
| 17000 | report_text += "• Apply standard security controls\n\n" |
| 17001 | |
| 17002 | if report_content.get('exploitation_prediction'): |
| 17003 | pred = report_content['exploitation_prediction'] |
| 17004 | report_text += "EXPLOITATION PREDICTION\n" |
| 17005 | report_text += "-----------------------\n" |
| 17006 | report_text += f"Likelihood: {pred.get('exploitation_likelihood', 0) * 100:.1f}%\n" |
| 17007 | report_text += f"Timeline: {pred.get('predicted_timeline_days', 'Unknown')} days\n" |
| 17008 | report_text += f"Confidence: {pred.get('confidence', 0) * 100:.1f}%\n\n" |
| 17009 | |
| 17010 | report_text += f"""REPORT METADATA |
| 17011 | --------------- |
| 17012 | Generated by: Ragnar Threat Intelligence System |
| 17013 | Report ID: {hashlib.md5(report_content['target'].encode()).hexdigest()[:12]} |
nothing calls this directly
no test coverage detected