fix: fix the batch writing when launching the CLI

This commit is contained in:
Adrián Jesús Peña Rodríguez committed 2025-02-18 14:27:43 +01:00
1 parent 79aded5aa3
commit 97d55d7aa7
11 files changed
+47 -21

No files matched your search

+1
View File
@@ -255,6 +255,7 @@ def generate_outputs(scan_id: str, provider_id: str, tenant_id: str):
findings=finding_outputs,
file_path=output_directory,
file_extension=config["suffix"],
from_cli=False,
)
writer.close_file = is_last_batch
output_writers[writer_class] = writer