diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/0daychecker.json b/server/projects/main/apps/scan_conf/management/commands/open_source/0daychecker.json index 5efff106a..a6b903d7c 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/0daychecker.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/0daychecker.json @@ -10,7 +10,7 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "http://github.com/TCATools/codedog_0Day_checker/releases/download/v20220830/0daychecker.zip", + "scm_url": "0daychecker", "run_cmd": "./main.bin", "envs": null, "build_flag": false, diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/flawfinder.json b/server/projects/main/apps/scan_conf/management/commands/open_source/flawfinder.json index 2ebfb664e..f7bbdb344 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/flawfinder.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/flawfinder.json @@ -10,9 +10,9 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/flawfinder.git", - "run_cmd": "python main.py", - "envs": "PYTHON_HOME = $PYTHON37_HOME\nPATH = $PYTHON_HOME/bin:$PATH", + "scm_url": "flawfinder", + "run_cmd": "python3 main.py", + "envs": "", "build_flag": false, "checkrule_set": [ { diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/ktlint.json b/server/projects/main/apps/scan_conf/management/commands/open_source/ktlint.json index 3ddced9e2..dc650d3ea 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/ktlint.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/ktlint.json @@ -10,9 +10,9 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/custom-ktlint.git", + "scm_url": "custom-ktlint", "run_cmd": "python main.py", - "envs": "PYTHON_HOME = $PYTHON37_HOME\nPATH = $PYTHON_HOME/bin:$PATH", + "envs": "", "build_flag": false, "checkrule_set": [ { diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/kunlunM.json b/server/projects/main/apps/scan_conf/management/commands/open_source/kunlunM.json index 670b37c62..bba123b0c 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/kunlunM.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/kunlunM.json @@ -9,9 +9,9 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/common-kunlun.git", + "scm_url": "common-kunlun", "run_cmd": "python main.py", - "envs": "python_version = 3", + "envs": "", "build_flag": false, "checkrule_set": [ { diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/phpcs.json b/server/projects/main/apps/scan_conf/management/commands/open_source/phpcs.json index 60d1e9de4..8262115a6 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/phpcs.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/phpcs.json @@ -10,9 +10,9 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/custom-phpcs.git", + "scm_url": "custom-phpcs", "run_cmd": "python main.py", - "envs": "python_version=3", + "envs": "", "build_flag": false, "checkrule_set": [ { diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/rips.json b/server/projects/main/apps/scan_conf/management/commands/open_source/rips.json index cb38ee078..0cf446139 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/rips.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/rips.json @@ -10,7 +10,7 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/rips-scanner.git", + "scm_url": "rips-scanner", "run_cmd": "./php main.php", "envs": "", "build_flag": false, diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/semgrep.json b/server/projects/main/apps/scan_conf/management/commands/open_source/semgrep.json index e50462d9d..4450df5d1 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/semgrep.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/semgrep.json @@ -10,9 +10,9 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/custom-semgrep.git", + "scm_url": "custom-semgrep", "run_cmd": "python main.py", - "envs": "python_version = 3", + "envs": "", "build_flag": false, "checkrule_set": [ { diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/shellcheck.json b/server/projects/main/apps/scan_conf/management/commands/open_source/shellcheck.json index ed851942b..5a61cd027 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/shellcheck.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/shellcheck.json @@ -10,7 +10,7 @@ "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/shellcheck.git", + "scm_url": "shellcheck", "run_cmd": "python shellcheck.py", "envs": "", "build_flag": false, diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json b/server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json index 64273cbdf..09c997b7b 100644 --- a/server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json @@ -4,31 +4,14 @@ "display_name": "SQLCheck", "description": "Automatically identify anti-patterns in SQL queries.", "license": "Apache2.0", - "libscheme_set": [ - { - "condition": null, - "tool_libs": [ - { - "name": "LINUX_GCC_5_4", - "source": "system" - }, - { - "name": "LINUX_PYTHON37", - "source": "system" - } - ], - "scheme_os": "linux", - "default_flag": true - } - ], "task_processes": [ "analyze", "datahandle" ], "scan_app": "codelint", - "scm_url": "https://github.com/TCATools/tca_plugin_sqlcheck.git#main", + "scm_url": "tca_plugin_sqlcheck", "run_cmd": "python src/main.py scan", - "envs": "python_version = 3", + "envs": "", "build_flag": false, "checkrule_set": [ {