Skip to content

Commit

Permalink
feat(sast): remove the env var for Go (#6697)
Browse files Browse the repository at this point in the history
  • Loading branch information
omryMen authored Sep 1, 2024
1 parent 4aeeeba commit adf4a92
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions checkov/sast/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
import os
import sys

from checkov.common.util.type_forcers import convert_str_to_bool
from checkov.common.sast.consts import SastLanguages


from checkov.common.bridgecrew.check_type import CheckType
from checkov.common.bridgecrew.platform_integration import bc_integration
from checkov.common.output.report import Report
Expand Down Expand Up @@ -58,11 +54,6 @@ def run(self, root_folder: Optional[str],
bc_integration.setup_http_manager()
bc_integration.set_s3_client()

# Todo remove when golang is stable in platform
if not bool(convert_str_to_bool(os.getenv('ENABLE_SAST_GOLANG', False))):
if SastLanguages.GOLANG in runner_filter.sast_languages:
runner_filter.sast_languages.remove(SastLanguages.GOLANG)

# registry get all the paths
self.registry.set_runner_filter(runner_filter)
self.registry.add_external_dirs(external_checks_dir)
Expand Down

0 comments on commit adf4a92

Please sign in to comment.