From 65c443e8108cc920bf5051491ed0234df4fda24c Mon Sep 17 00:00:00 2001 From: Martin Strecker <103252490+martin-strecker-sonarsource@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:40:51 +0100 Subject: [PATCH] Update impact or defaultSeverity to match each other (#4444) * Update impact or defaultSeverity to match each other * Change S6776 * Update S6776 --- rules/S6667/metadata.json | 2 +- rules/S6668/metadata.json | 2 +- rules/S6669/metadata.json | 2 +- rules/S6670/metadata.json | 2 +- rules/S6672/metadata.json | 2 +- rules/S6674/metadata.json | 2 +- rules/S6675/metadata.json | 2 +- rules/S6776/metadata.json | 2 +- rules/S6798/csharp/metadata.json | 2 +- rules/S6800/csharp/metadata.json | 2 +- rules/S6930/metadata.json | 2 +- rules/S6931/metadata.json | 2 +- rules/S6932/csharp/metadata.json | 2 +- rules/S6934/metadata.json | 2 +- rules/S6960/metadata.json | 2 +- rules/S6964/metadata.json | 2 +- rules/S6967/metadata.json | 2 +- rules/S6968/csharp/metadata.json | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/rules/S6667/metadata.json b/rules/S6667/metadata.json index 36ae77f81d5..d2365a124c3 100644 --- a/rules/S6667/metadata.json +++ b/rules/S6667/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "MEDIUM" + "MAINTAINABILITY": "LOW" }, "attribute": "COMPLETE" }, diff --git a/rules/S6668/metadata.json b/rules/S6668/metadata.json index 2d9815b65a4..bfe7812cc17 100644 --- a/rules/S6668/metadata.json +++ b/rules/S6668/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "RELIABILITY": "MEDIUM" + "RELIABILITY": "LOW" }, "attribute": "LOGICAL" }, diff --git a/rules/S6669/metadata.json b/rules/S6669/metadata.json index 7aafe7cfa83..08986912cc5 100644 --- a/rules/S6669/metadata.json +++ b/rules/S6669/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "MEDIUM" + "MAINTAINABILITY": "LOW" }, "attribute": "CONVENTIONAL" }, diff --git a/rules/S6670/metadata.json b/rules/S6670/metadata.json index 669e4231e40..74f8c5fe9fd 100644 --- a/rules/S6670/metadata.json +++ b/rules/S6670/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "RELIABILITY": "MEDIUM" + "RELIABILITY": "LOW" }, "attribute": "LOGICAL" }, diff --git a/rules/S6672/metadata.json b/rules/S6672/metadata.json index ea51aecca44..a5b1cf8f380 100644 --- a/rules/S6672/metadata.json +++ b/rules/S6672/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "MEDIUM" + "MAINTAINABILITY": "LOW" }, "attribute": "CONVENTIONAL" }, diff --git a/rules/S6674/metadata.json b/rules/S6674/metadata.json index 0b91e8ddbda..9b89038acad 100644 --- a/rules/S6674/metadata.json +++ b/rules/S6674/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "MEDIUM" + "RELIABILITY": "HIGH" }, "attribute": "LOGICAL" }, diff --git a/rules/S6675/metadata.json b/rules/S6675/metadata.json index 11ef6f65118..b40390efe37 100644 --- a/rules/S6675/metadata.json +++ b/rules/S6675/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "MEDIUM" + "MAINTAINABILITY": "LOW" }, "attribute": "LOGICAL" }, diff --git a/rules/S6776/metadata.json b/rules/S6776/metadata.json index 47cd26d2991..b783f0ab937 100644 --- a/rules/S6776/metadata.json +++ b/rules/S6776/metadata.json @@ -8,7 +8,7 @@ }, "tags": [ ], - "defaultSeverity": "Major", + "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6776", "sqKey": "S6776", "scope": "All", diff --git a/rules/S6798/csharp/metadata.json b/rules/S6798/csharp/metadata.json index 33cd8322fb3..bb3ff81ab60 100644 --- a/rules/S6798/csharp/metadata.json +++ b/rules/S6798/csharp/metadata.json @@ -17,7 +17,7 @@ "quickfix": "infeasible", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "MEDIUM" }, "attribute": "LOGICAL" } diff --git a/rules/S6800/csharp/metadata.json b/rules/S6800/csharp/metadata.json index a1ce051a8f4..4ec76736793 100644 --- a/rules/S6800/csharp/metadata.json +++ b/rules/S6800/csharp/metadata.json @@ -17,7 +17,7 @@ "quickfix": "infeasible", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "MEDIUM" }, "attribute": "LOGICAL" } diff --git a/rules/S6930/metadata.json b/rules/S6930/metadata.json index 3458d163fde..e19a6f759db 100644 --- a/rules/S6930/metadata.json +++ b/rules/S6930/metadata.json @@ -19,7 +19,7 @@ "quickfix": "targeted", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "MEDIUM" }, "attribute": "LOGICAL" } diff --git a/rules/S6931/metadata.json b/rules/S6931/metadata.json index 1eca95cf662..b800792e4a9 100644 --- a/rules/S6931/metadata.json +++ b/rules/S6931/metadata.json @@ -19,7 +19,7 @@ "quickfix": "partial", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "MEDIUM" }, "attribute": "CLEAR" } diff --git a/rules/S6932/csharp/metadata.json b/rules/S6932/csharp/metadata.json index f4ccb751593..50190600c4d 100644 --- a/rules/S6932/csharp/metadata.json +++ b/rules/S6932/csharp/metadata.json @@ -17,7 +17,7 @@ "quickfix": "infeasible", "code": { "impacts": { - "MAINTAINABILITY": "HIGH", + "MAINTAINABILITY": "MEDIUM", "RELIABILITY": "MEDIUM", "SECURITY": "MEDIUM" }, diff --git a/rules/S6934/metadata.json b/rules/S6934/metadata.json index da9deaf5562..4fd75895d86 100644 --- a/rules/S6934/metadata.json +++ b/rules/S6934/metadata.json @@ -17,7 +17,7 @@ "quickfix": "partial", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "MEDIUM" }, "attribute": "CLEAR" } diff --git a/rules/S6960/metadata.json b/rules/S6960/metadata.json index 1558912db77..72ec04c17c4 100644 --- a/rules/S6960/metadata.json +++ b/rules/S6960/metadata.json @@ -18,7 +18,7 @@ "quickfix": "partial", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "MEDIUM" }, "attribute": "MODULAR" } diff --git a/rules/S6964/metadata.json b/rules/S6964/metadata.json index 9f1d7c0dda6..eefe94d99aa 100644 --- a/rules/S6964/metadata.json +++ b/rules/S6964/metadata.json @@ -17,7 +17,7 @@ "quickfix": "targeted", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "MEDIUM" }, "attribute": "TRUSTWORTHY" } diff --git a/rules/S6967/metadata.json b/rules/S6967/metadata.json index bc3ac135d2e..0a9f51639c9 100644 --- a/rules/S6967/metadata.json +++ b/rules/S6967/metadata.json @@ -9,7 +9,7 @@ "tags": [ "asp.net" ], - "defaultSeverity": "Major", + "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6967", "sqKey": "S6967", "scope": "All", diff --git a/rules/S6968/csharp/metadata.json b/rules/S6968/csharp/metadata.json index 6efdda55951..d7f483209a5 100644 --- a/rules/S6968/csharp/metadata.json +++ b/rules/S6968/csharp/metadata.json @@ -17,7 +17,7 @@ "quickfix": "partial", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "MEDIUM" }, "attribute": "CLEAR" }