Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1065",
"sqKey": "S1065",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"MSC12-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"OWASP": [
"A3"
],
"CERT": [
"ERR02-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>Noncompliant Code Example</h2>
<pre>
public class Foo {
public Collection&lt;User&gt; listUsers() {
File userList = new File("/home/mylogin/Dev/users.txt"); // Non-Compliant
File userList = new File("/home/mylogin/Dev/users.txt"); // Noncompliant
Collection&lt;User&gt; users = parse(userList);
return users;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-1075",
"sqKey": "S1075",
"scope": "Main"
"scope": "Main",
"securityStandards": {
"CERT": [
"MSC03-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
586
],
"CERT": [
"MET12-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-1113",
"sqKey": "ObjectFinalizeOverridenCheck",
"scope": "Main"
"scope": "Main",
"securityStandards": {
"CERT": [
"MET12-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
568
],
"CERT": [
"MET12-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-1116",
"sqKey": "S1116",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"MSC12-C.",
"MSC51-J.",
"EXP15-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1117",
"sqKey": "S1117",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"DCL51-J.",
"DCL01-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"securityStandards": {
"CWE": [
481
],
"CERT": [
"EXP45-C.",
"EXP51-J.",
"EXP19-CPP."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
397
],
"CERT": [
"ERR07-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
584
],
"CERT": [
"ERR04-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
382
],
"CERT": [
"ERR09-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-1163",
"sqKey": "S1163",
"scope": "Main"
"scope": "Main",
"securityStandards": {
"CERT": [
"ERR05-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
],
"OWASP": [
"A10"
],
"CERT": [
"ERR00-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1168",
"sqKey": "S1168",
"scope": "Main"
"scope": "Main",
"securityStandards": {
"CERT": [
"MSC19-C.",
"MET55-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1172",
"sqKey": "S1172",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"MSC12-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
583
],
"CERT": [
"MET12-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<li> All parameters documented with <code>@param</code>, and names should match. </li>
<li> All checked exceptions documented with <code>@throws</code> </li>
<li> <code>@return</code> present and documented when not <code>void</code>. </li>
<li> Placeholders like "TODO", "FIXME", "..." should be avoided. </li>
<li> Placeholders like <code>"TODO"</code>, <code>"FIXME"</code>, <code>"..."</code> should be avoided. </li>
</ul>
<p>The following public methods and constructors are not taken into account by this rule:</p>
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"securityStandards": {
"CWE": [
396
],
"CERT": [
"ERR08-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
580
],
"CERT": [
"MET53-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1193",
"sqKey": "S1193",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"ERR51-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
581
],
"CERT": [
"MET09-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
572
],
"CERT": [
"THI00-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-121",
"sqKey": "S121",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"EXP19-C.",
"EXP52-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-126",
"sqKey": "S126",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"MSC01-C.",
"MSC57-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"securityStandards": {
"CWE": [
484
],
"CERT": [
"MSC17-C.",
"MSC52-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"OWASP": [
"A3"
],
"CERT": [
"MSC03-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-1314",
"sqKey": "S1314",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"DCL18-C.",
"DCL50-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
478
],
"CERT": [
"MSC01-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"securityStandards": {
"CWE": [
500
],
"CERT": [
"OBJ10-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-1449",
"sqKey": "S1449",
"scope": "Main"
"scope": "Main",
"securityStandards": {
"CERT": [
"STR02-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-1656",
"sqKey": "S1656",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"MSC12-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-1659",
"sqKey": "S1659",
"scope": "All"
"scope": "All",
"securityStandards": {
"CERT": [
"DCL52-J.",
"DCL04-C."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"securityStandards": {
"CWE": [
395
],
"CERT": [
"ERR08-J."
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"CWE": [
595,
597
],
"CERT": [
"EXP03-J.",
"EXP50-J."
]
}
}
Loading