File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed
lib/rubocop/eightyfourcodes Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- rubocop-eightyfourcodes (0.0.3 )
4+ rubocop-eightyfourcodes (0.0.4 )
55 rubocop (< 2 )
66
77GEM
Original file line number Diff line number Diff line change 1- # Write it!
2-
1+ ---
32EightyFourCodes/CommandLiteralInjection :
43 Description : " Do not include variables command literals"
54 Enabled : true
@@ -12,3 +11,33 @@ EightyFourCodes/EnsureRedirect:
1211 Description : " Checks for `redirect` from an `ensure` block"
1312 Enabled : true
1413 VersionAdded : " 0.0.3"
14+ GitlabSecurity/DeepMunge :
15+ Description : " Checks for disabling the deep munge security control."
16+ Enabled : true
17+ VersionAdded : " 0.0.4"
18+ GitlabSecurity/JsonSerialization :
19+ Description : " Checks for `to_json` / `as_json` without allowing via `only`."
20+ Enabled : true
21+ VersionAdded : " 0.0.4"
22+ GitlabSecurity/PublicSend :
23+ Description : " Checks for the use of `public_send`, `send`, and `__send__` methods."
24+ Enabled : true
25+ VersionAdded : " 0.0.4"
26+ GitlabSecurity/RedirectToParamsUpdate :
27+ Description : " Check for use of redirect_to(params.update())"
28+ Enabled : true
29+ VersionAdded : " 0.0.4"
30+ GitlabSecurity/SendFileParams :
31+ Description : " Check for use of send_file(..., params[], ...)"
32+ Enabled : true
33+ VersionAdded : " 0.0.4"
34+ GitlabSecurity/SqlInjection :
35+ Description : |
36+ Check for use of where("name = '#{params[:name]}'")"
37+ Enabled : true
38+ VersionAdded : " 0.0.4"
39+ GitlabSecurity/SystemCommandInjection :
40+ Description : |
41+ Check for use of system("/bin/ls #{params[:file]}")
42+ Enabled : true
43+ VersionAdded : " 0.0.4"
Original file line number Diff line number Diff line change 22
33module RuboCop
44 module EightyFourCodes
5- VERSION = '0.0.3 '
5+ VERSION = '0.0.4 '
66 end
77end
You can’t perform that action at this time.
0 commit comments