refactor(api): remove graph_database and is_graph_database_deleted from AttackPathsScan (#10077)

This commit is contained in:
Josema Camacho authored and GitHub committed 2026-02-16 12:46:49 +01:00
1 parent be516f1dfc
commit bb34f6cc3d
15 files changed
+76 -142

No files matched your search

-2
View File
@@ -1625,7 +1625,6 @@ def create_attack_paths_scan():
scan=None,
state=StateChoices.COMPLETED,
progress=0,
graph_database="tenant-db",
**extra_fields,
):
scan_instance = scan or Scan.objects.create(
@@ -1642,7 +1641,6 @@ def create_attack_paths_scan():
"scan": scan_instance,
"state": state,
"progress": progress,
"graph_database": graph_database,
}
payload.update(extra_fields)