mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-19 18:04:17 +00:00
fix: fix the batch writing when launching the CLI
This commit is contained in:
1 parent
79aded5aa3
commit
97d55d7aa7
11 files changed
+47
-21
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user