RULEAPI-834 Update rules where defaultSeverity is different from MQR (#4686)

This commit is contained in:
Nils Werner 2025-02-21 15:28:32 +01:00 committed by GitHub
parent 59fba4deac
commit 656f853238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
95 changed files with 96 additions and 96 deletions

View File

@ -10,7 +10,7 @@
"accessibility",
"react"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5254",
"sqKey": "S5254",
"scope": "All",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},

View File

@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
},

View File

@ -13,7 +13,7 @@
},
"tags": [
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6582",
"sqKey": "S6582",
"scope": "All",

View File

@ -23,7 +23,7 @@
]
},
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6660",
"sqKey": "S6660",
"scope": "All",

View File

@ -23,7 +23,7 @@
]
},
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6680",
"sqKey": "S6680",
"scope": "Main",

View File

@ -17,7 +17,7 @@
"quickfix": "covered",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "LOGICAL"

View File

@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "FORMATTED"

View File

@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -15,7 +15,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -7,7 +7,7 @@
"constantCost": "5min"
},
"tags": [],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6809",
"sqKey": "S6809",
"scope": "Main",

View File

@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -7,7 +7,7 @@
"constantCost": "5min"
},
"tags": [],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6814",
"sqKey": "S6814",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6816",
"sqKey": "S6816",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6817",
"sqKey": "S6817",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6818",
"sqKey": "S6818",
"scope": "Main",

View File

@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
}

View File

@ -18,7 +18,7 @@
"quickfix": "targeted",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6823",
"sqKey": "S6823",
"scope": "All",

View File

@ -18,7 +18,7 @@
"quickfix": "targeted",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6829",
"sqKey": "S6829",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6830",
"sqKey": "S6830",
"scope": "Main",

View File

@ -19,7 +19,7 @@
"quickfix": "targeted",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CLEAR"
}

View File

@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6845",
"sqKey": "S6845",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6846",
"sqKey": "S6846",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6847",
"sqKey": "S6847",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6848",
"sqKey": "S6848",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6851",
"sqKey": "S6851",
"scope": "All",
@ -17,7 +17,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"MAINTAINABILITY": "MEDIUM",
"RELIABILITY": "LOW"
},
"attribute": "CONVENTIONAL"

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6852",
"sqKey": "S6852",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"accessibility"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6853",
"sqKey": "S6853",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6857",
"sqKey": "S6857",
"scope": "Main",

View File

@ -10,7 +10,7 @@
"pitfall",
"paths"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6859",
"sqKey": "S6859",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6861",
"sqKey": "S6861",
"scope": "All",

View File

@ -18,7 +18,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"RELIABILITY": "LOW"
"RELIABILITY": "MEDIUM"
},
"attribute": "DISTINCT"
}

View File

@ -22,7 +22,7 @@
"code": {
"impacts": {
"MAINTAINABILITY": "LOW",
"SECURITY": "LOW"
"SECURITY": "MEDIUM"
},
"attribute": "COMPLETE"
}

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6869",
"sqKey": "S6869",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"java21"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6876",
"sqKey": "S6876",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"java21"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6877",
"sqKey": "S6877",
"scope": "Main",

View File

@ -9,7 +9,7 @@
"tags": [
"java21"
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6878",
"sqKey": "S6878",
"scope": "Main",

View File

@ -10,7 +10,7 @@
"java21",
"multi-threading"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6881",
"sqKey": "S6881",
"scope": "Main",

View File

@ -19,7 +19,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -19,7 +19,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -18,7 +18,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -19,7 +19,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -18,7 +18,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -20,7 +20,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -20,7 +20,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -18,7 +18,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -18,7 +18,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
}

View File

@ -18,7 +18,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "EFFICIENT"
}

View File

@ -10,7 +10,7 @@
"architecture",
"design"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7027",
"sqKey": "S7027",
"scope": "All",

View File

@ -17,7 +17,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "RESPECTFUL"
}

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "LOW"
"SECURITY": "MEDIUM"
},
"attribute": "COMPLETE"
},

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7047",
"sqKey": "S7047",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7049",
"sqKey": "S7049",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7051",
"sqKey": "S7051",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7052",
"sqKey": "S7052",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7054",
"sqKey": "S7054",
"scope": "All",

View File

@ -16,7 +16,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
}

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7059",
"sqKey": "S7059",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7062",
"sqKey": "S7062",
"scope": "All",

View File

@ -16,7 +16,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
}

View File

@ -16,7 +16,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "CONVENTIONAL"
}

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7067",
"sqKey": "S7067",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7068",
"sqKey": "S7068",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7069",
"sqKey": "S7069",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7071",
"sqKey": "S7071",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7078",
"sqKey": "S7078",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"performance"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7083",
"sqKey": "S7083",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7087",
"sqKey": "S7087",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7088",
"sqKey": "S7088",
"scope": "All",

View File

@ -10,7 +10,7 @@
"architecture",
"design"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7091",
"sqKey": "S7091",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"pitfall"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7094",
"sqKey": "S7094",
"scope": "All",

View File

@ -16,7 +16,7 @@
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "MEDIUM"
},
"attribute": "FORMATTED"
}

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7103",
"sqKey": "S7103",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"brain-overload"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7104",
"sqKey": "S7104",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Minor",
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-7105",
"sqKey": "S7105",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7108",
"sqKey": "S7108",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7109",
"sqKey": "S7109",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"performance"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7113",
"sqKey": "S7113",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7114",
"sqKey": "S7114",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"unpredictable"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7115",
"sqKey": "S7115",
"scope": "All",

View File

@ -8,7 +8,7 @@
},
"tags": [
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7120",
"sqKey": "S7120",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"performance"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7123",
"sqKey": "S7123",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"symbolic-execution"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7131",
"sqKey": "S7131",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"symbolic-execution"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7133",
"sqKey": "S7133",
"scope": "All",

View File

@ -10,7 +10,7 @@
"architecture",
"design"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7134",
"sqKey": "S7134",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7178",
"sqKey": "S7178",
"scope": "Main",

View File

@ -10,7 +10,7 @@
"data-science",
"pyspark"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7181",
"sqKey": "S7181",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7184",
"sqKey": "S7184",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7185",
"sqKey": "S7185",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7186",
"sqKey": "S7186",
"scope": "All",

View File

@ -9,7 +9,7 @@
"tags": [
"spring", "tests"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7190",
"sqKey": "S7190",
"scope": "Tests",

View File

@ -10,7 +10,7 @@
"architecture",
"design"
],
"defaultSeverity": "Major",
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-7197",
"sqKey": "S7197",
"scope": "All",