-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbrakeman
More file actions
28 lines (28 loc) · 878 Bytes
/
brakeman
File metadata and controls
28 lines (28 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"ignored_warnings": [
{
"warning_type": "SQL Injection",
"warning_code": 0,
"fingerprint": "05636d40d833157e028a2fd9aecd6f263d7f3915f8ed3334a502e18763f1841d",
"check_name": "SQL",
"message": "Possible SQL injection",
"file": "lib/autorequire/data_import.rb",
"line": 148,
"link": "https://brakemanscanner.org/docs/warning_types/sql_injection/",
"code": "ActiveRecord::Base.connection.execute(\"SELECT setval('topics_id_seq', #{((Topic.maximum(:id) or 0) + 1)}, ?)\", false)",
"render_path": null,
"location": {
"type": "method",
"class": "DataImport",
"method": "s(:self).reset_topic_id_starting_value"
},
"user_input": "Topic.maximum(:id)",
"confidence": "High",
"cwe_id": [
89
],
"note": ""
}
],
"brakeman_version": "7.0.2"
}