Skip to content

Commit 4bdef2a

Browse files
committed
🎨整理强化安全规则包,需要license
1 parent 74138a9 commit 4bdef2a

5 files changed

Lines changed: 405 additions & 0 deletions

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[
2+
{
3+
"name": "【Python】强化Djang框架安全规则",
4+
"description": "Djang框架安全规则,需要申请license",
5+
"revision": null,
6+
"package_type": "official",
7+
"languages": [
8+
"python"
9+
],
10+
"labels": [
11+
"安全"
12+
],
13+
"checkrule_set": [
14+
{
15+
"checktool": "tca_ql_python",
16+
"checkrule": "django_xss",
17+
"severity": "error",
18+
"rule_params": null,
19+
"state": "enabled"
20+
},
21+
{
22+
"checktool": "tca_ql_python",
23+
"checkrule": "django_rce",
24+
"severity": "error",
25+
"rule_params": null,
26+
"state": "enabled"
27+
},
28+
{
29+
"checktool": "tca_ql_python",
30+
"checkrule": "sql",
31+
"severity": "fatal",
32+
"rule_params": null,
33+
"state": "enabled"
34+
},
35+
{
36+
"checktool": "tca_ql_python",
37+
"checkrule": "url",
38+
"severity": "error",
39+
"rule_params": null,
40+
"state": "enabled"
41+
},
42+
{
43+
"checktool": "tca_ql_python",
44+
"checkrule": "ssrf",
45+
"severity": "error",
46+
"rule_params": null,
47+
"state": "enabled"
48+
},
49+
{
50+
"checktool": "tca_ql_python",
51+
"checkrule": "cmd",
52+
"severity": "fatal",
53+
"rule_params": null,
54+
"state": "enabled"
55+
},
56+
{
57+
"checktool": "tca_ql_python",
58+
"checkrule": "code",
59+
"severity": "error",
60+
"rule_params": null,
61+
"state": "enabled"
62+
}
63+
],
64+
"open_saas": true,
65+
"envs": null
66+
}
67+
]
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[
2+
{
3+
"name": "【Go】强化Go安全规则",
4+
"description": "Go安全规则,需要申请licesne使用",
5+
"revision": null,
6+
"package_type": "official",
7+
"languages": [
8+
"Go"
9+
],
10+
"labels": [
11+
"安全"
12+
],
13+
"checkrule_set": [
14+
{
15+
"checktool": "tca_ql_go",
16+
"checkrule": "cmd",
17+
"severity": "fatal",
18+
"rule_params": null,
19+
"state": "enabled"
20+
},
21+
{
22+
"checktool": "tca_ql_go",
23+
"checkrule": "path_traversal",
24+
"severity": "error",
25+
"rule_params": null,
26+
"state": "enabled"
27+
},
28+
{
29+
"checktool": "tca_ql_go",
30+
"checkrule": "text_template_xss",
31+
"severity": "fatal",
32+
"rule_params": null,
33+
"state": "enabled"
34+
},
35+
{
36+
"checktool": "tca_ql_go",
37+
"checkrule": "sql",
38+
"severity": "error",
39+
"rule_params": null,
40+
"state": "enabled"
41+
},
42+
{
43+
"checktool": "tca_ql_go",
44+
"checkrule": "ssrf",
45+
"severity": "error",
46+
"rule_params": null,
47+
"state": "enabled"
48+
},
49+
{
50+
"checktool": "tca_ql_go",
51+
"checkrule": "xss",
52+
"severity": "error",
53+
"rule_params": null,
54+
"state": "enabled"
55+
}
56+
],
57+
"open_saas": true,
58+
"envs": null
59+
}
60+
]
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
[
2+
{
3+
"name": "【PHP】强化PHP安全规则",
4+
"description": "PHP安全规则,需要申请licesne使用",
5+
"revision": null,
6+
"package_type": "official",
7+
"languages": [
8+
"php"
9+
],
10+
"labels": [
11+
"安全"
12+
],
13+
"checkrule_set": [
14+
{
15+
"checktool": "tca_ql_php",
16+
"checkrule": "cmd",
17+
"severity": "fatal",
18+
"rule_params": null,
19+
"state": "enabled"
20+
},
21+
{
22+
"checktool": "tca_ql_php",
23+
"checkrule": "code",
24+
"severity": "error",
25+
"rule_params": null,
26+
"state": "enabled"
27+
},
28+
{
29+
"checktool": "tca_ql_php",
30+
"checkrule": "deser",
31+
"severity": "fatal",
32+
"rule_params": null,
33+
"state": "enabled"
34+
},
35+
{
36+
"checktool": "tca_ql_php",
37+
"checkrule": "file_inclusion",
38+
"severity": "error",
39+
"rule_params": null,
40+
"state": "enabled"
41+
},
42+
{
43+
"checktool": "tca_ql_php",
44+
"checkrule": "http",
45+
"severity": "error",
46+
"rule_params": null,
47+
"state": "enabled"
48+
},
49+
{
50+
"checktool": "tca_ql_php",
51+
"checkrule": "ldap_injection",
52+
"severity": "fatal",
53+
"rule_params": null,
54+
"state": "enabled"
55+
},
56+
{
57+
"checktool": "tca_ql_php",
58+
"checkrule": "reflectioni",
59+
"severity": "error",
60+
"rule_params": null,
61+
"state": "enabled"
62+
},
63+
{
64+
"checktool": "tca_ql_php",
65+
"checkrule": "session",
66+
"severity": "error",
67+
"rule_params": null,
68+
"state": "enabled"
69+
},
70+
{
71+
"checktool": "tca_ql_php",
72+
"checkrule": "sql",
73+
"severity": "error",
74+
"rule_params": null,
75+
"state": "enabled"
76+
},
77+
{
78+
"checktool": "tca_ql_php",
79+
"checkrule": "phpinfo",
80+
"severity": "warning",
81+
"rule_params": null,
82+
"state": "enabled"
83+
},
84+
{
85+
"checktool": "tca_ql_php",
86+
"checkrule": "ssrf",
87+
"severity": "error",
88+
"rule_params": null,
89+
"state": "enabled"
90+
},
91+
{
92+
"checktool": "tca_ql_php",
93+
"checkrule": "xss",
94+
"severity": "error",
95+
"rule_params": null,
96+
"state": "enabled"
97+
}
98+
],
99+
"open_saas": true,
100+
"envs": null
101+
}
102+
]
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
[
2+
{
3+
"name": "【Python】强化Python安全规则",
4+
"description": "Python安全规则,需要申请licesne使用",
5+
"revision": null,
6+
"package_type": "official",
7+
"languages": [
8+
"python"
9+
],
10+
"labels": [
11+
"安全"
12+
],
13+
"checkrule_set": [
14+
{
15+
"checktool": "tca_ql_python",
16+
"checkrule": "cmd",
17+
"severity": "fatal",
18+
"rule_params": null,
19+
"state": "enabled"
20+
},
21+
{
22+
"checktool": "tca_ql_python",
23+
"checkrule": "code",
24+
"severity": "error",
25+
"rule_params": null,
26+
"state": "enabled"
27+
},
28+
{
29+
"checktool": "tca_ql_python",
30+
"checkrule": "deser",
31+
"severity": "fatal",
32+
"rule_params": null,
33+
"state": "enabled"
34+
},
35+
{
36+
"checktool": "tca_ql_python",
37+
"checkrule": "url",
38+
"severity": "error",
39+
"rule_params": null,
40+
"state": "enabled"
41+
},
42+
{
43+
"checktool": "tca_ql_python",
44+
"checkrule": "http",
45+
"severity": "error",
46+
"rule_params": null,
47+
"state": "enabled"
48+
},
49+
{
50+
"checktool": "tca_ql_python",
51+
"checkrule": "ldap_injection",
52+
"severity": "fatal",
53+
"rule_params": null,
54+
"state": "enabled"
55+
},
56+
{
57+
"checktool": "tca_ql_python",
58+
"checkrule": "reflectioni",
59+
"severity": "error",
60+
"rule_params": null,
61+
"state": "enabled"
62+
},
63+
{
64+
"checktool": "tca_ql_python",
65+
"checkrule": "xml",
66+
"severity": "error",
67+
"rule_params": null,
68+
"state": "enabled"
69+
},
70+
{
71+
"checktool": "tca_ql_python",
72+
"checkrule": "sql",
73+
"severity": "error",
74+
"rule_params": null,
75+
"state": "enabled"
76+
},
77+
{
78+
"checktool": "tca_ql_python",
79+
"checkrule": "ssrf",
80+
"severity": "error",
81+
"rule_params": null,
82+
"state": "enabled"
83+
},
84+
{
85+
"checktool": "tca_ql_python",
86+
"checkrule": "xss",
87+
"severity": "error",
88+
"rule_params": null,
89+
"state": "enabled"
90+
}
91+
],
92+
"open_saas": true,
93+
"envs": null
94+
}
95+
]

0 commit comments

Comments
 (0)