Promene u dizajnu dokumenata, controla, residual graph, residual tabele...

This commit is contained in:
2025-06-13 17:45:22 +02:00
parent fa734e5be9
commit aff66589e9
14 changed files with 711 additions and 2132 deletions

View File

@@ -15,10 +15,13 @@ class Command(BaseCommand):
reader = csv.DictReader(csv_file)
for row in reader:
safeguard = row["CIS v8.1 Safeguards (Sub-Controls)"].strip()
safeguard_id = row["Safeguard ID"].strip()
safeguard = row["Name"].strip()
description = row["Description"].strip()
Control.objects.update_or_create(
name=safeguard,
name=safeguard,
safeguard_id = safeguard_id,
description=description,
defaults={"name": safeguard},
)