mirror of
https://github.com/PlatypusPus/MushroomEmpire.git
synced 2026-02-07 22:18:59 +00:00
Proper dahsboard for rish analysis
This commit is contained in:
@@ -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', [])),
|
||||
|
||||
Reference in New Issue
Block a user