Skip to content

Commit

Permalink
feat(sca): skipping finding IsPrivateFixVersion by default (#4648)
Browse files Browse the repository at this point in the history
fsd

Co-authored-by: ipeleg <ipeleg@paloaltonetworks.com>
  • Loading branch information
itai1357 and ipeleg committed Mar 14, 2023
1 parent dcd4f1a commit d273c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checkov/common/util/http_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def request_wrapper(
time.sleep(sleep_secs)
continue

logging.exception("request_wrapper http error")
logging.error("request_wrapper http error", exc_info=True)
raise http_error
else:
raise Exception("Unexpected behavior: the method \'request_wrapper\' should be terminated inside the above for-"
Expand Down
3 changes: 2 additions & 1 deletion checkov/sca_package_2/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def run_scan(self) -> bool:
"path": bc_integration.repo_path,
"repoId": bc_integration.repo_id,
"id": bc_integration.timestamp,
"repositoryId": ""
"repositoryId": "",
"skipIsPrivateFixVersion": True
}

response = request_wrapper(
Expand Down

0 comments on commit d273c35

Please sign in to comment.