Proper dahsboard for rish analysis

This commit is contained in:
2025-11-07 22:59:28 +05:30
parent 71206d5499
commit 0c45d3717c
3 changed files with 840 additions and 149 deletions

View File

@@ -117,6 +117,7 @@ class ReportGenerator:
privacy = self.risk_results.get('privacy_risks', {})
return {
'pii_detected': privacy.get('pii_detected', []), # Include full PII detections array
'pii_count': len(privacy.get('pii_detected', [])),
'anonymization_level': privacy.get('anonymization_level', 'UNKNOWN'),
'exposure_risk_count': len(privacy.get('exposure_risks', [])),