mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 23:05:05 +00:00
* 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>
19 lines
524 B
Python
19 lines
524 B
Python
from datetime import datetime
|
|
from os import getcwd
|
|
|
|
timestamp = datetime.today()
|
|
prowler_version = "3.0-alfa"
|
|
|
|
# Groups
|
|
groups_file = "groups.json"
|
|
|
|
# AWS services-regions matrix json
|
|
aws_services_json_file = "providers/aws/aws_regions_by_service.json"
|
|
|
|
default_output_directory = getcwd() + "/output"
|
|
|
|
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"
|