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 18ab48e6c..64273cbdf 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,6 +4,23 @@ "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" diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source_tgit_toollib/linux_gcc_5_4.json b/server/projects/main/apps/scan_conf/management/commands/open_source_tgit_toollib/linux_gcc_5_4.json new file mode 100644 index 000000000..8c1e0c3e3 --- /dev/null +++ b/server/projects/main/apps/scan_conf/management/commands/open_source_tgit_toollib/linux_gcc_5_4.json @@ -0,0 +1,10 @@ +{ + "name": "LINUX_GCC_5_4", + "scm_url": "https://git.code.tencent.com/TCA/tca-tools/linux-gcc-v5.4.0.git", + "scm_type": "git", + "envs": { + "LD_LIBRARY_PATH": "$ROOT_DIR/lib64;$LD_LIBRARY_PATH" + }, + "lib_os": "linux", + "lib_type": "public" +} \ No newline at end of file diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source_toollib/linux_gcc_5_4.json b/server/projects/main/apps/scan_conf/management/commands/open_source_toollib/linux_gcc_5_4.json new file mode 100644 index 000000000..315624b7f --- /dev/null +++ b/server/projects/main/apps/scan_conf/management/commands/open_source_toollib/linux_gcc_5_4.json @@ -0,0 +1,10 @@ +{ + "name": "LINUX_GCC_5_4", + "scm_url": "https://github.com/TCATools/linux-gcc-v5.4.0/releases/download/v20220906.1/gcc-v5.4.0.zip", + "scm_type": "link", + "envs": { + "LD_LIBRARY_PATH": "$ROOT_DIR/lib64;$LD_LIBRARY_PATH" + }, + "lib_os": "linux", + "lib_type": "public" +} \ No newline at end of file