Automatically migrate all rules where defaultSeverity is Blocker and MQR is High

This commit is contained in:
Fred Tingaud 2025-02-13 18:38:11 +01:00 committed by Fred Tingaud
parent ea1ac05c78
commit 972b0e39c2
56 changed files with 103 additions and 195 deletions

View File

@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
@ -16,12 +16,8 @@
"obsolete"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Info",
"ruleSpecification": "RSPEC-1133",

View File

@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "INFO"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Info",
"ruleSpecification": "RSPEC-1135",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2076",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2078",

View File

@ -1,9 +1,9 @@
{
"title": "I\/O function calls should not be vulnerable to path injection attacks",
"title": "I/O function calls should not be vulnerable to path injection attacks",
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2083",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2091",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2115",

View File

@ -1,7 +1,7 @@
{
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2755",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -17,12 +17,8 @@
"sql"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-3649",

View File

@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
"MAINTAINABILITY": "LOW"
"MAINTAINABILITY": "INFO"
},
"attribute": "CONVENTIONAL"
},
@ -12,23 +12,15 @@
"func": "Constant\/Issue",
"constantCost": "0min"
},
"tags": [
],
"tags": [],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Info",
"ruleSpecification": "RSPEC-3688",
"sqKey": "S3688",
"scope": "All",
"defaultQualityProfiles": [
],
"defaultQualityProfiles": [],
"quickfix": "unknown"
}

View File

@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
"RELIABILITY": "HIGH"
"RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
@ -12,16 +12,10 @@
"func": "Constant\/Issue",
"constantCost": "1min"
},
"tags": [
],
"tags": [],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-4647",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5131",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5135",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5146",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5147",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5334",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-5696",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6096",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6105",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
@ -16,12 +16,8 @@
"android"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6384",

View File

@ -3,7 +3,7 @@
"type": "VULNERABILITY",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},
@ -16,12 +16,8 @@
"cwe"
],
"extra": {
"replacementRules": [
],
"legacyKeys": [
]
"replacementRules": [],
"legacyKeys": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6437",

View File

@ -11,9 +11,7 @@
"cert"
],
"extra": {
"replacementRules": [
]
"replacementRules": []
},
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6784",
@ -23,7 +21,7 @@
"quickfix": "infeasible",
"code": {
"impacts": {
"SECURITY": "HIGH"
"SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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