diff --git a/docs/metadata.adoc b/docs/metadata.adoc index a34fcd15c86..7d175bcb4a0 100644 --- a/docs/metadata.adoc +++ b/docs/metadata.adoc @@ -40,6 +40,6 @@ You can update the quickfix field using this GitHub Workflow: https://github.com The code field is an object that contains information related to the clean code taxonomy. It is an object with two required properties: -* `impacts`: A nested object that is treated as a mapping from a software quality to a level (`"LOW"`, `"MEDIUM"` or `"HIGH"`). Note that at least one software quality has to be specified. The current list of allowed software qualities is `"MAINTAINABILITY"`, `"RELIABILITY"` and `"SECURITY"`. +* `impacts`: A nested object that is treated as a mapping from a software quality to a level (`"INFO"`, `"LOW"`, `"MEDIUM"`, `"HIGH"` or `"BLOCKER"`). Note that at least one software quality has to be specified. The current list of allowed software qualities is `"MAINTAINABILITY"`, `"RELIABILITY"` and `"SECURITY"`. * `attribute`: A single clean code attribute that the rule aims to achieve. This has to be one of the following values: `"FORMATTED"`, `"CONVENTIONAL"`, `"IDENTIFIABLE"`, `"CLEAR"`, `"LOGICAL"`, `"COMPLETE"`, `"EFFICIENT"`, `"FOCUSED"`, `"DISTINCT"`, `"MODULAR"`, `"TESTED"`, `"LAWFUL"`, `"TRUSTWORTHY"`, `"RESPECTFUL"`. diff --git a/rspec-tools/rspec_tools/validation/rule-metadata-schema.json b/rspec-tools/rspec_tools/validation/rule-metadata-schema.json index 212818f5c77..18fceff5ee8 100644 --- a/rspec-tools/rspec_tools/validation/rule-metadata-schema.json +++ b/rspec-tools/rspec_tools/validation/rule-metadata-schema.json @@ -267,15 +267,15 @@ "properties": { "MAINTAINABILITY": { "type": "string", - "enum": ["LOW", "MEDIUM", "HIGH"] + "enum": ["INFO", "LOW", "MEDIUM", "HIGH", "BLOCKER"] }, "RELIABILITY": { "type": "string", - "enum": ["LOW", "MEDIUM", "HIGH"] + "enum": ["INFO", "LOW", "MEDIUM", "HIGH", "BLOCKER"] }, "SECURITY": { "type": "string", - "enum": ["LOW", "MEDIUM", "HIGH"] + "enum": ["INFO", "LOW", "MEDIUM", "HIGH", "BLOCKER"] } } }, diff --git a/rspec-tools/tests/validation/test_metadata_validation.py b/rspec-tools/tests/validation/test_metadata_validation.py index 87d25427d5a..e525b39d677 100644 --- a/rspec-tools/tests/validation/test_metadata_validation.py +++ b/rspec-tools/tests/validation/test_metadata_validation.py @@ -82,7 +82,7 @@ def test_rule_with_invalid_impacts(invalid_rules: RulesRepository): def test_rule_with_invalid_impact_level(invalid_rules: RulesRepository): s506 = invalid_rules.get_rule('S506') - with pytest.raises(RuleValidationError, match=re.escape("Rule S506 failed validation for these reasons:\n - Rule scala:S506 has invalid metadata in MAINTAINABILITY: 'INVALID' is not one of ['LOW', 'MEDIUM', 'HIGH']")): + with pytest.raises(RuleValidationError, match=re.escape("Rule S506 failed validation for these reasons:\n - Rule scala:S506 has invalid metadata in MAINTAINABILITY: 'INVALID' is not one of ['INFO', 'LOW', 'MEDIUM', 'HIGH', 'BLOCKER']")): validate_rule_metadata(s506) diff --git a/rules/S1032/cfamily/metadata.json b/rules/S1032/cfamily/metadata.json index 336c9a190f8..9730fd0059b 100644 --- a/rules/S1032/cfamily/metadata.json +++ b/rules/S1032/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,19 +17,13 @@ "based-on-misra" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1032", "sqKey": "S1032", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1036/cfamily/metadata.json b/rules/S1036/cfamily/metadata.json index 1b1a972b491..c5de7df80b0 100644 --- a/rules/S1036/cfamily/metadata.json +++ b/rules/S1036/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -19,12 +19,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1036", diff --git a/rules/S1048/csharp/metadata.json b/rules/S1048/csharp/metadata.json index 1a385910efb..7f94eb8fb1e 100644 --- a/rules/S1048/csharp/metadata.json +++ b/rules/S1048/csharp/metadata.json @@ -2,7 +2,7 @@ "title": "Finalizers should not throw exceptions", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S1048/vbnet/metadata.json b/rules/S1048/vbnet/metadata.json index 61023668772..e9440f22ce0 100644 --- a/rules/S1048/vbnet/metadata.json +++ b/rules/S1048/vbnet/metadata.json @@ -2,7 +2,7 @@ "title": "Finalize method should not throw exceptions", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S1058/plsql/metadata.json b/rules/S1058/plsql/metadata.json index 613fd0eb4e4..4e0b9a53f6a 100644 --- a/rules/S1058/plsql/metadata.json +++ b/rules/S1058/plsql/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,13 +12,9 @@ "func": "Constant\/Issue", "constantCost": "30min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "PipelinedFunctionsWithoutPipeRow" ] diff --git a/rules/S1069/metadata.json b/rules/S1069/metadata.json index 7522076aed1..6a30b9dc6b8 100644 --- a/rules/S1069/metadata.json +++ b/rules/S1069/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1069", diff --git a/rules/S1074/plsql/metadata.json b/rules/S1074/plsql/metadata.json index 80e0ed55d7a..54b0c65f9d4 100644 --- a/rules/S1074/plsql/metadata.json +++ b/rules/S1074/plsql/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,13 +12,9 @@ "func": "Constant\/Issue", "constantCost": "1h" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "ForallStatementShouldUseSaveExceptionsClause" ] diff --git a/rules/S1139/metadata.json b/rules/S1139/metadata.json index d7b0587d27e..c387ced5596 100644 --- a/rules/S1139/metadata.json +++ b/rules/S1139/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1139", diff --git a/rules/S1147/metadata.json b/rules/S1147/metadata.json index 746c4c5d6dc..71677b3ea68 100644 --- a/rules/S1147/metadata.json +++ b/rules/S1147/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1147", @@ -33,8 +29,6 @@ 382 ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1190/java/metadata.json b/rules/S1190/java/metadata.json index 5a14ff46d62..1ced5968767 100644 --- a/rules/S1190/java/metadata.json +++ b/rules/S1190/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, diff --git a/rules/S1219/metadata.json b/rules/S1219/metadata.json index 538db302313..35b373a6fad 100644 --- a/rules/S1219/metadata.json +++ b/rules/S1219/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1219", diff --git a/rules/S1232/cfamily/metadata.json b/rules/S1232/cfamily/metadata.json index acac097a8f6..270a9899e94 100644 --- a/rules/S1232/cfamily/metadata.json +++ b/rules/S1232/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1232", diff --git a/rules/S128/metadata.json b/rules/S128/metadata.json index 5e471db837e..76d2e2c034e 100644 --- a/rules/S128/metadata.json +++ b/rules/S128/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,9 +17,7 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "non-empty-case-without-break", "NonEmptyCaseWithoutBreak" diff --git a/rules/S1309/metadata.json b/rules/S1309/metadata.json index ae68b1aebda..29a08080ca8 100644 --- a/rules/S1309/metadata.json +++ b/rules/S1309/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CLEAR" }, @@ -12,23 +12,15 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Info", "ruleSpecification": "RSPEC-1309", "sqKey": "S1309", "scope": "All", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S131/pli/metadata.json b/rules/S131/pli/metadata.json index 026bac6f092..131662a6792 100644 --- a/rules/S131/pli/metadata.json +++ b/rules/S131/pli/metadata.json @@ -2,7 +2,7 @@ "title": "\"SELECT\" statements should end with \"OTHERWISE\" statements", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, diff --git a/rules/S1314/metadata.json b/rules/S1314/metadata.json index de0921d5728..61c3edfc1a3 100644 --- a/rules/S1314/metadata.json +++ b/rules/S1314/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "OctalConstantAndSequence", "OctalNumber" diff --git a/rules/S1446/flex/metadata.json b/rules/S1446/flex/metadata.json index 88ce1135729..72ca59c3686 100644 --- a/rules/S1446/flex/metadata.json +++ b/rules/S1446/flex/metadata.json @@ -3,13 +3,13 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, "status": "deprecated", "remediation": { - "func": "Constant/Issue", + "func": "Constant\/Issue", "constantCost": "30min" }, "tags": [], @@ -23,4 +23,4 @@ "scope": "Main", "defaultQualityProfiles": [], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S1451/metadata.json b/rules/S1451/metadata.json index a1ba31b2b8b..695b64b8c0e 100644 --- a/rules/S1451/metadata.json +++ b/rules/S1451/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LAWFUL" }, @@ -12,13 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "COBOL.HeaderCheck" ] diff --git a/rules/S1466/flex/metadata.json b/rules/S1466/flex/metadata.json index 2506c67f2c8..dc5917a5e27 100644 --- a/rules/S1466/flex/metadata.json +++ b/rules/S1466/flex/metadata.json @@ -3,13 +3,13 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, "status": "deprecated", "remediation": { - "func": "Constant/Issue", + "func": "Constant\/Issue", "constantCost": "10min" }, "tags": [], @@ -23,4 +23,4 @@ "scope": "Main", "defaultQualityProfiles": [], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S1468/flex/metadata.json b/rules/S1468/flex/metadata.json index f1e6d33ac97..dccff6f0b6a 100644 --- a/rules/S1468/flex/metadata.json +++ b/rules/S1468/flex/metadata.json @@ -3,13 +3,13 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, "status": "deprecated", "remediation": { - "func": "Constant/Issue", + "func": "Constant\/Issue", "constantCost": "10min" }, "tags": [], @@ -23,4 +23,4 @@ "scope": "Main", "defaultQualityProfiles": [], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S1469/flex/metadata.json b/rules/S1469/flex/metadata.json index 9a3e23e8422..705baca0940 100644 --- a/rules/S1469/flex/metadata.json +++ b/rules/S1469/flex/metadata.json @@ -3,13 +3,13 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, "status": "deprecated", "remediation": { - "func": "Constant/Issue", + "func": "Constant\/Issue", "constantCost": "5min" }, "tags": [], @@ -23,4 +23,4 @@ "scope": "Main", "defaultQualityProfiles": [], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S1493/metadata.json b/rules/S1493/metadata.json index 2bd81fe977a..0c043a0b385 100644 --- a/rules/S1493/metadata.json +++ b/rules/S1493/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "sql" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "SQL.DynamicSqlCheck" ] diff --git a/rules/S1496/abap/metadata.json b/rules/S1496/abap/metadata.json index 0d7422bbe3f..6199ef9aa70 100644 --- a/rules/S1496/abap/metadata.json +++ b/rules/S1496/abap/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1496", diff --git a/rules/S1508/abap/metadata.json b/rules/S1508/abap/metadata.json index 96af3e2cbe5..b362e60e602 100644 --- a/rules/S1508/abap/metadata.json +++ b/rules/S1508/abap/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,12 +16,8 @@ "lock-in" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1508", diff --git a/rules/S1526/javascript/metadata.json b/rules/S1526/javascript/metadata.json index a8ccf5545fb..fda0f7f4b03 100644 --- a/rules/S1526/javascript/metadata.json +++ b/rules/S1526/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "VariableDeclarationAfterUsage" ] @@ -27,8 +25,6 @@ "ruleSpecification": "RSPEC-1526", "sqKey": "S1526", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1527/metadata.json b/rules/S1527/metadata.json index 21bc64249a1..735bc8a8d8a 100644 --- a/rules/S1527/metadata.json +++ b/rules/S1527/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1527", diff --git a/rules/S1590/metadata.json b/rules/S1590/metadata.json index ab07d8cb49b..a2ff14e6f8e 100644 --- a/rules/S1590/metadata.json +++ b/rules/S1590/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,9 +16,7 @@ "sql" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "DeleteOrUpdateWithoutWhereCheck" ] diff --git a/rules/S1599/php/metadata.json b/rules/S1599/php/metadata.json index 950720be7a8..e0304baf812 100644 --- a/rules/S1599/php/metadata.json +++ b/rules/S1599/php/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "brain-overload" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1599", diff --git a/rules/S1614/metadata.json b/rules/S1614/metadata.json index 5b1e2f75b4b..79352901f3d 100644 --- a/rules/S1614/metadata.json +++ b/rules/S1614/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,19 +16,13 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1614", "sqKey": "S1614", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1657/vb6/metadata.json b/rules/S1657/vb6/metadata.json index 0b260a72872..991578099ae 100644 --- a/rules/S1657/vb6/metadata.json +++ b/rules/S1657/vb6/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1657", diff --git a/rules/S1669/metadata.json b/rules/S1669/metadata.json index ffda43a6be3..ab06b574c65 100644 --- a/rules/S1669/metadata.json +++ b/rules/S1669/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "LanguageKeywordUsage" ] diff --git a/rules/S1760/cfamily/metadata.json b/rules/S1760/cfamily/metadata.json index 9d3f201a4e5..9a83fc009cb 100644 --- a/rules/S1760/cfamily/metadata.json +++ b/rules/S1760/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,12 +16,8 @@ "lock-in" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1760", diff --git a/rules/S1799/php/metadata.json b/rules/S1799/php/metadata.json index 2ae347ee8ec..fd81decfae1 100644 --- a/rules/S1799/php/metadata.json +++ b/rules/S1799/php/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -12,23 +12,15 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1799", "sqKey": "S1799", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1845/metadata.json b/rules/S1845/metadata.json index 61897d9d28d..d6f3c9265b8 100644 --- a/rules/S1845/metadata.json +++ b/rules/S1845/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "IDENTIFIABLE" }, @@ -16,12 +16,8 @@ "confusing" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1845", diff --git a/rules/S1909/metadata.json b/rules/S1909/metadata.json index fd8c7f168c7..c761acd2f45 100644 --- a/rules/S1909/metadata.json +++ b/rules/S1909/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,9 +17,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "GotoLabelInNestedBlock" ] diff --git a/rules/S1912/cfamily/metadata.json b/rules/S1912/cfamily/metadata.json index 53d3d45a91b..6ffb52a6900 100644 --- a/rules/S1912/cfamily/metadata.json +++ b/rules/S1912/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,9 +16,7 @@ "multi-threading" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "NonReentrantFunction" ] diff --git a/rules/S1914/cfamily/metadata.json b/rules/S1914/cfamily/metadata.json index d028eb54ea9..7f05a0ea23a 100644 --- a/rules/S1914/cfamily/metadata.json +++ b/rules/S1914/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "LOGICAL" }, @@ -12,13 +12,9 @@ "func": "Constant\/Issue", "constantCost": "0min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "PPErrorDirectiveReached" ] @@ -27,8 +23,6 @@ "ruleSpecification": "RSPEC-1914", "sqKey": "S1914", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S1967/cobol/metadata.json b/rules/S1967/cobol/metadata.json index 208df300786..f3e2daab600 100644 --- a/rules/S1967/cobol/metadata.json +++ b/rules/S1967/cobol/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1967", diff --git a/rules/S1969/cobol/metadata.json b/rules/S1969/cobol/metadata.json index d205a683707..f169590c5ce 100644 --- a/rules/S1969/cobol/metadata.json +++ b/rules/S1969/cobol/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1969", diff --git a/rules/S2007/metadata.json b/rules/S2007/metadata.json index 6ca2bec99e6..086fa023b1d 100644 --- a/rules/S2007/metadata.json +++ b/rules/S2007/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "MODULAR" }, @@ -16,9 +16,7 @@ "design" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "VariableInPackageSpecificationCheck" ] @@ -27,8 +25,6 @@ "ruleSpecification": "RSPEC-2007", "sqKey": "S2007", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2014/php/metadata.json b/rules/S2014/php/metadata.json index 2eb9822fdac..bca5d053ef7 100644 --- a/rules/S2014/php/metadata.json +++ b/rules/S2014/php/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2014", diff --git a/rules/S2068/metadata.json b/rules/S2068/metadata.json index 1be8e925d3d..4674b6d6a6d 100644 --- a/rules/S2068/metadata.json +++ b/rules/S2068/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -16,12 +16,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2068", diff --git a/rules/S2095/metadata.json b/rules/S2095/metadata.json index 153b128329e..f9011363d15 100644 --- a/rules/S2095/metadata.json +++ b/rules/S2095/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -18,12 +18,8 @@ "denial-of-service" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2095", diff --git a/rules/S2096/metadata.json b/rules/S2096/metadata.json index 803feaab21b..d1ac5e9694a 100644 --- a/rules/S2096/metadata.json +++ b/rules/S2096/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,19 +16,13 @@ "error-handling" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2096", "sqKey": "S2096", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2168/java/metadata.json b/rules/S2168/java/metadata.json index 0a537144710..ce07716a9dd 100644 --- a/rules/S2168/java/metadata.json +++ b/rules/S2168/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, diff --git a/rules/S2178/metadata.json b/rules/S2178/metadata.json index 56ca8e1bc68..37e5254138f 100644 --- a/rules/S2178/metadata.json +++ b/rules/S2178/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2178", diff --git a/rules/S2187/metadata.json b/rules/S2187/metadata.json index 015df761401..576beea8775 100644 --- a/rules/S2187/metadata.json +++ b/rules/S2187/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "TESTED" }, @@ -18,12 +18,8 @@ "confusing" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2187", diff --git a/rules/S2188/java/metadata.json b/rules/S2188/java/metadata.json index 1b84b09828b..cb9d90d84c5 100644 --- a/rules/S2188/java/metadata.json +++ b/rules/S2188/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2188", diff --git a/rules/S2189/metadata.json b/rules/S2189/metadata.json index c572994af46..8abdefac93a 100644 --- a/rules/S2189/metadata.json +++ b/rules/S2189/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2189", diff --git a/rules/S2190/metadata.json b/rules/S2190/metadata.json index 34d6a3ad41c..a109c757e51 100644 --- a/rules/S2190/metadata.json +++ b/rules/S2190/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2190", diff --git a/rules/S2229/java/metadata.json b/rules/S2229/java/metadata.json index 14917e2916c..3e93ee497ec 100644 --- a/rules/S2229/java/metadata.json +++ b/rules/S2229/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,12 +16,8 @@ "spring" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2229", diff --git a/rules/S2236/java/metadata.json b/rules/S2236/java/metadata.json index eeeaf3bc9a1..17bec5880ea 100644 --- a/rules/S2236/java/metadata.json +++ b/rules/S2236/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S2275/metadata.json b/rules/S2275/metadata.json index ed399d27634..d0e00bd816a 100644 --- a/rules/S2275/metadata.json +++ b/rules/S2275/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2275", diff --git a/rules/S2276/java/metadata.json b/rules/S2276/java/metadata.json index f833ff85747..a82b277587e 100644 --- a/rules/S2276/java/metadata.json +++ b/rules/S2276/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S2306/csharp/metadata.json b/rules/S2306/csharp/metadata.json index 5d9d87e820f..3ae50e3c34b 100644 --- a/rules/S2306/csharp/metadata.json +++ b/rules/S2306/csharp/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "AsyncAwaitIdentifier" ] diff --git a/rules/S2316/python/metadata.json b/rules/S2316/python/metadata.json index e2ade908087..3643af51e5f 100644 --- a/rules/S2316/python/metadata.json +++ b/rules/S2316/python/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,9 +16,7 @@ "python3" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "BackticksUsage" ] diff --git a/rules/S2317/python/metadata.json b/rules/S2317/python/metadata.json index 3a382f93fb9..0516fadb441 100644 --- a/rules/S2317/python/metadata.json +++ b/rules/S2317/python/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,9 +17,7 @@ "obsolete" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "ExecStatementUsage" ] diff --git a/rules/S2368/metadata.json b/rules/S2368/metadata.json index a533da20546..5150a282172 100644 --- a/rules/S2368/metadata.json +++ b/rules/S2368/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "PublicMethodWithMultidimensionalArrayParameter" ] diff --git a/rules/S2387/metadata.json b/rules/S2387/metadata.json index 1ab4977c5ec..f8d7fa7c78f 100644 --- a/rules/S2387/metadata.json +++ b/rules/S2387/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "confusing" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2387", diff --git a/rules/S2437/metadata.json b/rules/S2437/metadata.json index 4f2e7f2be80..0b40db74406 100644 --- a/rules/S2437/metadata.json +++ b/rules/S2437/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2437", diff --git a/rules/S2689/metadata.json b/rules/S2689/metadata.json index 2b1b9ed9fd4..5efe3179d49 100644 --- a/rules/S2689/metadata.json +++ b/rules/S2689/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, diff --git a/rules/S2693/java/metadata.json b/rules/S2693/java/metadata.json index d84c4b499cc..6791da21dc0 100644 --- a/rules/S2693/java/metadata.json +++ b/rules/S2693/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "FOCUSED" }, @@ -18,12 +18,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2693", @@ -34,8 +30,6 @@ "TSM02-J." ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2695/metadata.json b/rules/S2695/metadata.json index 82eaaf87bcd..36fbd5464c4 100644 --- a/rules/S2695/metadata.json +++ b/rules/S2695/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S2699/metadata.json b/rules/S2699/metadata.json index cb212f1e0eb..acdd716f39b 100644 --- a/rules/S2699/metadata.json +++ b/rules/S2699/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "TESTED" }, @@ -16,12 +16,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2699", diff --git a/rules/S2703/javascript/metadata.json b/rules/S2703/javascript/metadata.json index 3a84f18fe79..ad026fb8323 100644 --- a/rules/S2703/javascript/metadata.json +++ b/rules/S2703/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2703", diff --git a/rules/S2711/python/metadata.json b/rules/S2711/python/metadata.json index 40af40c3fd5..6143a291563 100644 --- a/rules/S2711/python/metadata.json +++ b/rules/S2711/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2711", diff --git a/rules/S2712/python/metadata.json b/rules/S2712/python/metadata.json index 7f7db232b23..1b861bdc12f 100644 --- a/rules/S2712/python/metadata.json +++ b/rules/S2712/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,23 +12,15 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2712", "sqKey": "S2712", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2806/cfamily/metadata.json b/rules/S2806/cfamily/metadata.json index 703e4483929..4ca5105b33e 100644 --- a/rules/S2806/cfamily/metadata.json +++ b/rules/S2806/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,19 +17,13 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2806", "sqKey": "S2806", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2817/javascript/metadata.json b/rules/S2817/javascript/metadata.json index 1b32865c4c9..13b3ac634ae 100644 --- a/rules/S2817/javascript/metadata.json +++ b/rules/S2817/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,19 +16,13 @@ "type-dependent" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2817", "sqKey": "S2817", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2823/python/metadata.json b/rules/S2823/python/metadata.json index 2e4fdfe9c78..35071b27f44 100644 --- a/rules/S2823/python/metadata.json +++ b/rules/S2823/python/metadata.json @@ -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-2823", diff --git a/rules/S2857/metadata.json b/rules/S2857/metadata.json index 1df1829e322..47016545017 100644 --- a/rules/S2857/metadata.json +++ b/rules/S2857/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2857", diff --git a/rules/S2876/python/metadata.json b/rules/S2876/python/metadata.json index 1a8bcce5b31..7c102870a70 100644 --- a/rules/S2876/python/metadata.json +++ b/rules/S2876/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2876", diff --git a/rules/S2930/metadata.json b/rules/S2930/metadata.json index 7406a67af41..fc67b547960 100644 --- a/rules/S2930/metadata.json +++ b/rules/S2930/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "denial-of-service" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2930", diff --git a/rules/S2931/metadata.json b/rules/S2931/metadata.json index 36c3e27b613..dd0da8642a2 100644 --- a/rules/S2931/metadata.json +++ b/rules/S2931/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "denial-of-service" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2931", @@ -33,8 +29,6 @@ 459 ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S2953/metadata.json b/rules/S2953/metadata.json index fe33838cf36..5b62851ce3c 100644 --- a/rules/S2953/metadata.json +++ b/rules/S2953/metadata.json @@ -1,33 +1,29 @@ { - "title": "Methods named \"Dispose\" should implement \"IDisposable.Dispose\"", - "type": "CODE_SMELL", - "code": { - "impacts": { - "MAINTAINABILITY": "HIGH" - }, - "attribute": "IDENTIFIABLE" + "title": "Methods named \"Dispose\" should implement \"IDisposable.Dispose\"", + "type": "CODE_SMELL", + "code": { + "impacts": { + "MAINTAINABILITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "10min" - }, - "tags": [ - "pitfall" - ], - "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-2953", - "sqKey": "S2953", - "scope": "Main", - "defaultQualityProfiles": [ - "Sonar way" - ] + "attribute": "IDENTIFIABLE" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "10min" + }, + "tags": [ + "pitfall" + ], + "extra": { + "replacementRules": [], + "legacyKeys": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-2953", + "sqKey": "S2953", + "scope": "Main", + "defaultQualityProfiles": [ + "Sonar way" + ] } diff --git a/rules/S2970/metadata.json b/rules/S2970/metadata.json index 16a48495ffe..676baf2d7b0 100644 --- a/rules/S2970/metadata.json +++ b/rules/S2970/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "TESTED" }, @@ -16,12 +16,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2970", diff --git a/rules/S2975/java/metadata.json b/rules/S2975/java/metadata.json index e33b8f59841..a71f497e3da 100644 --- a/rules/S2975/java/metadata.json +++ b/rules/S2975/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2975", diff --git a/rules/S3014/java/metadata.json b/rules/S3014/java/metadata.json index df0863a34fb..8f8b12c1aad 100644 --- a/rules/S3014/java/metadata.json +++ b/rules/S3014/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -18,12 +18,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3014", diff --git a/rules/S3046/metadata.json b/rules/S3046/metadata.json index 3ae94f087bc..2075741ebaf 100644 --- a/rules/S3046/metadata.json +++ b/rules/S3046/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "deadlock" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3046", diff --git a/rules/S3060/metadata.json b/rules/S3060/metadata.json index 81840471f65..9455baeed99 100644 --- a/rules/S3060/metadata.json +++ b/rules/S3060/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "bad-practice" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3060", diff --git a/rules/S3237/csharp/metadata.json b/rules/S3237/csharp/metadata.json index 85221fd61f9..6ba57ede9f7 100644 --- a/rules/S3237/csharp/metadata.json +++ b/rules/S3237/csharp/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3237", diff --git a/rules/S3282/xml/metadata.json b/rules/S3282/xml/metadata.json index 006b4badded..c25d6c08b6e 100644 --- a/rules/S3282/xml/metadata.json +++ b/rules/S3282/xml/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,19 +16,13 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3282", "sqKey": "S3282", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3333/php/metadata.json b/rules/S3333/php/metadata.json index 7d7b380089a..22fe371ce02 100644 --- a/rules/S3333/php/metadata.json +++ b/rules/S3333/php/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "php-ini" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3333", @@ -48,8 +44,6 @@ "6.2.4" ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3334/php/metadata.json b/rules/S3334/php/metadata.json index 0ac2df5b77d..717a878cba0 100644 --- a/rules/S3334/php/metadata.json +++ b/rules/S3334/php/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "php-ini" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3334", @@ -51,8 +47,6 @@ "5.3.9" ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3336/php/metadata.json b/rules/S3336/php/metadata.json index 9d7afa3cd9d..f52e9169a2a 100644 --- a/rules/S3336/php/metadata.json +++ b/rules/S3336/php/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "php-ini" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3336", @@ -41,8 +37,6 @@ "6.2.4" ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3337/php/metadata.json b/rules/S3337/php/metadata.json index 25b4c085dfa..776dfec8ddf 100644 --- a/rules/S3337/php/metadata.json +++ b/rules/S3337/php/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "php-ini" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3337", @@ -41,8 +37,6 @@ "6.2.4" ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3360/metadata.json b/rules/S3360/metadata.json index 159b7af3c07..95ffee2e361 100644 --- a/rules/S3360/metadata.json +++ b/rules/S3360/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "IDENTIFIABLE" }, @@ -16,19 +16,13 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3360", "sqKey": "S3360", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3374/xml/metadata.json b/rules/S3374/xml/metadata.json index 0ee53ae4398..3aa0a59ff99 100644 --- a/rules/S3374/xml/metadata.json +++ b/rules/S3374/xml/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "struts" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3374", diff --git a/rules/S3403/python/metadata.json b/rules/S3403/python/metadata.json index 40076174a98..69f61522fd9 100644 --- a/rules/S3403/python/metadata.json +++ b/rules/S3403/python/metadata.json @@ -1,7 +1,7 @@ { "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S3427/metadata.json b/rules/S3427/metadata.json index a5cf1cb0040..168653fdb3e 100644 --- a/rules/S3427/metadata.json +++ b/rules/S3427/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,12 +17,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3427", diff --git a/rules/S3433/metadata.json b/rules/S3433/metadata.json index e8a3d6a9ab3..43fc8ab7a15 100644 --- a/rules/S3433/metadata.json +++ b/rules/S3433/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3433", diff --git a/rules/S3443/metadata.json b/rules/S3443/metadata.json index 44b9240bc58..885cb3f45ce 100644 --- a/rules/S3443/metadata.json +++ b/rules/S3443/metadata.json @@ -1,35 +1,30 @@ { - "title": "Type should not be examined on \"System.Type\" instances", - "type": "CODE_SMELL", - "code": { - "impacts": { - "MAINTAINABILITY": "HIGH" - }, - "attribute": "CLEAR" + "title": "Type should not be examined on \"System.Type\" instances", + "type": "CODE_SMELL", + "code": { + "impacts": { + "MAINTAINABILITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "5min" - }, - "tags": [ - "suspicious" - ], - "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-3443", - "sqKey": "S3443", - "scope": "All", - "defaultQualityProfiles": [ - "Sonar way" - ], - "quickfix": "unknown" - } - \ No newline at end of file + "attribute": "CLEAR" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "5min" + }, + "tags": [ + "suspicious" + ], + "extra": { + "replacementRules": [], + "legacyKeys": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-3443", + "sqKey": "S3443", + "scope": "All", + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S3464/metadata.json b/rules/S3464/metadata.json index 59cacdbac8b..6546c715681 100644 --- a/rules/S3464/metadata.json +++ b/rules/S3464/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "1h" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3464", diff --git a/rules/S3481/cobol/metadata.json b/rules/S3481/cobol/metadata.json index dca8181e092..9801b84dc5f 100644 --- a/rules/S3481/cobol/metadata.json +++ b/rules/S3481/cobol/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,19 +17,13 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3481", "sqKey": "S3481", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3491/cfamily/metadata.json b/rules/S3491/cfamily/metadata.json index 2aa500c3827..8d14ec98622 100644 --- a/rules/S3491/cfamily/metadata.json +++ b/rules/S3491/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3491", diff --git a/rules/S3516/metadata.json b/rules/S3516/metadata.json index 35054a49152..eb76cbea38a 100644 --- a/rules/S3516/metadata.json +++ b/rules/S3516/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -13,16 +13,10 @@ "linearDesc": "Per number of return statements", "linearFactor": "2min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3516", diff --git a/rules/S3519/cfamily/metadata.json b/rules/S3519/cfamily/metadata.json index e31d767b132..9e0a11eb724 100644 --- a/rules/S3519/cfamily/metadata.json +++ b/rules/S3519/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3519", diff --git a/rules/S3520/cfamily/metadata.json b/rules/S3520/cfamily/metadata.json index 6ba91ba6e0e..c541d9581a1 100644 --- a/rules/S3520/cfamily/metadata.json +++ b/rules/S3520/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "symbolic-execution" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3520", diff --git a/rules/S3529/cfamily/metadata.json b/rules/S3529/cfamily/metadata.json index 46c1d9db022..aa674af9e8b 100644 --- a/rules/S3529/cfamily/metadata.json +++ b/rules/S3529/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3529", diff --git a/rules/S3546/java/metadata.json b/rules/S3546/java/metadata.json index 93c1936fb7c..82d41875e42 100644 --- a/rules/S3546/java/metadata.json +++ b/rules/S3546/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,19 +17,13 @@ "symbolic-execution" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3546", "sqKey": "S3546", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3584/cfamily/metadata.json b/rules/S3584/cfamily/metadata.json index c00fd2d00b0..ae22a0a0f56 100644 --- a/rules/S3584/cfamily/metadata.json +++ b/rules/S3584/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -20,12 +20,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3584", diff --git a/rules/S3588/cfamily/metadata.json b/rules/S3588/cfamily/metadata.json index 4a53f23d071..38277ed35f8 100644 --- a/rules/S3588/cfamily/metadata.json +++ b/rules/S3588/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3588", diff --git a/rules/S3590/cfamily/metadata.json b/rules/S3590/cfamily/metadata.json index 0613581f141..a1104b9ecdb 100644 --- a/rules/S3590/cfamily/metadata.json +++ b/rules/S3590/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "unpredictable" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3590", diff --git a/rules/S3618/metadata.json b/rules/S3618/metadata.json index e6aaf3c4b9d..6d776c6e017 100644 --- a/rules/S3618/metadata.json +++ b/rules/S3618/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "sql" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3618", diff --git a/rules/S3654/cfamily/metadata.json b/rules/S3654/cfamily/metadata.json index 73695f9ad99..ac61d7045a2 100644 --- a/rules/S3654/cfamily/metadata.json +++ b/rules/S3654/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "since-c++11" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3654", diff --git a/rules/S3657/cfamily/metadata.json b/rules/S3657/cfamily/metadata.json index ac25aeea78b..765b1bcd1f3 100644 --- a/rules/S3657/cfamily/metadata.json +++ b/rules/S3657/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3657", diff --git a/rules/S3692/cfamily/metadata.json b/rules/S3692/cfamily/metadata.json index 466a05098fa..d6ff0233594 100644 --- a/rules/S3692/cfamily/metadata.json +++ b/rules/S3692/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,12 +17,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3692", diff --git a/rules/S3729/cfamily/metadata.json b/rules/S3729/cfamily/metadata.json index 41e8daa8ed8..b78d304386e 100644 --- a/rules/S3729/cfamily/metadata.json +++ b/rules/S3729/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3729", diff --git a/rules/S3753/java/metadata.json b/rules/S3753/java/metadata.json index eaaa5b9c15e..f0e3b573895 100644 --- a/rules/S3753/java/metadata.json +++ b/rules/S3753/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "spring" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3753", diff --git a/rules/S3796/javascript/metadata.json b/rules/S3796/javascript/metadata.json index 0679497c4de..d5bfe279fe7 100644 --- a/rules/S3796/javascript/metadata.json +++ b/rules/S3796/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "type-dependent" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3796", diff --git a/rules/S3827/metadata.json b/rules/S3827/metadata.json index fdd8b2af7b0..e86821e5380 100644 --- a/rules/S3827/metadata.json +++ b/rules/S3827/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3827", diff --git a/rules/S3862/metadata.json b/rules/S3862/metadata.json index 064c5f5850e..b9626bad786 100644 --- a/rules/S3862/metadata.json +++ b/rules/S3862/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3862", diff --git a/rules/S3869/metadata.json b/rules/S3869/metadata.json index d16e7942974..c898d84ac16 100644 --- a/rules/S3869/metadata.json +++ b/rules/S3869/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "unpredictable" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3869", diff --git a/rules/S3875/metadata.json b/rules/S3875/metadata.json index c677d701b99..7aebb8d23d6 100644 --- a/rules/S3875/metadata.json +++ b/rules/S3875/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3875", diff --git a/rules/S3877/metadata.json b/rules/S3877/metadata.json index b22a51f65ab..c6cf8dee7ae 100644 --- a/rules/S3877/metadata.json +++ b/rules/S3877/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3877", @@ -31,4 +27,4 @@ "Sonar way" ], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S3884/metadata.json b/rules/S3884/metadata.json index 4d6a417186b..e0da8353de9 100644 --- a/rules/S3884/metadata.json +++ b/rules/S3884/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,15 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3884", @@ -43,7 +38,6 @@ "6.2.4" ] }, - "defaultQualityProfiles": [ - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S3889/metadata.json b/rules/S3889/metadata.json index 5b1728476b1..c2bd0874e82 100644 --- a/rules/S3889/metadata.json +++ b/rules/S3889/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "unpredictable" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3889", diff --git a/rules/S3931/metadata.json b/rules/S3931/metadata.json index 40729933acb..93d39c14ce8 100644 --- a/rules/S3931/metadata.json +++ b/rules/S3931/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,12 +16,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3931", diff --git a/rules/S3936/cfamily/metadata.json b/rules/S3936/cfamily/metadata.json index bf1dca95128..4636202c8a2 100644 --- a/rules/S3936/cfamily/metadata.json +++ b/rules/S3936/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "gnu" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3936", diff --git a/rules/S3938/cobol/metadata.json b/rules/S3938/cobol/metadata.json index fb70b9a2389..3748c0c5011 100644 --- a/rules/S3938/cobol/metadata.json +++ b/rules/S3938/cobol/metadata.json @@ -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-3938", "sqKey": "S3938", "scope": "All", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S4159/metadata.json b/rules/S4159/metadata.json index 04e5db50ca7..977de49ca2f 100644 --- a/rules/S4159/metadata.json +++ b/rules/S4159/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4159", diff --git a/rules/S4462/metadata.json b/rules/S4462/metadata.json index 031f3c626fe..8fda3adc316 100644 --- a/rules/S4462/metadata.json +++ b/rules/S4462/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,19 +17,13 @@ "deadlock" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4462", "sqKey": "S4462", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S4577/plsql/metadata.json b/rules/S4577/plsql/metadata.json index c9c0ad23f23..055545f7fb3 100644 --- a/rules/S4577/plsql/metadata.json +++ b/rules/S4577/plsql/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "EFFICIENT" }, @@ -16,19 +16,13 @@ "performance" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4577", "sqKey": "S4577", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S4602/java/metadata.json b/rules/S4602/java/metadata.json index d9a079f19f1..3afc6e303d9 100644 --- a/rules/S4602/java/metadata.json +++ b/rules/S4602/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "spring" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4602", diff --git a/rules/S4650/css/metadata.json b/rules/S4650/css/metadata.json index fb9b030acbc..92962326bd4 100644 --- a/rules/S4650/css/metadata.json +++ b/rules/S4650/css/metadata.json @@ -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-4650", diff --git a/rules/S4653/css/metadata.json b/rules/S4653/css/metadata.json index dca1ada2203..ec340253bb1 100644 --- a/rules/S4653/css/metadata.json +++ b/rules/S4653/css/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4653", diff --git a/rules/S4654/css/metadata.json b/rules/S4654/css/metadata.json index 7b51088332e..8241b34aeef 100644 --- a/rules/S4654/css/metadata.json +++ b/rules/S4654/css/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4654", diff --git a/rules/S4668/css/metadata.json b/rules/S4668/css/metadata.json index bc63501d87b..90e07c7022d 100644 --- a/rules/S4668/css/metadata.json +++ b/rules/S4668/css/metadata.json @@ -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-4668", diff --git a/rules/S4997/cfamily/metadata.json b/rules/S4997/cfamily/metadata.json index da81ec0a2c7..6fc671e50ad 100644 --- a/rules/S4997/cfamily/metadata.json +++ b/rules/S4997/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "since-c++11" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4997", diff --git a/rules/S4999/cfamily/metadata.json b/rules/S4999/cfamily/metadata.json index 09c6a722757..b7612fb5c16 100644 --- a/rules/S4999/cfamily/metadata.json +++ b/rules/S4999/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-4999", diff --git a/rules/S5000/cfamily/metadata.json b/rules/S5000/cfamily/metadata.json index 44453fc42a1..cd14354f23c 100644 --- a/rules/S5000/cfamily/metadata.json +++ b/rules/S5000/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "unpredictable" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5000", diff --git a/rules/S5018/cfamily/metadata.json b/rules/S5018/cfamily/metadata.json index 033dd40fd3d..1e53d524de8 100644 --- a/rules/S5018/cfamily/metadata.json +++ b/rules/S5018/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "EFFICIENT" }, @@ -18,12 +18,8 @@ "since-c++11" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5018", diff --git a/rules/S5020/cfamily/metadata.json b/rules/S5020/cfamily/metadata.json index de5fdd5acb3..2960a6b1767 100644 --- a/rules/S5020/cfamily/metadata.json +++ b/rules/S5020/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,12 +17,8 @@ "since-c++11" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5020", diff --git a/rules/S5117/abap/metadata.json b/rules/S5117/abap/metadata.json index 92593f50d7a..78b350b14d4 100644 --- a/rules/S5117/abap/metadata.json +++ b/rules/S5117/abap/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5117", diff --git a/rules/S5184/cfamily/metadata.json b/rules/S5184/cfamily/metadata.json index c5e9866b2ae..abc30b29f8b 100644 --- a/rules/S5184/cfamily/metadata.json +++ b/rules/S5184/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5184", diff --git a/rules/S5267/cfamily/metadata.json b/rules/S5267/cfamily/metadata.json index 6d2a64d0efd..ff2dffe2135 100644 --- a/rules/S5267/cfamily/metadata.json +++ b/rules/S5267/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "confusing" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5267", diff --git a/rules/S5302/cfamily/metadata.json b/rules/S5302/cfamily/metadata.json index 24d63162ad3..36070fe8beb 100644 --- a/rules/S5302/cfamily/metadata.json +++ b/rules/S5302/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "misra-c++2008" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5302", diff --git a/rules/S5335/php/metadata.json b/rules/S5335/php/metadata.json index 777da05ecd5..5c8b921548c 100644 --- a/rules/S5335/php/metadata.json +++ b/rules/S5335/php/metadata.json @@ -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-5335", diff --git a/rules/S5376/apex/metadata.json b/rules/S5376/apex/metadata.json index 76478a47725..4ceabf80854 100644 --- a/rules/S5376/apex/metadata.json +++ b/rules/S5376/apex/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5376", diff --git a/rules/S5377/apex/metadata.json b/rules/S5377/apex/metadata.json index de9574d2d84..96baf4f8443 100644 --- a/rules/S5377/apex/metadata.json +++ b/rules/S5377/apex/metadata.json @@ -1,9 +1,9 @@ { - "title": "Sharing level should be specified in Apex Classes with SOQL\/SOSL Queries or DML Statements", + "title": "Sharing level should be specified in Apex Classes with SOQL/SOSL Queries or DML Statements", "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5377", diff --git a/rules/S5379/apex/metadata.json b/rules/S5379/apex/metadata.json index 07527e38428..f7ed32fdbb2 100644 --- a/rules/S5379/apex/metadata.json +++ b/rules/S5379/apex/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5379", diff --git a/rules/S5382/apex/metadata.json b/rules/S5382/apex/metadata.json index e312118aa9e..c463926f207 100644 --- a/rules/S5382/apex/metadata.json +++ b/rules/S5382/apex/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -16,12 +16,8 @@ "governor-limits" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5382", diff --git a/rules/S5389/apex/metadata.json b/rules/S5389/apex/metadata.json index 03ecadc5358..321c2e30204 100644 --- a/rules/S5389/apex/metadata.json +++ b/rules/S5389/apex/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5389", diff --git a/rules/S5404/cfamily/metadata.json b/rules/S5404/cfamily/metadata.json index d970703ffd1..1ba35597450 100644 --- a/rules/S5404/cfamily/metadata.json +++ b/rules/S5404/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -19,12 +19,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5404", diff --git a/rules/S5417/cfamily/metadata.json b/rules/S5417/cfamily/metadata.json index ff7c23468e8..c3a4c41ec72 100644 --- a/rules/S5417/cfamily/metadata.json +++ b/rules/S5417/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "since-c++11" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5417", diff --git a/rules/S5486/cfamily/metadata.json b/rules/S5486/cfamily/metadata.json index 14df1e3d829..849d0d56f30 100644 --- a/rules/S5486/cfamily/metadata.json +++ b/rules/S5486/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "multi-threading" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5486", diff --git a/rules/S5487/cfamily/metadata.json b/rules/S5487/cfamily/metadata.json index 4fade9d2d6b..d990b0b698d 100644 --- a/rules/S5487/cfamily/metadata.json +++ b/rules/S5487/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "multi-threading" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5487", diff --git a/rules/S5489/cfamily/metadata.json b/rules/S5489/cfamily/metadata.json index a6cb67e5e92..63cd5a73520 100644 --- a/rules/S5489/cfamily/metadata.json +++ b/rules/S5489/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,12 +17,8 @@ "multi-threading" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5489", diff --git a/rules/S5496/metadata.json b/rules/S5496/metadata.json index bc7a112666f..8974b5e8b44 100644 --- a/rules/S5496/metadata.json +++ b/rules/S5496/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "python3" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5496", diff --git a/rules/S5502/cfamily/metadata.json b/rules/S5502/cfamily/metadata.json index bd25034d13e..acc16c6e403 100644 --- a/rules/S5502/cfamily/metadata.json +++ b/rules/S5502/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -19,12 +19,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5502", diff --git a/rules/S5549/python/metadata.json b/rules/S5549/python/metadata.json index a542c47e6e0..6fea0d008d1 100644 --- a/rules/S5549/python/metadata.json +++ b/rules/S5549/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5549", diff --git a/rules/S5553/cfamily/metadata.json b/rules/S5553/cfamily/metadata.json index 20009509c74..d200bc30907 100644 --- a/rules/S5553/cfamily/metadata.json +++ b/rules/S5553/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "symbolic-execution" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5553", diff --git a/rules/S5607/python/metadata.json b/rules/S5607/python/metadata.json index 15d224f5d23..ab02aac2263 100644 --- a/rules/S5607/python/metadata.json +++ b/rules/S5607/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5607", diff --git a/rules/S5632/metadata.json b/rules/S5632/metadata.json index 038fce49869..177f6fb7a64 100644 --- a/rules/S5632/metadata.json +++ b/rules/S5632/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5632", diff --git a/rules/S5633/python/metadata.json b/rules/S5633/python/metadata.json index 0855421847c..05fedd4fb68 100644 --- a/rules/S5633/python/metadata.json +++ b/rules/S5633/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5633", diff --git a/rules/S5639/cfamily/metadata.json b/rules/S5639/cfamily/metadata.json index 8f2edaaeff5..b13b8b5f7e3 100644 --- a/rules/S5639/cfamily/metadata.json +++ b/rules/S5639/cfamily/metadata.json @@ -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-5639", "sqKey": "S5639", "scope": "All", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S5642/python/metadata.json b/rules/S5642/python/metadata.json index cc4f1de90d9..16e31bd09bf 100644 --- a/rules/S5642/python/metadata.json +++ b/rules/S5642/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5642", diff --git a/rules/S5644/python/metadata.json b/rules/S5644/python/metadata.json index 6f7d73bf573..c324e9dc3c2 100644 --- a/rules/S5644/python/metadata.json +++ b/rules/S5644/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5644", diff --git a/rules/S5708/metadata.json b/rules/S5708/metadata.json index 6f4f19946af..e316e009d29 100644 --- a/rules/S5708/metadata.json +++ b/rules/S5708/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5708", diff --git a/rules/S5714/python/metadata.json b/rules/S5714/python/metadata.json index 625ad1022b4..3301dea7140 100644 --- a/rules/S5714/python/metadata.json +++ b/rules/S5714/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5714", diff --git a/rules/S5719/python/metadata.json b/rules/S5719/python/metadata.json index 506fb3e6b1f..2d2474cac30 100644 --- a/rules/S5719/python/metadata.json +++ b/rules/S5719/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5719", diff --git a/rules/S5722/python/metadata.json b/rules/S5722/python/metadata.json index 849856a58fb..32afdb9df94 100644 --- a/rules/S5722/python/metadata.json +++ b/rules/S5722/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5722", diff --git a/rules/S5724/python/metadata.json b/rules/S5724/python/metadata.json index 96d630e9e63..ef5e657b80d 100644 --- a/rules/S5724/python/metadata.json +++ b/rules/S5724/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5724", diff --git a/rules/S5756/python/metadata.json b/rules/S5756/python/metadata.json index b05eb48d620..17af3fe14a4 100644 --- a/rules/S5756/python/metadata.json +++ b/rules/S5756/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5756", diff --git a/rules/S5786/java/metadata.json b/rules/S5786/java/metadata.json index dbd2d3a3e8a..1b7853cb6f8 100644 --- a/rules/S5786/java/metadata.json +++ b/rules/S5786/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CLEAR" }, @@ -17,12 +17,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Info", "ruleSpecification": "RSPEC-5786", diff --git a/rules/S5793/java/metadata.json b/rules/S5793/java/metadata.json index 8a95f26b522..77273b3d2bd 100644 --- a/rules/S5793/java/metadata.json +++ b/rules/S5793/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CONVENTIONAL" }, @@ -17,19 +17,13 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Info", "ruleSpecification": "RSPEC-5793", "sqKey": "S5793", "scope": "Tests", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S5798/cfamily/metadata.json b/rules/S5798/cfamily/metadata.json index f6da1055c77..8cc5201a750 100644 --- a/rules/S5798/cfamily/metadata.json +++ b/rules/S5798/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5798", diff --git a/rules/S5807/python/metadata.json b/rules/S5807/python/metadata.json index 3e4b8e44a38..4d7811f38ea 100644 --- a/rules/S5807/python/metadata.json +++ b/rules/S5807/python/metadata.json @@ -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-5807", diff --git a/rules/S5828/python/metadata.json b/rules/S5828/python/metadata.json index 7bf4eb880cb..87b5282ed64 100644 --- a/rules/S5828/python/metadata.json +++ b/rules/S5828/python/metadata.json @@ -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-5828", diff --git a/rules/S5905/python/metadata.json b/rules/S5905/python/metadata.json index fdcdd185d96..3d5675c4b7b 100644 --- a/rules/S5905/python/metadata.json +++ b/rules/S5905/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "tests" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5905", diff --git a/rules/S5911/php/metadata.json b/rules/S5911/php/metadata.json index e4885442244..1531d8923e7 100644 --- a/rules/S5911/php/metadata.json +++ b/rules/S5911/php/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5911", diff --git a/rules/S5912/cfamily/metadata.json b/rules/S5912/cfamily/metadata.json index a51111352dd..513f653d046 100644 --- a/rules/S5912/cfamily/metadata.json +++ b/rules/S5912/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "cppcoreguidelines" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5912", diff --git a/rules/S5953/python/metadata.json b/rules/S5953/python/metadata.json index 95f4263f997..ec52e96373e 100644 --- a/rules/S5953/python/metadata.json +++ b/rules/S5953/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,23 +12,15 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5953", "sqKey": "S5953", "scope": "All", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S5979/java/metadata.json b/rules/S5979/java/metadata.json index edccd875ddd..e7c1a85c0f2 100644 --- a/rules/S5979/java/metadata.json +++ b/rules/S5979/java/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,19 +17,13 @@ "mockito" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5979", "sqKey": "S5979", "scope": "Tests", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S5999/cfamily/metadata.json b/rules/S5999/cfamily/metadata.json index 322e87b8e8a..ea94ce10b3c 100644 --- a/rules/S5999/cfamily/metadata.json +++ b/rules/S5999/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -16,12 +16,8 @@ "since-c++17" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5999", diff --git a/rules/S6025/cfamily/metadata.json b/rules/S6025/cfamily/metadata.json index 74e96f215d2..19d00d5716b 100644 --- a/rules/S6025/cfamily/metadata.json +++ b/rules/S6025/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "FOCUSED" }, @@ -18,12 +18,8 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6025", diff --git a/rules/S6208/java/metadata.json b/rules/S6208/java/metadata.json index dfd4218a78a..bd74c6fde32 100644 --- a/rules/S6208/java/metadata.json +++ b/rules/S6208/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CLEAR" }, diff --git a/rules/S6212/java/metadata.json b/rules/S6212/java/metadata.json index 7ba08fa2cda..b80169d49b3 100644 --- a/rules/S6212/java/metadata.json +++ b/rules/S6212/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CLEAR" }, @@ -16,19 +16,13 @@ "java10" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Info", "ruleSpecification": "RSPEC-6212", "sqKey": "S6212", "scope": "Main", - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S6223/cfamily/metadata.json b/rules/S6223/cfamily/metadata.json index a54f2217507..b2125117f92 100644 --- a/rules/S6223/cfamily/metadata.json +++ b/rules/S6223/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6223", diff --git a/rules/S6265/metadata.json b/rules/S6265/metadata.json index 9698c073266..677f5bf6525 100644 --- a/rules/S6265/metadata.json +++ b/rules/S6265/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6265", diff --git a/rules/S6268/javascript/metadata.json b/rules/S6268/javascript/metadata.json index 873e91d92da..8f6ca4a6c6d 100644 --- a/rules/S6268/javascript/metadata.json +++ b/rules/S6268/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -12,12 +12,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6268", diff --git a/rules/S6270/metadata.json b/rules/S6270/metadata.json index 689750e90ce..23c29806819 100644 --- a/rules/S6270/metadata.json +++ b/rules/S6270/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6270", diff --git a/rules/S6292/secrets/metadata.json b/rules/S6292/secrets/metadata.json index a4d5fa99774..bfa4c973408 100644 --- a/rules/S6292/secrets/metadata.json +++ b/rules/S6292/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,12 +17,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6292", diff --git a/rules/S6299/javascript/metadata.json b/rules/S6299/javascript/metadata.json index e4632d4c9ab..1f743c25815 100644 --- a/rules/S6299/javascript/metadata.json +++ b/rules/S6299/javascript/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -12,9 +12,7 @@ "cwe" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6299", diff --git a/rules/S6302/metadata.json b/rules/S6302/metadata.json index 92d33a2d03c..66a0c3dd7a6 100644 --- a/rules/S6302/metadata.json +++ b/rules/S6302/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "aws" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6302", diff --git a/rules/S6304/metadata.json b/rules/S6304/metadata.json index d6a22bcc0dd..d64c3663366 100644 --- a/rules/S6304/metadata.json +++ b/rules/S6304/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6304", diff --git a/rules/S6329/metadata.json b/rules/S6329/metadata.json index a8f5e20fd4a..b6c56afe71a 100644 --- a/rules/S6329/metadata.json +++ b/rules/S6329/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "aws" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6329", diff --git a/rules/S6333/metadata.json b/rules/S6333/metadata.json index caace865ec2..f1a88b8e324 100644 --- a/rules/S6333/metadata.json +++ b/rules/S6333/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -17,12 +17,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6333", diff --git a/rules/S6334/secrets/metadata.json b/rules/S6334/secrets/metadata.json index bbb2be64b75..9978f2b2d93 100644 --- a/rules/S6334/secrets/metadata.json +++ b/rules/S6334/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6335/secrets/metadata.json b/rules/S6335/secrets/metadata.json index bd3d8e34cc6..015a0f94724 100644 --- a/rules/S6335/secrets/metadata.json +++ b/rules/S6335/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6336/secrets/metadata.json b/rules/S6336/secrets/metadata.json index 100bc2c669e..a923030da7e 100644 --- a/rules/S6336/secrets/metadata.json +++ b/rules/S6336/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6336", diff --git a/rules/S6337/secrets/metadata.json b/rules/S6337/secrets/metadata.json index 525a7ec6496..28c4ae2fb29 100644 --- a/rules/S6337/secrets/metadata.json +++ b/rules/S6337/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6338/secrets/metadata.json b/rules/S6338/secrets/metadata.json index 54c3d809042..e6686f32711 100644 --- a/rules/S6338/secrets/metadata.json +++ b/rules/S6338/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6338", diff --git a/rules/S6373/metadata.json b/rules/S6373/metadata.json index 16e169eb382..2de76c79cd3 100644 --- a/rules/S6373/metadata.json +++ b/rules/S6373/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -12,16 +12,10 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6373", diff --git a/rules/S6418/metadata.json b/rules/S6418/metadata.json index a86843959c6..6498a5cc147 100644 --- a/rules/S6418/metadata.json +++ b/rules/S6418/metadata.json @@ -3,7 +3,7 @@ "type": "SECURITY_HOTSPOT", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -16,12 +16,8 @@ "cwe" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6418", diff --git a/rules/S6422/csharp/metadata.json b/rules/S6422/csharp/metadata.json index 6eba679b033..f377c81b3e8 100644 --- a/rules/S6422/csharp/metadata.json +++ b/rules/S6422/csharp/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "EFFICIENT" }, @@ -20,6 +20,8 @@ "ruleSpecification": "RSPEC-6422", "sqKey": "S6422", "scope": "Main", - "defaultQualityProfiles": ["Sonar way"], + "defaultQualityProfiles": [ + "Sonar way" + ], "quickfix": "infeasible" } diff --git a/rules/S6424/csharp/metadata.json b/rules/S6424/csharp/metadata.json index 329991d9ae6..9dbc7a93a37 100644 --- a/rules/S6424/csharp/metadata.json +++ b/rules/S6424/csharp/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S6427/cfamily/metadata.json b/rules/S6427/cfamily/metadata.json index bce9407146b..81606b49b58 100644 --- a/rules/S6427/cfamily/metadata.json +++ b/rules/S6427/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -12,11 +12,15 @@ "func": "Constant\/Issue", "constantCost": "1min" }, - "tags": ["since-c++17" ], + "tags": [ + "since-c++17" + ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6427", "sqKey": "S6427", "scope": "All", - "defaultQualityProfiles": ["Sonar way"], + "defaultQualityProfiles": [ + "Sonar way" + ], "quickfix": "covered" } diff --git a/rules/S6472/metadata.json b/rules/S6472/metadata.json index 3566b2c3b57..574396a5811 100644 --- a/rules/S6472/metadata.json +++ b/rules/S6472/metadata.json @@ -1,30 +1,32 @@ { - "title": "Using ENV or ARG to handle secrets is security-sensitive", - "type": "SECURITY_HOTSPOT", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Using ENV or ARG to handle secrets is security-sensitive", + "type": "SECURITY_HOTSPOT", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "20min" - }, - "tags": [ - "dockerfile", - "cwe" - ], - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6472", - "sqKey": "S6472", - "scope": "All", - "securityStandards": { - "CWE": [ - 522 - ] - }, - "defaultQualityProfiles": ["Sonar way"], - "quickfix": "unknown" -} \ No newline at end of file + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "20min" + }, + "tags": [ + "dockerfile", + "cwe" + ], + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6472", + "sqKey": "S6472", + "scope": "All", + "securityStandards": { + "CWE": [ + 522 + ] + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6493/cfamily/metadata.json b/rules/S6493/cfamily/metadata.json index dfbca95a9fe..0e179571179 100644 --- a/rules/S6493/cfamily/metadata.json +++ b/rules/S6493/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -19,6 +19,8 @@ "ruleSpecification": "RSPEC-6493", "sqKey": "S6493", "scope": "All", - "defaultQualityProfiles": ["Sonar way"], + "defaultQualityProfiles": [ + "Sonar way" + ], "quickfix": "targeted" } diff --git a/rules/S6539/java/metadata.json b/rules/S6539/java/metadata.json index 22f4de17702..87e0c82e84e 100644 --- a/rules/S6539/java/metadata.json +++ b/rules/S6539/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "MODULAR" }, diff --git a/rules/S6541/java/metadata.json b/rules/S6541/java/metadata.json index b0d4fd3efa5..f888c1ab589 100644 --- a/rules/S6541/java/metadata.json +++ b/rules/S6541/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "FOCUSED" }, diff --git a/rules/S6548/java/metadata.json b/rules/S6548/java/metadata.json index ef4874f4a80..336d220af98 100644 --- a/rules/S6548/java/metadata.json +++ b/rules/S6548/java/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "MODULAR" }, diff --git a/rules/S6652/secrets/metadata.json b/rules/S6652/secrets/metadata.json index 0302bc8416d..5aa6b0693e9 100644 --- a/rules/S6652/secrets/metadata.json +++ b/rules/S6652/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6652", diff --git a/rules/S6655/cfamily/metadata.json b/rules/S6655/cfamily/metadata.json index b6d90d947c9..1f287b099ed 100644 --- a/rules/S6655/cfamily/metadata.json +++ b/rules/S6655/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -13,12 +13,14 @@ "constantCost": "15min" }, "tags": [ - "symbolic-execution" + "symbolic-execution" ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6655", "sqKey": "S6655", "scope": "All", - "defaultQualityProfiles": ["Sonar way"], + "defaultQualityProfiles": [ + "Sonar way" + ], "quickfix": "infeasible" } diff --git a/rules/S6684/secrets/metadata.json b/rules/S6684/secrets/metadata.json index 9f5e38d7d95..6770c2e4273 100644 --- a/rules/S6684/secrets/metadata.json +++ b/rules/S6684/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6684", diff --git a/rules/S6686/secrets/metadata.json b/rules/S6686/secrets/metadata.json index ff13fbb8551..3c7569f5e70 100644 --- a/rules/S6686/secrets/metadata.json +++ b/rules/S6686/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6686", diff --git a/rules/S6687/secrets/metadata.json b/rules/S6687/secrets/metadata.json index 5f64f790005..b09330c009d 100644 --- a/rules/S6687/secrets/metadata.json +++ b/rules/S6687/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6687", diff --git a/rules/S6688/secrets/metadata.json b/rules/S6688/secrets/metadata.json index d95a7e38e8f..8a4599f2d6e 100644 --- a/rules/S6688/secrets/metadata.json +++ b/rules/S6688/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6688", diff --git a/rules/S6689/secrets/metadata.json b/rules/S6689/secrets/metadata.json index b0aedde9475..34665e93059 100644 --- a/rules/S6689/secrets/metadata.json +++ b/rules/S6689/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6689", diff --git a/rules/S6690/secrets/metadata.json b/rules/S6690/secrets/metadata.json index 520989325d5..ff4202a0b17 100644 --- a/rules/S6690/secrets/metadata.json +++ b/rules/S6690/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6690", diff --git a/rules/S6691/secrets/metadata.json b/rules/S6691/secrets/metadata.json index a809d0c21dc..5a3b42bb27c 100644 --- a/rules/S6691/secrets/metadata.json +++ b/rules/S6691/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6691", diff --git a/rules/S6692/secrets/metadata.json b/rules/S6692/secrets/metadata.json index dafec401530..7bf949ef9fc 100644 --- a/rules/S6692/secrets/metadata.json +++ b/rules/S6692/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6692", diff --git a/rules/S6693/secrets/metadata.json b/rules/S6693/secrets/metadata.json index 1e13d766f01..99a7b2526d0 100644 --- a/rules/S6693/secrets/metadata.json +++ b/rules/S6693/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6693", diff --git a/rules/S6694/secrets/metadata.json b/rules/S6694/secrets/metadata.json index 3859ba14bfe..63006d3a878 100644 --- a/rules/S6694/secrets/metadata.json +++ b/rules/S6694/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6694", diff --git a/rules/S6695/secrets/metadata.json b/rules/S6695/secrets/metadata.json index d6e178fb4af..dc44d4f6e87 100644 --- a/rules/S6695/secrets/metadata.json +++ b/rules/S6695/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6695", diff --git a/rules/S6696/secrets/metadata.json b/rules/S6696/secrets/metadata.json index e9b379d86ce..738fece39ba 100644 --- a/rules/S6696/secrets/metadata.json +++ b/rules/S6696/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6696", diff --git a/rules/S6697/secrets/metadata.json b/rules/S6697/secrets/metadata.json index fb782ec11bc..24570e68f14 100644 --- a/rules/S6697/secrets/metadata.json +++ b/rules/S6697/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6697", diff --git a/rules/S6698/secrets/metadata.json b/rules/S6698/secrets/metadata.json index c96c5a245c5..ec6c82e5272 100644 --- a/rules/S6698/secrets/metadata.json +++ b/rules/S6698/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6698", diff --git a/rules/S6699/secrets/metadata.json b/rules/S6699/secrets/metadata.json index 391dcebcf40..9a73903fc2c 100644 --- a/rules/S6699/secrets/metadata.json +++ b/rules/S6699/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6699", diff --git a/rules/S6700/secrets/metadata.json b/rules/S6700/secrets/metadata.json index 3840ea99970..9045ad81f93 100644 --- a/rules/S6700/secrets/metadata.json +++ b/rules/S6700/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6700", diff --git a/rules/S6701/secrets/metadata.json b/rules/S6701/secrets/metadata.json index 5b7730090d9..7ed9a5dd59a 100644 --- a/rules/S6701/secrets/metadata.json +++ b/rules/S6701/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6701", diff --git a/rules/S6702/secrets/metadata.json b/rules/S6702/secrets/metadata.json index de4bda31718..60570616cf0 100644 --- a/rules/S6702/secrets/metadata.json +++ b/rules/S6702/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6702", diff --git a/rules/S6703/secrets/metadata.json b/rules/S6703/secrets/metadata.json index 855358596ad..5505ed0a030 100644 --- a/rules/S6703/secrets/metadata.json +++ b/rules/S6703/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6703", diff --git a/rules/S6704/secrets/metadata.json b/rules/S6704/secrets/metadata.json index e555f779988..16ddb398ac6 100644 --- a/rules/S6704/secrets/metadata.json +++ b/rules/S6704/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6704", diff --git a/rules/S6705/secrets/metadata.json b/rules/S6705/secrets/metadata.json index 4c9f01ca57d..0e69497fb84 100644 --- a/rules/S6705/secrets/metadata.json +++ b/rules/S6705/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6705", diff --git a/rules/S6706/secrets/metadata.json b/rules/S6706/secrets/metadata.json index be67b488197..4fb94bcec5a 100644 --- a/rules/S6706/secrets/metadata.json +++ b/rules/S6706/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6706", diff --git a/rules/S6708/secrets/metadata.json b/rules/S6708/secrets/metadata.json index dd5af769616..f447471da44 100644 --- a/rules/S6708/secrets/metadata.json +++ b/rules/S6708/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6708", diff --git a/rules/S6710/secrets/metadata.json b/rules/S6710/secrets/metadata.json index 18d0a852999..29a7e5a2ffa 100644 --- a/rules/S6710/secrets/metadata.json +++ b/rules/S6710/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6710", diff --git a/rules/S6713/secrets/metadata.json b/rules/S6713/secrets/metadata.json index a7477bf6813..6283c1d1ebd 100644 --- a/rules/S6713/secrets/metadata.json +++ b/rules/S6713/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6713", diff --git a/rules/S6717/secrets/metadata.json b/rules/S6717/secrets/metadata.json index 1e5a09eea6f..bc4fb6d18e2 100644 --- a/rules/S6717/secrets/metadata.json +++ b/rules/S6717/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6717", diff --git a/rules/S6718/secrets/metadata.json b/rules/S6718/secrets/metadata.json index 64d9f00f89b..bcf632eb8cb 100644 --- a/rules/S6718/secrets/metadata.json +++ b/rules/S6718/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6718", diff --git a/rules/S6719/secrets/metadata.json b/rules/S6719/secrets/metadata.json index f2413f611f6..27a6cea8dd8 100644 --- a/rules/S6719/secrets/metadata.json +++ b/rules/S6719/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6719", diff --git a/rules/S6720/secrets/metadata.json b/rules/S6720/secrets/metadata.json index b068c3aa6dd..bdec5531c5b 100644 --- a/rules/S6720/secrets/metadata.json +++ b/rules/S6720/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6720", diff --git a/rules/S6721/secrets/metadata.json b/rules/S6721/secrets/metadata.json index ebade74b9f3..af0fc1d07dd 100644 --- a/rules/S6721/secrets/metadata.json +++ b/rules/S6721/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6721", diff --git a/rules/S6722/secrets/metadata.json b/rules/S6722/secrets/metadata.json index 0ceb2370687..e9c564a21d2 100644 --- a/rules/S6722/secrets/metadata.json +++ b/rules/S6722/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6722", diff --git a/rules/S6723/secrets/metadata.json b/rules/S6723/secrets/metadata.json index 2ca4e244de3..7b2c9b4fc5b 100644 --- a/rules/S6723/secrets/metadata.json +++ b/rules/S6723/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6723", diff --git a/rules/S6725/python/metadata.json b/rules/S6725/python/metadata.json index 9491f08b264..dc9c5c3ccda 100644 --- a/rules/S6725/python/metadata.json +++ b/rules/S6725/python/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,9 +17,7 @@ "numpy" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6725", diff --git a/rules/S6731/secrets/metadata.json b/rules/S6731/secrets/metadata.json index 397c29c55ca..3b55706a6a7 100644 --- a/rules/S6731/secrets/metadata.json +++ b/rules/S6731/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6731", diff --git a/rules/S6732/secrets/metadata.json b/rules/S6732/secrets/metadata.json index cfbfd96cb18..34daf0935df 100644 --- a/rules/S6732/secrets/metadata.json +++ b/rules/S6732/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6732", diff --git a/rules/S6733/secrets/metadata.json b/rules/S6733/secrets/metadata.json index 1d8651f35c7..fa6bf1814cf 100644 --- a/rules/S6733/secrets/metadata.json +++ b/rules/S6733/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6733", diff --git a/rules/S6736/secrets/metadata.json b/rules/S6736/secrets/metadata.json index 9b9ac91dfe8..928b89cb8cf 100644 --- a/rules/S6736/secrets/metadata.json +++ b/rules/S6736/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6736", diff --git a/rules/S6739/secrets/metadata.json b/rules/S6739/secrets/metadata.json index 1db8b072736..4e7cf5fd7d2 100644 --- a/rules/S6739/secrets/metadata.json +++ b/rules/S6739/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6739", diff --git a/rules/S6751/secrets/metadata.json b/rules/S6751/secrets/metadata.json index 519ba055cb9..0905d19156c 100644 --- a/rules/S6751/secrets/metadata.json +++ b/rules/S6751/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6752/secrets/metadata.json b/rules/S6752/secrets/metadata.json index 4f661c66c5a..d1192b2e857 100644 --- a/rules/S6752/secrets/metadata.json +++ b/rules/S6752/secrets/metadata.json @@ -1,62 +1,59 @@ { - "title": "Artifactory tokens should not be disclosed", - "type": "VULNERABILITY", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Artifactory tokens should not be disclosed", + "type": "VULNERABILITY", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "30min" - }, - "tags": [ - "cwe", - "cert" + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "30min" + }, + "tags": [ + "cwe", + "cert" + ], + "extra": { + "replacementRules": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6752", + "sqKey": "S6752", + "scope": "All", + "securityStandards": { + "CWE": [ + 798, + 259 ], - "extra": { - "replacementRules": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6752", - "sqKey": "S6752", - "scope": "All", - "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A3" - ], - "CERT": [ - "MSC03-J." - ], - "OWASP Top 10 2021": [ - "A7" - ], - "PCI DSS 3.2": [ - "6.5.10" - ], - "PCI DSS 4.0": [ - "6.2.4" - ], - "ASVS 4.0": [ - "2.10.4", - "3.5.2", - "6.4.1" + "OWASP": [ + "A3" + ], + "CERT": [ + "MSC03-J." + ], + "OWASP Top 10 2021": [ + "A7" + ], + "PCI DSS 3.2": [ + "6.5.10" + ], + "PCI DSS 4.0": [ + "6.2.4" + ], + "ASVS 4.0": [ + "2.10.4", + "3.5.2", + "6.4.1" ], "STIG ASD_V5R3": [ "V-222642" ] - }, - "defaultQualityProfiles": [ - "Sonar way" - ], - "quickfix": "unknown" - } - + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6753/secrets/metadata.json b/rules/S6753/secrets/metadata.json index 4d8b4d68bac..d26e61c66ca 100644 --- a/rules/S6753/secrets/metadata.json +++ b/rules/S6753/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6755/secrets/metadata.json b/rules/S6755/secrets/metadata.json index b5e03cc1531..1231104bc59 100644 --- a/rules/S6755/secrets/metadata.json +++ b/rules/S6755/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6758/secrets/metadata.json b/rules/S6758/secrets/metadata.json index 943fef9c5a9..abdbb5cd746 100644 --- a/rules/S6758/secrets/metadata.json +++ b/rules/S6758/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6760/secrets/metadata.json b/rules/S6760/secrets/metadata.json index 51c7e8e81cd..09d4514c225 100644 --- a/rules/S6760/secrets/metadata.json +++ b/rules/S6760/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6762/secrets/metadata.json b/rules/S6762/secrets/metadata.json index a48a1825425..f494e903553 100644 --- a/rules/S6762/secrets/metadata.json +++ b/rules/S6762/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6764/secrets/metadata.json b/rules/S6764/secrets/metadata.json index aa65ac313f7..b26f1391b63 100644 --- a/rules/S6764/secrets/metadata.json +++ b/rules/S6764/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6765/secrets/metadata.json b/rules/S6765/secrets/metadata.json index 7fb03493e61..9b482124e04 100644 --- a/rules/S6765/secrets/metadata.json +++ b/rules/S6765/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6768/secrets/metadata.json b/rules/S6768/secrets/metadata.json index 507c8d87922..aec7f255e59 100644 --- a/rules/S6768/secrets/metadata.json +++ b/rules/S6768/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6769/secrets/metadata.json b/rules/S6769/secrets/metadata.json index 62bacb21466..dafbafd947d 100644 --- a/rules/S6769/secrets/metadata.json +++ b/rules/S6769/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6771/secrets/metadata.json b/rules/S6771/secrets/metadata.json index 346a1d113f9..5e1fef849e8 100644 --- a/rules/S6771/secrets/metadata.json +++ b/rules/S6771/secrets/metadata.json @@ -1,62 +1,59 @@ { - "title": "Postman tokens should not be disclosed", - "type": "VULNERABILITY", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Postman tokens should not be disclosed", + "type": "VULNERABILITY", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "30min" - }, - "tags": [ - "cwe", - "cert" + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "30min" + }, + "tags": [ + "cwe", + "cert" + ], + "extra": { + "replacementRules": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6771", + "sqKey": "S6771", + "scope": "All", + "securityStandards": { + "CWE": [ + 798, + 259 ], - "extra": { - "replacementRules": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6771", - "sqKey": "S6771", - "scope": "All", - "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A3" - ], - "CERT": [ - "MSC03-J." - ], - "OWASP Top 10 2021": [ - "A7" - ], - "PCI DSS 3.2": [ - "6.5.10" - ], - "PCI DSS 4.0": [ - "6.2.4" - ], - "ASVS 4.0": [ - "2.10.4", - "3.5.2", - "6.4.1" - ], - "STIG ASD_V5R3": [ - "V-222642" - ] - }, - "defaultQualityProfiles": [ - "Sonar way" + "OWASP": [ + "A3" + ], + "CERT": [ + "MSC03-J." + ], + "OWASP Top 10 2021": [ + "A7" + ], + "PCI DSS 3.2": [ + "6.5.10" + ], + "PCI DSS 4.0": [ + "6.2.4" + ], + "ASVS 4.0": [ + "2.10.4", + "3.5.2", + "6.4.1" ], - "quickfix": "unknown" - } - + "STIG ASD_V5R3": [ + "V-222642" + ] + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6773/secrets/metadata.json b/rules/S6773/secrets/metadata.json index ba087362586..504cd54e247 100644 --- a/rules/S6773/secrets/metadata.json +++ b/rules/S6773/secrets/metadata.json @@ -1,62 +1,59 @@ { - "title": "Hashicorp tokens should not be disclosed", - "type": "VULNERABILITY", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Hashicorp tokens should not be disclosed", + "type": "VULNERABILITY", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "30min" - }, - "tags": [ - "cwe", - "cert" + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "30min" + }, + "tags": [ + "cwe", + "cert" + ], + "extra": { + "replacementRules": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6773", + "sqKey": "S6773", + "scope": "All", + "securityStandards": { + "CWE": [ + 798, + 259 ], - "extra": { - "replacementRules": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6773", - "sqKey": "S6773", - "scope": "All", - "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A3" - ], - "CERT": [ - "MSC03-J." - ], - "OWASP Top 10 2021": [ - "A7" - ], - "PCI DSS 3.2": [ - "6.5.10" - ], - "PCI DSS 4.0": [ - "6.2.4" - ], - "ASVS 4.0": [ - "2.10.4", - "3.5.2", - "6.4.1" + "OWASP": [ + "A3" + ], + "CERT": [ + "MSC03-J." + ], + "OWASP Top 10 2021": [ + "A7" + ], + "PCI DSS 3.2": [ + "6.5.10" + ], + "PCI DSS 4.0": [ + "6.2.4" + ], + "ASVS 4.0": [ + "2.10.4", + "3.5.2", + "6.4.1" ], "STIG ASD_V5R3": [ "V-222642" ] - }, - "defaultQualityProfiles": [ - "Sonar way" - ], - "quickfix": "unknown" - } - + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6777/secrets/metadata.json b/rules/S6777/secrets/metadata.json index bba4267f9ea..a4b9370b500 100644 --- a/rules/S6777/secrets/metadata.json +++ b/rules/S6777/secrets/metadata.json @@ -1,63 +1,59 @@ { - "title": "Shippo tokens should not be disclosed", - "type": "VULNERABILITY", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Shippo tokens should not be disclosed", + "type": "VULNERABILITY", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "30min" - }, - "tags": [ - "cwe", - "cert" + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "30min" + }, + "tags": [ + "cwe", + "cert" + ], + "extra": { + "replacementRules": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6777", + "sqKey": "S6777", + "scope": "All", + "securityStandards": { + "CWE": [ + 798, + 259 ], - "extra": { - "replacementRules": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6777", - "sqKey": "S6777", - "scope": "All", - "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A3" - ], - "CERT": [ - "MSC03-J." - ], - "OWASP Top 10 2021": [ - "A7" - ], - "PCI DSS 3.2": [ - "6.5.10" - ], - "PCI DSS 4.0": [ - "6.2.4" - ], - "ASVS 4.0": [ - "2.10.4", - "3.5.2", - "6.4.1" + "OWASP": [ + "A3" + ], + "CERT": [ + "MSC03-J." + ], + "OWASP Top 10 2021": [ + "A7" + ], + "PCI DSS 3.2": [ + "6.5.10" + ], + "PCI DSS 4.0": [ + "6.2.4" + ], + "ASVS 4.0": [ + "2.10.4", + "3.5.2", + "6.4.1" ], "STIG ASD_V5R3": [ "V-222642" ] - - }, - "defaultQualityProfiles": [ - "Sonar way" - ], - "quickfix": "unknown" - } - + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6779/python/metadata.json b/rules/S6779/python/metadata.json index 72eede3b818..7a82bf27145 100644 --- a/rules/S6779/python/metadata.json +++ b/rules/S6779/python/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6779", @@ -55,4 +53,4 @@ "Sonar way" ], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S6781/metadata.json b/rules/S6781/metadata.json index 64d7f37effd..f005b6164d4 100644 --- a/rules/S6781/metadata.json +++ b/rules/S6781/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6781", @@ -54,4 +52,4 @@ "Sonar way" ], "quickfix": "unknown" -} \ No newline at end of file +} diff --git a/rules/S6782/secrets/metadata.json b/rules/S6782/secrets/metadata.json index ca0b8d15ea2..2c0bba67537 100644 --- a/rules/S6782/secrets/metadata.json +++ b/rules/S6782/secrets/metadata.json @@ -1,63 +1,59 @@ { - "title": "Docker Hub tokens should not be disclosed", - "type": "VULNERABILITY", - "code": { - "impacts": { - "SECURITY": "HIGH" - }, - "attribute": "TRUSTWORTHY" + "title": "Docker Hub tokens should not be disclosed", + "type": "VULNERABILITY", + "code": { + "impacts": { + "SECURITY": "BLOCKER" }, - "status": "ready", - "remediation": { - "func": "Constant\/Issue", - "constantCost": "30min" - }, - "tags": [ - "cwe", - "cert" + "attribute": "TRUSTWORTHY" + }, + "status": "ready", + "remediation": { + "func": "Constant\/Issue", + "constantCost": "30min" + }, + "tags": [ + "cwe", + "cert" + ], + "extra": { + "replacementRules": [] + }, + "defaultSeverity": "Blocker", + "ruleSpecification": "RSPEC-6782", + "sqKey": "S6782", + "scope": "All", + "securityStandards": { + "CWE": [ + 798, + 259 ], - "extra": { - "replacementRules": [ - - ] - }, - "defaultSeverity": "Blocker", - "ruleSpecification": "RSPEC-6782", - "sqKey": "S6782", - "scope": "All", - "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A3" - ], - "CERT": [ - "MSC03-J." - ], - "OWASP Top 10 2021": [ - "A7" - ], - "PCI DSS 3.2": [ - "6.5.10" - ], - "PCI DSS 4.0": [ - "6.2.4" - ], - "ASVS 4.0": [ - "2.10.4", - "3.5.2", - "6.4.1" + "OWASP": [ + "A3" + ], + "CERT": [ + "MSC03-J." + ], + "OWASP Top 10 2021": [ + "A7" + ], + "PCI DSS 3.2": [ + "6.5.10" + ], + "PCI DSS 4.0": [ + "6.2.4" + ], + "ASVS 4.0": [ + "2.10.4", + "3.5.2", + "6.4.1" ], "STIG ASD_V5R3": [ "V-222642" ] - - }, - "defaultQualityProfiles": [ - "Sonar way" - ], - "quickfix": "unknown" - } - + }, + "defaultQualityProfiles": [ + "Sonar way" + ], + "quickfix": "unknown" +} diff --git a/rules/S6783/secrets/metadata.json b/rules/S6783/secrets/metadata.json index 98cd13e2fb7..4432eb01192 100644 --- a/rules/S6783/secrets/metadata.json +++ b/rules/S6783/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ] + "replacementRules": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6783", @@ -53,7 +51,6 @@ "STIG ASD_V5R3": [ "V-222642" ] - }, "defaultQualityProfiles": [ "Sonar way" diff --git a/rules/S6839/metadata.json b/rules/S6839/metadata.json index 20773a82098..38f0c7ab8ee 100644 --- a/rules/S6839/metadata.json +++ b/rules/S6839/metadata.json @@ -6,16 +6,10 @@ "func": "Constant\/Issue", "constantCost": "30min" }, - "tags": [ - - ], + "tags": [], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6839", @@ -51,7 +45,7 @@ ], "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "COMPLETE" }, diff --git a/rules/S6910/secrets/metadata.json b/rules/S6910/secrets/metadata.json index 57c903309ba..ac8d8f99c41 100644 --- a/rules/S6910/secrets/metadata.json +++ b/rules/S6910/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6987/secrets/metadata.json b/rules/S6987/secrets/metadata.json index ff831afd2d1..b71e7594d65 100644 --- a/rules/S6987/secrets/metadata.json +++ b/rules/S6987/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,12 +17,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6290", diff --git a/rules/S6988/secrets/metadata.json b/rules/S6988/secrets/metadata.json index 2704b7a5bce..6d6011b19bb 100644 --- a/rules/S6988/secrets/metadata.json +++ b/rules/S6988/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, @@ -17,12 +17,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-6988", diff --git a/rules/S6989/secrets/metadata.json b/rules/S6989/secrets/metadata.json index 7dcf0cd9bd8..a49112a2f8a 100644 --- a/rules/S6989/secrets/metadata.json +++ b/rules/S6989/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6990/secrets/metadata.json b/rules/S6990/secrets/metadata.json index a553726baac..25e402a8085 100644 --- a/rules/S6990/secrets/metadata.json +++ b/rules/S6990/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6992/secrets/metadata.json b/rules/S6992/secrets/metadata.json index f1b22c8ca4d..759d97617f4 100644 --- a/rules/S6992/secrets/metadata.json +++ b/rules/S6992/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6993/secrets/metadata.json b/rules/S6993/secrets/metadata.json index e82ee030d8b..819b5d137ca 100644 --- a/rules/S6993/secrets/metadata.json +++ b/rules/S6993/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6995/secrets/metadata.json b/rules/S6995/secrets/metadata.json index 4731de9ff6f..97fb492f5c8 100644 --- a/rules/S6995/secrets/metadata.json +++ b/rules/S6995/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6997/secrets/metadata.json b/rules/S6997/secrets/metadata.json index 1264889bf38..92cd7ef57d2 100644 --- a/rules/S6997/secrets/metadata.json +++ b/rules/S6997/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6998/secrets/metadata.json b/rules/S6998/secrets/metadata.json index 5a7c99b87a4..feaf7ce91bc 100644 --- a/rules/S6998/secrets/metadata.json +++ b/rules/S6998/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S6999/secrets/metadata.json b/rules/S6999/secrets/metadata.json index a9908105e59..63124190b80 100644 --- a/rules/S6999/secrets/metadata.json +++ b/rules/S6999/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7000/secrets/metadata.json b/rules/S7000/secrets/metadata.json index 88b9163eece..02f424732f3 100644 --- a/rules/S7000/secrets/metadata.json +++ b/rules/S7000/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7001/secrets/metadata.json b/rules/S7001/secrets/metadata.json index 653e9ea79b8..341fa161adf 100644 --- a/rules/S7001/secrets/metadata.json +++ b/rules/S7001/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7002/secrets/metadata.json b/rules/S7002/secrets/metadata.json index b16dd081f29..b8ae436b4d1 100644 --- a/rules/S7002/secrets/metadata.json +++ b/rules/S7002/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7003/secrets/metadata.json b/rules/S7003/secrets/metadata.json index 60c6323a818..60dc2f72f61 100644 --- a/rules/S7003/secrets/metadata.json +++ b/rules/S7003/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7004/secrets/metadata.json b/rules/S7004/secrets/metadata.json index 00e605d4be5..a28f9b03e4e 100644 --- a/rules/S7004/secrets/metadata.json +++ b/rules/S7004/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7006/secrets/metadata.json b/rules/S7006/secrets/metadata.json index a08f95a22c8..990d5578ec6 100644 --- a/rules/S7006/secrets/metadata.json +++ b/rules/S7006/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7007/secrets/metadata.json b/rules/S7007/secrets/metadata.json index e16bd02bca2..0c54461f27d 100644 --- a/rules/S7007/secrets/metadata.json +++ b/rules/S7007/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7008/secrets/metadata.json b/rules/S7008/secrets/metadata.json index 670e0102923..f10b6928bf0 100644 --- a/rules/S7008/secrets/metadata.json +++ b/rules/S7008/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7009/secrets/metadata.json b/rules/S7009/secrets/metadata.json index 75a3bff2db4..7d6a3049176 100644 --- a/rules/S7009/secrets/metadata.json +++ b/rules/S7009/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7010/secrets/metadata.json b/rules/S7010/secrets/metadata.json index 3140059614c..5939511d81e 100644 --- a/rules/S7010/secrets/metadata.json +++ b/rules/S7010/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7011/secrets/metadata.json b/rules/S7011/secrets/metadata.json index 7bb8758091b..e66ae3b733a 100644 --- a/rules/S7011/secrets/metadata.json +++ b/rules/S7011/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7013/secrets/metadata.json b/rules/S7013/secrets/metadata.json index 1c97f151599..615b9537707 100644 --- a/rules/S7013/secrets/metadata.json +++ b/rules/S7013/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7014/secrets/metadata.json b/rules/S7014/secrets/metadata.json index 27c7b8d7809..cab658061a8 100644 --- a/rules/S7014/secrets/metadata.json +++ b/rules/S7014/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7015/secrets/metadata.json b/rules/S7015/secrets/metadata.json index f9ba17dc168..d54fde3f287 100644 --- a/rules/S7015/secrets/metadata.json +++ b/rules/S7015/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7016/secrets/metadata.json b/rules/S7016/secrets/metadata.json index 19d05c8315b..284e2970e0c 100644 --- a/rules/S7016/secrets/metadata.json +++ b/rules/S7016/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7017/secrets/metadata.json b/rules/S7017/secrets/metadata.json index 96e4866c49d..d4cce9dba38 100644 --- a/rules/S7017/secrets/metadata.json +++ b/rules/S7017/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7022/secrets/metadata.json b/rules/S7022/secrets/metadata.json index 54e64010031..357d0383afd 100644 --- a/rules/S7022/secrets/metadata.json +++ b/rules/S7022/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7024/secrets/metadata.json b/rules/S7024/secrets/metadata.json index 6cfbd6d25d5..c8a5b8ebff1 100644 --- a/rules/S7024/secrets/metadata.json +++ b/rules/S7024/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S7025/secrets/metadata.json b/rules/S7025/secrets/metadata.json index e819b249ee9..0f07769d531 100644 --- a/rules/S7025/secrets/metadata.json +++ b/rules/S7025/secrets/metadata.json @@ -3,7 +3,7 @@ "type": "VULNERABILITY", "code": { "impacts": { - "SECURITY": "HIGH" + "SECURITY": "BLOCKER" }, "attribute": "TRUSTWORTHY" }, diff --git a/rules/S797/cfamily/metadata.json b/rules/S797/cfamily/metadata.json index 1d18d1c5065..aeaf1499047 100644 --- a/rules/S797/cfamily/metadata.json +++ b/rules/S797/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -19,9 +19,7 @@ "suspicious" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "TrigraphUsage" ] diff --git a/rules/S798/cfamily/metadata.json b/rules/S798/cfamily/metadata.json index cfb7a513631..6750107ccda 100644 --- a/rules/S798/cfamily/metadata.json +++ b/rules/S798/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -17,9 +17,7 @@ "obsolete" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "DigraphUsage" ] diff --git a/rules/S912/cfamily/metadata.json b/rules/S912/cfamily/metadata.json index ff0bf2323b8..a7b83da396b 100644 --- a/rules/S912/cfamily/metadata.json +++ b/rules/S912/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -17,9 +17,7 @@ "cert" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "SideEffectInRightHandSideOfLogical" ] diff --git a/rules/S916/cfamily/metadata.json b/rules/S916/cfamily/metadata.json index 42ece721442..fc2d2a31a10 100644 --- a/rules/S916/cfamily/metadata.json +++ b/rules/S916/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -19,9 +19,7 @@ "misra-c2012" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "SwitchLabelPlacement" ] diff --git a/rules/S923/java/metadata.json b/rules/S923/java/metadata.json index cf17da8e399..0c689610ae6 100644 --- a/rules/S923/java/metadata.json +++ b/rules/S923/java/metadata.json @@ -9,7 +9,7 @@ ], "code": { "impacts": { - "MAINTAINABILITY": "LOW" + "MAINTAINABILITY": "INFO" }, "attribute": "CLEAR" }, diff --git a/rules/S930/python/metadata.json b/rules/S930/python/metadata.json index 90082dd0a0e..c6cd02bbe8d 100644 --- a/rules/S930/python/metadata.json +++ b/rules/S930/python/metadata.json @@ -2,7 +2,7 @@ "title": "The number and name of arguments passed to a function should match its parameters", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, diff --git a/rules/S946/cfamily/metadata.json b/rules/S946/cfamily/metadata.json index 2705b9dc900..a324d5a851b 100644 --- a/rules/S946/cfamily/metadata.json +++ b/rules/S946/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-946", diff --git a/rules/S961/cfamily/metadata.json b/rules/S961/cfamily/metadata.json index 70ea28d0e6c..50664fe96ae 100644 --- a/rules/S961/cfamily/metadata.json +++ b/rules/S961/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "BUG", "code": { "impacts": { - "RELIABILITY": "HIGH" + "RELIABILITY": "BLOCKER" }, "attribute": "LOGICAL" }, @@ -18,12 +18,8 @@ "preprocessor" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-961", diff --git a/rules/S963/cfamily/metadata.json b/rules/S963/cfamily/metadata.json index e5fb825e4be..a965077bb87 100644 --- a/rules/S963/cfamily/metadata.json +++ b/rules/S963/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "COMPLETE" }, @@ -18,12 +18,8 @@ "misra-c2004" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-963", @@ -34,7 +30,6 @@ "PRE01-C." ] }, - "defaultQualityProfiles": [ - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S969/cfamily/metadata.json b/rules/S969/cfamily/metadata.json index c1a4312fa99..c5d882e40c0 100644 --- a/rules/S969/cfamily/metadata.json +++ b/rules/S969/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,12 +17,8 @@ "bad-practice" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-969", diff --git a/rules/S978/cfamily/metadata.json b/rules/S978/cfamily/metadata.json index e38eb7a1471..8e45c27e8a0 100644 --- a/rules/S978/cfamily/metadata.json +++ b/rules/S978/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -18,12 +18,8 @@ "cert" ], "extra": { - "replacementRules": [ - - ], - "legacyKeys": [ - - ] + "replacementRules": [], + "legacyKeys": [] }, "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-978", @@ -35,8 +31,6 @@ "DCL51-CPP." ] }, - "defaultQualityProfiles": [ - - ], + "defaultQualityProfiles": [], "quickfix": "unknown" } diff --git a/rules/S998/cfamily/metadata.json b/rules/S998/cfamily/metadata.json index 67cdd3e144e..d042f18ecf0 100644 --- a/rules/S998/cfamily/metadata.json +++ b/rules/S998/cfamily/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CONVENTIONAL" }, @@ -17,9 +17,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "GlobalMainFunction" ] diff --git a/rules/S999/metadata.json b/rules/S999/metadata.json index 9e04b5ed5b1..9b6d3bd3428 100644 --- a/rules/S999/metadata.json +++ b/rules/S999/metadata.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "CLEAR" }, @@ -16,9 +16,7 @@ "pitfall" ], "extra": { - "replacementRules": [ - - ], + "replacementRules": [], "legacyKeys": [ "BackJumpWithGoto", "BackwardsGoto"