Skip to content

Commit

Permalink
feat(sca): support java full dependency tree scan (#6834)
Browse files Browse the repository at this point in the history
support java full dep tree scan

Co-authored-by: oshimko <[email protected]>
  • Loading branch information
OfekShimko and oshimko authored Nov 18, 2024
1 parent ac769c3 commit 5476832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions checkov/common/util/env_vars_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def __init__(self) -> None:
self.CKV_SUPPORT_ALL_RESOURCE_TYPE = os.getenv('CKV_SUPPORT_ALL_RESOURCE_TYPE', False)
self.HCL_PARSE_TIMEOUT_SEC = force_int(os.getenv("HCL_PARSE_TIMEOUT_SEC", 10))
self.ENABLE_DOTNET_CPM = os.getenv('ENABLE_DOTNET_CPM', False)
self.JAVA_FULL_DT = os.getenv('JAVA_FULL_DT', False)


env_vars_config = EnvVarsConfig()
1 change: 1 addition & 0 deletions checkov/sca_package_2/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def run_scan(self) -> bool:
"id": bc_integration.timestamp,
"repositoryId": "",
"enableDotnetCpm": env_vars_config.ENABLE_DOTNET_CPM,
"enableJavaDynamicScanCli": env_vars_config.JAVA_FULL_DT,
}

response = request_wrapper(
Expand Down

0 comments on commit 5476832

Please sign in to comment.