diff --git a/checkov/common/util/env_vars_config.py b/checkov/common/util/env_vars_config.py index 35471ba0879..f30345cb598 100644 --- a/checkov/common/util/env_vars_config.py +++ b/checkov/common/util/env_vars_config.py @@ -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() diff --git a/checkov/sca_package_2/scanner.py b/checkov/sca_package_2/scanner.py index d453ecb81a0..c8d5b419f20 100644 --- a/checkov/sca_package_2/scanner.py +++ b/checkov/sca_package_2/scanner.py @@ -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(