Skip to content

Commit a04e36a

Browse files
authored
Bump rubocop-eightyfourcodes version to 0.0.4 (#17)
1 parent e550a1c commit a04e36a

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rubocop-eightyfourcodes (0.0.3)
4+
rubocop-eightyfourcodes (0.0.4)
55
rubocop (< 2)
66

77
GEM

config/default.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Write it!
2-
1+
---
32
EightyFourCodes/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"

lib/rubocop/eightyfourcodes/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module RuboCop
44
module EightyFourCodes
5-
VERSION = '0.0.3'
5+
VERSION = '0.0.4'
66
end
77
end

0 commit comments

Comments
 (0)