Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +22 -0
Gradio_UI.py
CHANGED
|
@@ -23,9 +23,31 @@ DOCUMENT_TO_MODULE = {
|
|
| 23 |
"Subject Access Request Record": "tools.gdpr_sar_log",
|
| 24 |
"Consent Management Log": "tools.gdpr_consent_log",
|
| 25 |
"Data Processor Agreements": "tools.gdpr_dpa_log"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
}
|
| 28 |
|
|
|
|
| 29 |
# === PDF Export Function ===
|
| 30 |
def export_pdf(title, answers, lang="en"):
|
| 31 |
pdf = FPDF()
|
|
|
|
| 23 |
"Subject Access Request Record": "tools.gdpr_sar_log",
|
| 24 |
"Consent Management Log": "tools.gdpr_consent_log",
|
| 25 |
"Data Processor Agreements": "tools.gdpr_dpa_log"
|
| 26 |
+
},
|
| 27 |
+
"NIS2": {
|
| 28 |
+
"Incident Response Log": "tools.nis2_incident_response_log",
|
| 29 |
+
"Asset Inventory": "tools.nis2_asset_inventory",
|
| 30 |
+
"Business Continuity Plan": "tools.nis2_business_continuity_plan",
|
| 31 |
+
"Access Control Log": "tools.nis2_access_control_log",
|
| 32 |
+
"System Testing Record": "tools.nis2_system_testing_record",
|
| 33 |
+
"Supply Chain Risk Record": "tools.nis2_supply_chain_risk_record",
|
| 34 |
+
"Incident Communication Plan": "tools.nis2_incident_communication_plan",
|
| 35 |
+
"Vulnerability Management Log": "tools.nis2_vulnerability_management_log",
|
| 36 |
+
"Security Audit Record": "tools.nis2_security_audit_record",
|
| 37 |
+
"Disaster Recovery Plan": "tools.nis2_disaster_recovery_plan",
|
| 38 |
+
"Compliance Audit Log": "tools.nis2_compliance_audit_log",
|
| 39 |
+
"Penetration Test Summary": "tools.nis2_penetration_test_summary",
|
| 40 |
+
"Data Encryption Inventory": "tools.nis2_data_encryption_inventory",
|
| 41 |
+
"Logging & Monitoring Policy": "tools.nis2_logging_monitoring_policy",
|
| 42 |
+
"Network Architecture Diagram Log": "tools.nis2_network_architecture_log",
|
| 43 |
+
"Security Awareness Training Record": "tools.nis2_security_training_record",
|
| 44 |
+
"Backup & Recovery Log": "tools.nis2_backup_recovery_log",
|
| 45 |
+
"Risk Assessment Matrix": "tools.nis2_risk_assessment_matrix",
|
| 46 |
+
"Third-Party Access Review": "tools.nis2_third_party_access_review"
|
| 47 |
}
|
| 48 |
}
|
| 49 |
|
| 50 |
+
|
| 51 |
# === PDF Export Function ===
|
| 52 |
def export_pdf(title, answers, lang="en"):
|
| 53 |
pdf = FPDF()
|