Skip to content

Commit

Permalink
Create rule S6832: Spring beans should not be injected in an incompat…
Browse files Browse the repository at this point in the history
…ible scope
  • Loading branch information
ADarko22 committed Oct 23, 2023
1 parent 32feda9 commit 394b628
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rules/S6832/java/metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"title": "FIXME",
"title": "Spring beans should not be injected in an incompatible scope",
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "5min"
},
"tags": [
"spring"
],
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6832",
Expand All @@ -16,10 +17,8 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH",
"RELIABILITY": "MEDIUM",
"SECURITY": "LOW"
"RELIABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
"attribute": "LOGICAL"
}
}

0 comments on commit 394b628

Please sign in to comment.