Skip to content

Commit 72ea9d2

Browse files
committed
chore: brakeman.ignore のコンフリクト解消(Dynamic Render Path の警告を削除)
1 parent 3052d37 commit 72ea9d2

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

config/brakeman.ignore

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
11
{
22
"ignored_warnings": [
3-
{
4-
"warning_type": "Dynamic Render Path",
5-
"warning_code": 15,
6-
"fingerprint": "69b5a133fab8ea617d2581423cefaf077b9366e683c5fac715647bddeec7f50a",
7-
"check_name": "Render",
8-
"message": "Render path contains parameter value",
9-
"file": "app/controllers/sotechsha_pages_controller.rb",
10-
"line": 5,
11-
"link": "https://brakemanscanner.org/docs/warning_types/dynamic_render_path/",
12-
"code": "render(action => \"sotechsha_pages/#{params[:page]}\", {})",
13-
"render_path": null,
14-
"location": {
15-
"type": "method",
16-
"class": "SotechshaPagesController",
17-
"method": "show"
18-
},
19-
"user_input": "params[:page]",
20-
"confidence": "Medium",
21-
"cwe_id": [
22-
22
23-
],
24-
"note": ""
25-
},
263
{
274
"warning_type": "Cross-Site Scripting",
285
"warning_code": 4,
@@ -165,29 +142,6 @@
165142
],
166143
"note": ""
167144
},
168-
{
169-
"warning_type": "Dynamic Render Path",
170-
"warning_code": 15,
171-
"fingerprint": "c54623ebce2c2053b95088b9da8112aee962e7cadd79bd9b4b9afdedaddc15b1",
172-
"check_name": "Render",
173-
"message": "Render path contains parameter value",
174-
"file": "app/controllers/sotechsha2_pages_controller.rb",
175-
"line": 5,
176-
"link": "https://brakemanscanner.org/docs/warning_types/dynamic_render_path/",
177-
"code": "render(action => \"sotechsha2_pages/#{params[:page]}\", {})",
178-
"render_path": null,
179-
"location": {
180-
"type": "method",
181-
"class": "Sotechsha2PagesController",
182-
"method": "show"
183-
},
184-
"user_input": "params[:page]",
185-
"confidence": "Medium",
186-
"cwe_id": [
187-
22
188-
],
189-
"note": ""
190-
},
191145
{
192146
"warning_type": "Cross-Site Scripting",
193147
"warning_code": 2,

0 commit comments

Comments
 (0)