mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
feat(json-asff): add json-asff ouput (#1252)
* feat(json): add json output * feat(pydantic): add pydantic model to json output * feat(json-asff): add json-asff ouput * Update config/config.py Co-authored-by: Pepe Fagoaga <pepe@verica.io> * Update models.py * fix(comments): Resolve comments. Co-authored-by: sergargar <sergio@verica.io> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
@@ -12,5 +12,7 @@ aws_services_json_file = "providers/aws/aws_regions_by_service.json"
|
||||
|
||||
default_output_directory = getcwd() + "/output"
|
||||
|
||||
csv_file_suffix = timestamp.strftime("%Y%m%d%H%M%S") + ".csv"
|
||||
json_file_suffix = timestamp.strftime("%Y%m%d%H%M%S") + ".json"
|
||||
output_file_timestamp = timestamp.strftime("%Y%m%d%H%M%S")
|
||||
csv_file_suffix = f"{output_file_timestamp}.csv"
|
||||
json_file_suffix = f"{output_file_timestamp}.json"
|
||||
json_asff_file_suffix = f"{output_file_timestamp}.asff.json"
|
||||
|
||||
Reference in New Issue
Block a user