Set Log Level
There are different log levels depending on the logging information that is desired to be displayed:- DEBUG: It will show low-level logs from Python.
- INFO: It will show all the API calls that are being invoked by the provider.
- WARNING: It will show all resources that are being muted.
- ERROR: It will show any errors, e.g., not authorized actions.
- CRITICAL: The default log level. If a critical log appears, it will exit Prowler’s execution.
--log-level option:
By default, Prowler will run with the
CRITICAL log level, since critical errors will abort the execution.Export Logs to File
Prowler allows you to export the logs in json format with the--log-file option:
Each finding is represented as a
json object.
