Skip to content

Commit 4ed48c3

Browse files
authored
Merge branch 'Tencent:main' into main
2 parents f95e2e1 + 0442502 commit 4ed48c3

4 files changed

Lines changed: 90 additions & 0 deletions

File tree

server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
"display_name": "SQLCheck",
55
"description": "Automatically identify anti-patterns in SQL queries.",
66
"license": "Apache2.0",
7+
"libscheme_set": [
8+
{
9+
"condition": null,
10+
"tool_libs": [
11+
{
12+
"name": "LINUX_GCC_5_4",
13+
"source": "system"
14+
},
15+
{
16+
"name": "LINUX_PYTHON37",
17+
"source": "system"
18+
}
19+
],
20+
"scheme_os": "linux",
21+
"default_flag": true
22+
}
23+
],
724
"task_processes": [
825
"analyze",
926
"datahandle"
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[
2+
{
3+
"name": "【NodeJs】强化安全规则包",
4+
"description": "针对Nodejs express的安全规则",
5+
"revision": null,
6+
"package_type": "official",
7+
"languages": [
8+
"js"
9+
],
10+
"labels": [
11+
"安全"
12+
],
13+
"checkrule_set": [
14+
{
15+
"checktool": "tca_ql_js",
16+
"checkrule": "express_codeinject",
17+
"severity": "fatal",
18+
"rule_params": null,
19+
"state": "enabled"
20+
},
21+
{
22+
"checktool": "tca_ql_js",
23+
"checkrule": "express_pathtraversal",
24+
"severity": "fatal",
25+
"rule_params": null,
26+
"state": "enabled"
27+
},
28+
{
29+
"checktool": "tca_ql_js",
30+
"checkrule": "express_urlrender",
31+
"severity": "fatal",
32+
"rule_params": null,
33+
"state": "enabled"
34+
},
35+
{
36+
"checktool": "tca_ql_js",
37+
"checkrule": "express_xss",
38+
"severity": "error",
39+
"rule_params": null,
40+
"state": "enabled"
41+
},
42+
{
43+
"checktool": "tca_ql_js",
44+
"checkrule": "express_xxe",
45+
"severity": "fatal",
46+
"rule_params": null,
47+
"state": "enabled"
48+
}
49+
],
50+
"open_saas": false,
51+
"envs": null
52+
}
53+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "LINUX_GCC_5_4",
3+
"scm_url": "https://git.code.tencent.com/TCA/tca-tools/linux-gcc-v5.4.0.git",
4+
"scm_type": "git",
5+
"envs": {
6+
"LD_LIBRARY_PATH": "$ROOT_DIR/lib64;$LD_LIBRARY_PATH"
7+
},
8+
"lib_os": "linux",
9+
"lib_type": "public"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "LINUX_GCC_5_4",
3+
"scm_url": "https://github.com/TCATools/linux-gcc-v5.4.0/releases/download/v20220906.1/gcc-v5.4.0.zip",
4+
"scm_type": "link",
5+
"envs": {
6+
"LD_LIBRARY_PATH": "$ROOT_DIR/lib64;$LD_LIBRARY_PATH"
7+
},
8+
"lib_os": "linux",
9+
"lib_type": "public"
10+
}

0 commit comments

Comments
 (0)