{ "ignored_warnings": [ { "warning_type": "Dynamic Render Path", "warning_code": 15, "fingerprint": "42478896b621fa561e9866e0bc1339d9864fea72109e83c02b194967272202cc", "check_name": "Render", "message": "Render path contains parameter value", "file": "app/views/tables/show.html.erb", "line": 17, "link": "https://brakemanscanner.org/docs/warning_types/dynamic_render_path/", "code": "render(action => Current.user.tables.find(params[:id]).characters, {})", "render_path": [ { "type": "controller", "class": "TablesController", "method": "show", "line": 12, "file": "app/controllers/tables_controller.rb", "rendered": { "name": "tables/show", "file": "app/views/tables/show.html.erb" } } ], "location": { "type": "template", "template": "tables/show" }, "user_input": "params[:id]", "confidence": "Weak", "cwe_id": [ 22 ], "note": "" }, { "warning_type": "Dynamic Render Path", "warning_code": 15, "fingerprint": "5e59ccbb20f360876317a1d7721a9b32bfae08b038943124e59179505c3325f8", "check_name": "Render", "message": "Render path contains parameter value", "file": "app/views/character_sheet_sections/index.html.erb", "line": 7, "link": "https://brakemanscanner.org/docs/warning_types/dynamic_render_path/", "code": "render(action => Current.user.characters.find(params[:character_id]).character_sheet_sections.top_level, {})", "render_path": [ { "type": "controller", "class": "CharacterSheetSectionsController", "method": "index", "line": 9, "file": "app/controllers/character_sheet_sections_controller.rb", "rendered": { "name": "character_sheet_sections/index", "file": "app/views/character_sheet_sections/index.html.erb" } } ], "location": { "type": "template", "template": "character_sheet_sections/index" }, "user_input": "params[:character_id]", "confidence": "Weak", "cwe_id": [ 22 ], "note": "" } ], "updated": "2024-06-06 14:18:01 +0100", "brakeman_version": "6.1.2" }