Skip to content

Commit

Permalink
nit: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Jun 26, 2024
1 parent 695f026 commit a469a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions application/utils/gap_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def preload(target_url: str):
if res1.json().get("result"):
forward = True
if f"{sa}->{sb}" in waiting:
print(f"gap analysis {sa}->{sb} returned")
waiting.remove(f"{sa}->{sb}")
res2 = requests.get(
f"{target_url}/rest/v1/map_analysis?standard={sb}&standard={sa}"
Expand All @@ -143,6 +144,7 @@ def preload(target_url: str):
if res2.json().get("result"):
backward = True
if f"{sb}->{sa}" in waiting:
print(f"gap analysis {sb}->{sa} returned")
waiting.remove(f"{sb}->{sa}")
if forward and backward:
print(
Expand Down
2 changes: 1 addition & 1 deletion scripts/import-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [[ -z $CRE_SKIP_IMPORT_PROJECTS ]]; then
python cre.py --owasp_secure_headers_in
echo "Importing PCI DSS 4"
python cre.py --pci_dss_4_in
echo "Importing Juicshop"
echo "Importing Juiceshop"
python cre.py --juiceshop_in
echo "Importing DSOMM"
python cre.py --dsomm_in
Expand Down

0 comments on commit a469a0c

Please sign in to comment.