mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
fix(logs): add check_name to logs (#1574)
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
.git/
|
|
||||||
.github/
|
|
||||||
|
|
||||||
# Ignore output directories
|
|
||||||
output/
|
|
||||||
junit-reports/
|
|
||||||
@@ -341,7 +341,7 @@ def execute_checks(
|
|||||||
sys.exit()
|
sys.exit()
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
|
f"{check_name} - {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
|
||||||
)
|
)
|
||||||
bar.title = f"-> {Fore.GREEN}Scan completed!{Style.RESET_ALL}"
|
bar.title = f"-> {Fore.GREEN}Scan completed!{Style.RESET_ALL}"
|
||||||
return all_findings
|
return all_findings
|
||||||
|
|||||||
@@ -14,6 +14,4 @@ cd ~/environment/ || exit
|
|||||||
# Prepare Prowler 3.0
|
# Prepare Prowler 3.0
|
||||||
git clone https://github.com/prowler-cloud/prowler
|
git clone https://github.com/prowler-cloud/prowler
|
||||||
cd prowler || exit
|
cd prowler || exit
|
||||||
git checkout prowler-3.0-dev
|
|
||||||
sudo pip3 install pipenv detect-secrets==1.0.3
|
|
||||||
pipenv install && pipenv shell
|
pipenv install && pipenv shell
|
||||||
|
|||||||
Reference in New Issue
Block a user