From e2b05efb27ee74c53d6e78dbe23774cefaa42af2 Mon Sep 17 00:00:00 2001 From: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com> Date: Fri, 5 Nov 2021 15:39:52 +0100 Subject: [PATCH] Update rule metadata (#985) --- .../l10n/py/rules/python/BackticksUsage.json | 3 +- .../l10n/py/rules/python/ClassComplexity.json | 3 +- .../python/CommentRegularExpression.json | 3 +- .../py/rules/python/ExecStatementUsage.json | 3 +- .../l10n/py/rules/python/FileComplexity.json | 3 +- .../py/rules/python/FunctionComplexity.json | 3 +- .../l10n/py/rules/python/InequalityUsage.json | 3 +- .../l10n/py/rules/python/LineLength.json | 3 +- .../LongIntegerWithLowercaseSuffixUsage.json | 3 +- .../py/rules/python/OneStatementPerLine.json | 3 +- .../l10n/py/rules/python/ParsingError.json | 3 +- .../rules/python/PreIncrementDecrement.json | 3 +- .../py/rules/python/PrintStatementUsage.json | 3 +- .../org/sonar/l10n/py/rules/python/S100.json | 3 +- .../org/sonar/l10n/py/rules/python/S101.json | 3 +- .../org/sonar/l10n/py/rules/python/S104.json | 3 +- .../org/sonar/l10n/py/rules/python/S1045.json | 6 +- .../org/sonar/l10n/py/rules/python/S1066.json | 3 +- .../org/sonar/l10n/py/rules/python/S107.json | 3 +- .../org/sonar/l10n/py/rules/python/S108.json | 3 +- .../org/sonar/l10n/py/rules/python/S1110.json | 3 +- .../org/sonar/l10n/py/rules/python/S112.html | 3 +- .../org/sonar/l10n/py/rules/python/S112.json | 6 +- .../org/sonar/l10n/py/rules/python/S113.json | 3 +- .../org/sonar/l10n/py/rules/python/S1131.json | 3 +- .../org/sonar/l10n/py/rules/python/S1134.html | 2 +- .../org/sonar/l10n/py/rules/python/S1134.json | 5 +- .../org/sonar/l10n/py/rules/python/S1142.json | 3 +- .../org/sonar/l10n/py/rules/python/S1143.json | 8 +- .../org/sonar/l10n/py/rules/python/S1144.json | 3 +- .../org/sonar/l10n/py/rules/python/S116.json | 3 +- .../org/sonar/l10n/py/rules/python/S117.json | 3 +- .../org/sonar/l10n/py/rules/python/S1186.json | 3 +- .../org/sonar/l10n/py/rules/python/S1192.json | 3 +- .../org/sonar/l10n/py/rules/python/S1226.json | 3 +- .../org/sonar/l10n/py/rules/python/S125.json | 3 +- .../org/sonar/l10n/py/rules/python/S1313.html | 2 +- .../org/sonar/l10n/py/rules/python/S1313.json | 4 +- .../org/sonar/l10n/py/rules/python/S134.json | 3 +- .../org/sonar/l10n/py/rules/python/S139.json | 3 +- .../org/sonar/l10n/py/rules/python/S1481.json | 3 +- .../org/sonar/l10n/py/rules/python/S1515.json | 3 +- .../org/sonar/l10n/py/rules/python/S1523.html | 8 +- .../org/sonar/l10n/py/rules/python/S1523.json | 6 +- .../org/sonar/l10n/py/rules/python/S1542.json | 3 +- .../org/sonar/l10n/py/rules/python/S1578.html | 4 - .../org/sonar/l10n/py/rules/python/S1578.json | 6 +- .../org/sonar/l10n/py/rules/python/S1656.html | 5 - .../org/sonar/l10n/py/rules/python/S1656.json | 8 +- .../org/sonar/l10n/py/rules/python/S1700.json | 3 +- .../org/sonar/l10n/py/rules/python/S1707.json | 3 +- .../org/sonar/l10n/py/rules/python/S1716.json | 3 +- .../org/sonar/l10n/py/rules/python/S1717.json | 3 +- .../org/sonar/l10n/py/rules/python/S1720.json | 3 +- .../org/sonar/l10n/py/rules/python/S1721.json | 3 +- .../org/sonar/l10n/py/rules/python/S1722.json | 3 +- .../org/sonar/l10n/py/rules/python/S1751.json | 3 +- .../org/sonar/l10n/py/rules/python/S1763.html | 5 +- .../org/sonar/l10n/py/rules/python/S1763.json | 9 +- .../org/sonar/l10n/py/rules/python/S1764.html | 2 - .../org/sonar/l10n/py/rules/python/S1764.json | 8 +- .../org/sonar/l10n/py/rules/python/S1845.json | 3 +- .../org/sonar/l10n/py/rules/python/S1854.html | 4 +- .../org/sonar/l10n/py/rules/python/S1854.json | 9 +- .../org/sonar/l10n/py/rules/python/S1862.html | 5 - .../org/sonar/l10n/py/rules/python/S1862.json | 8 +- .../org/sonar/l10n/py/rules/python/S1871.json | 3 +- .../org/sonar/l10n/py/rules/python/S2053.html | 5 +- .../org/sonar/l10n/py/rules/python/S2053.json | 6 +- .../org/sonar/l10n/py/rules/python/S2068.html | 9 +- .../org/sonar/l10n/py/rules/python/S2068.json | 4 +- .../org/sonar/l10n/py/rules/python/S2077.html | 4 +- .../org/sonar/l10n/py/rules/python/S2077.json | 4 +- .../org/sonar/l10n/py/rules/python/S2092.html | 9 +- .../org/sonar/l10n/py/rules/python/S2092.json | 4 + .../org/sonar/l10n/py/rules/python/S2115.html | 2 + .../org/sonar/l10n/py/rules/python/S2115.json | 6 +- .../org/sonar/l10n/py/rules/python/S2159.json | 6 +- .../org/sonar/l10n/py/rules/python/S2190.json | 3 +- .../org/sonar/l10n/py/rules/python/S2201.html | 2 - .../org/sonar/l10n/py/rules/python/S2201.json | 7 +- .../org/sonar/l10n/py/rules/python/S2208.json | 3 +- .../org/sonar/l10n/py/rules/python/S2245.html | 5 +- .../org/sonar/l10n/py/rules/python/S2245.json | 10 +- .../org/sonar/l10n/py/rules/python/S2257.html | 3 +- .../org/sonar/l10n/py/rules/python/S2257.json | 3 + .../org/sonar/l10n/py/rules/python/S2275.json | 6 +- .../org/sonar/l10n/py/rules/python/S2325.json | 3 +- .../org/sonar/l10n/py/rules/python/S2612.html | 8 +- .../org/sonar/l10n/py/rules/python/S2612.json | 6 +- .../org/sonar/l10n/py/rules/python/S2638.json | 3 +- .../org/sonar/l10n/py/rules/python/S2710.json | 3 +- .../org/sonar/l10n/py/rules/python/S2711.json | 3 +- .../org/sonar/l10n/py/rules/python/S2712.json | 3 +- .../org/sonar/l10n/py/rules/python/S2733.json | 3 +- .../org/sonar/l10n/py/rules/python/S2734.json | 3 +- .../org/sonar/l10n/py/rules/python/S2737.json | 3 +- .../org/sonar/l10n/py/rules/python/S2755.html | 5 +- .../org/sonar/l10n/py/rules/python/S2755.json | 6 +- .../org/sonar/l10n/py/rules/python/S2757.json | 3 +- .../org/sonar/l10n/py/rules/python/S2772.json | 3 +- .../org/sonar/l10n/py/rules/python/S2823.json | 3 +- .../org/sonar/l10n/py/rules/python/S2836.json | 3 +- .../org/sonar/l10n/py/rules/python/S3329.html | 7 +- .../org/sonar/l10n/py/rules/python/S3329.json | 13 ++- .../org/sonar/l10n/py/rules/python/S3330.html | 5 +- .../org/sonar/l10n/py/rules/python/S3330.json | 4 +- .../org/sonar/l10n/py/rules/python/S3358.json | 3 +- .../org/sonar/l10n/py/rules/python/S3403.json | 3 +- .../org/sonar/l10n/py/rules/python/S3457.json | 6 +- .../org/sonar/l10n/py/rules/python/S3516.json | 3 +- .../org/sonar/l10n/py/rules/python/S3626.json | 3 +- .../org/sonar/l10n/py/rules/python/S3752.html | 2 + .../org/sonar/l10n/py/rules/python/S3752.json | 4 + .../org/sonar/l10n/py/rules/python/S3776.json | 3 +- .../org/sonar/l10n/py/rules/python/S3827.json | 3 +- .../org/sonar/l10n/py/rules/python/S3862.json | 3 +- .../org/sonar/l10n/py/rules/python/S3923.json | 3 +- .../org/sonar/l10n/py/rules/python/S3981.json | 3 +- .../org/sonar/l10n/py/rules/python/S3984.json | 3 +- .../org/sonar/l10n/py/rules/python/S3985.json | 3 +- .../org/sonar/l10n/py/rules/python/S4143.json | 3 +- .../org/sonar/l10n/py/rules/python/S4144.json | 3 +- .../org/sonar/l10n/py/rules/python/S4423.html | 3 + .../org/sonar/l10n/py/rules/python/S4423.json | 7 +- .../org/sonar/l10n/py/rules/python/S4426.html | 1 + .../org/sonar/l10n/py/rules/python/S4426.json | 6 +- .../org/sonar/l10n/py/rules/python/S4433.html | 4 +- .../org/sonar/l10n/py/rules/python/S4433.json | 6 +- .../org/sonar/l10n/py/rules/python/S4487.json | 7 +- .../org/sonar/l10n/py/rules/python/S4502.html | 1 + .../org/sonar/l10n/py/rules/python/S4502.json | 3 + .../org/sonar/l10n/py/rules/python/S4507.html | 9 +- .../org/sonar/l10n/py/rules/python/S4507.json | 3 + .../org/sonar/l10n/py/rules/python/S4721.html | 7 +- .../org/sonar/l10n/py/rules/python/S4721.json | 6 +- .../org/sonar/l10n/py/rules/python/S4784.html | 2 +- .../org/sonar/l10n/py/rules/python/S4787.html | 14 +-- .../org/sonar/l10n/py/rules/python/S4790.html | 5 +- .../org/sonar/l10n/py/rules/python/S4790.json | 7 +- .../org/sonar/l10n/py/rules/python/S4792.html | 5 +- .../org/sonar/l10n/py/rules/python/S4792.json | 6 +- .../org/sonar/l10n/py/rules/python/S4830.html | 4 + .../org/sonar/l10n/py/rules/python/S4830.json | 9 +- .../org/sonar/l10n/py/rules/python/S5042.html | 100 ++++++++++++++++-- .../org/sonar/l10n/py/rules/python/S5042.json | 5 +- .../org/sonar/l10n/py/rules/python/S5122.html | 3 + .../org/sonar/l10n/py/rules/python/S5122.json | 4 + .../org/sonar/l10n/py/rules/python/S5247.html | 6 +- .../org/sonar/l10n/py/rules/python/S5247.json | 13 +-- .../org/sonar/l10n/py/rules/python/S5332.html | 48 ++++++--- .../org/sonar/l10n/py/rules/python/S5332.json | 3 + .../org/sonar/l10n/py/rules/python/S5439.json | 3 +- .../org/sonar/l10n/py/rules/python/S5443.html | 7 +- .../org/sonar/l10n/py/rules/python/S5443.json | 3 + .../org/sonar/l10n/py/rules/python/S5445.html | 7 +- .../org/sonar/l10n/py/rules/python/S5445.json | 6 +- .../org/sonar/l10n/py/rules/python/S5527.html | 4 + .../org/sonar/l10n/py/rules/python/S5527.json | 11 +- .../org/sonar/l10n/py/rules/python/S5542.html | 1 + .../org/sonar/l10n/py/rules/python/S5542.json | 7 +- .../org/sonar/l10n/py/rules/python/S5547.html | 1 + .../org/sonar/l10n/py/rules/python/S5547.json | 7 +- .../org/sonar/l10n/py/rules/python/S5549.json | 3 +- .../org/sonar/l10n/py/rules/python/S5603.json | 3 +- .../org/sonar/l10n/py/rules/python/S5607.json | 3 +- .../org/sonar/l10n/py/rules/python/S5632.json | 3 +- .../org/sonar/l10n/py/rules/python/S5644.json | 3 +- .../org/sonar/l10n/py/rules/python/S5655.json | 3 +- .../org/sonar/l10n/py/rules/python/S5659.html | 1 + .../org/sonar/l10n/py/rules/python/S5659.json | 6 +- .../org/sonar/l10n/py/rules/python/S5685.json | 3 +- .../org/sonar/l10n/py/rules/python/S5704.json | 3 +- .../org/sonar/l10n/py/rules/python/S5706.json | 3 +- .../org/sonar/l10n/py/rules/python/S5707.json | 3 +- .../org/sonar/l10n/py/rules/python/S5708.json | 3 +- .../org/sonar/l10n/py/rules/python/S5709.json | 3 +- .../org/sonar/l10n/py/rules/python/S5712.json | 3 +- .../org/sonar/l10n/py/rules/python/S5713.json | 3 +- .../org/sonar/l10n/py/rules/python/S5714.json | 3 +- .../org/sonar/l10n/py/rules/python/S5717.json | 3 +- .../org/sonar/l10n/py/rules/python/S5719.json | 3 +- .../org/sonar/l10n/py/rules/python/S5720.json | 3 +- .../org/sonar/l10n/py/rules/python/S5722.json | 3 +- .../org/sonar/l10n/py/rules/python/S5724.json | 3 +- .../org/sonar/l10n/py/rules/python/S5727.json | 3 +- .../org/sonar/l10n/py/rules/python/S5747.json | 3 +- .../org/sonar/l10n/py/rules/python/S5754.html | 2 +- .../org/sonar/l10n/py/rules/python/S5754.json | 3 +- .../org/sonar/l10n/py/rules/python/S5756.json | 3 +- .../org/sonar/l10n/py/rules/python/S5780.json | 3 +- .../org/sonar/l10n/py/rules/python/S5781.json | 3 +- .../org/sonar/l10n/py/rules/python/S5795.json | 3 +- .../org/sonar/l10n/py/rules/python/S5796.json | 3 +- .../org/sonar/l10n/py/rules/python/S5797.json | 3 +- .../org/sonar/l10n/py/rules/python/S5799.json | 3 +- .../org/sonar/l10n/py/rules/python/S5806.json | 3 +- .../org/sonar/l10n/py/rules/python/S5807.json | 3 +- .../org/sonar/l10n/py/rules/python/S5828.json | 3 +- .../org/sonar/l10n/py/rules/python/S5843.html | 37 +++++++ .../org/sonar/l10n/py/rules/python/S5864.json | 3 +- .../org/sonar/l10n/py/rules/python/S5868.html | 4 +- .../org/sonar/l10n/py/rules/python/S5886.json | 3 +- .../org/sonar/l10n/py/rules/python/S5890.json | 3 +- .../org/sonar/l10n/py/rules/python/S5953.json | 3 +- .../org/sonar/l10n/py/rules/python/S6035.html | 2 +- .../org/sonar/l10n/py/rules/python/S905.html | 2 +- .../org/sonar/l10n/py/rules/python/S905.json | 3 +- .../org/sonar/l10n/py/rules/python/S930.html | 6 +- .../org/sonar/l10n/py/rules/python/S930.json | 7 +- .../py/rules/python/Sonar_way_profile.json | 2 + sonarpedia.json | 2 +- 212 files changed, 661 insertions(+), 378 deletions(-) diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/BackticksUsage.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/BackticksUsage.json index 88e0932ac6..a30d384990 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/BackticksUsage.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/BackticksUsage.json @@ -12,5 +12,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2316", "sqKey": "BackticksUsage", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ClassComplexity.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ClassComplexity.json index e44cfda796..3281a65e91 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ClassComplexity.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ClassComplexity.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1311", "sqKey": "ClassComplexity", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/CommentRegularExpression.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/CommentRegularExpression.json index efd5fe7416..e8530b4cf5 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/CommentRegularExpression.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/CommentRegularExpression.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-124", "sqKey": "CommentRegularExpression", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ExecStatementUsage.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ExecStatementUsage.json index 6e31982048..82a48e43cb 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ExecStatementUsage.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ExecStatementUsage.json @@ -13,5 +13,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2317", "sqKey": "ExecStatementUsage", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FileComplexity.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FileComplexity.json index 88d3e32985..ca41433aa6 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FileComplexity.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FileComplexity.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1908", "sqKey": "FileComplexity", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FunctionComplexity.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FunctionComplexity.json index 36e6871cc1..d3a956d609 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FunctionComplexity.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/FunctionComplexity.json @@ -14,5 +14,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1541", "sqKey": "FunctionComplexity", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/InequalityUsage.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/InequalityUsage.json index 0d1c5fb625..33f59e1165 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/InequalityUsage.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/InequalityUsage.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2318", "sqKey": "InequalityUsage", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LineLength.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LineLength.json index fa18cb1575..8389c57f71 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LineLength.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LineLength.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-103", "sqKey": "LineLength", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LongIntegerWithLowercaseSuffixUsage.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LongIntegerWithLowercaseSuffixUsage.json index 7f27a828c6..2a40c8d8a8 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LongIntegerWithLowercaseSuffixUsage.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/LongIntegerWithLowercaseSuffixUsage.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1129", "sqKey": "LongIntegerWithLowercaseSuffixUsage", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/OneStatementPerLine.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/OneStatementPerLine.json index 3577def030..b804d1c612 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/OneStatementPerLine.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/OneStatementPerLine.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-122", "sqKey": "OneStatementPerLine", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ParsingError.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ParsingError.json index 0f96bfb351..d64462f4c8 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ParsingError.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/ParsingError.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2260", "sqKey": "ParsingError", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PreIncrementDecrement.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PreIncrementDecrement.json index 018c6968a1..7781469ebb 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PreIncrementDecrement.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PreIncrementDecrement.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2319", "sqKey": "PreIncrementDecrement", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PrintStatementUsage.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PrintStatementUsage.json index b068843d12..c54250ce00 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PrintStatementUsage.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/PrintStatementUsage.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2320", "sqKey": "PrintStatementUsage", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S100.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S100.json index f2dd7bf21f..d33ba17407 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S100.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S100.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-100", "sqKey": "S100", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S101.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S101.json index 2872c88159..a3f372d5ec 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S101.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S101.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-101", "sqKey": "S101", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S104.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S104.json index 7381ba6d9d..fb141bb6c4 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S104.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S104.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-104", "sqKey": "S104", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1045.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1045.json index a6d09d42b2..97eac449e3 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1045.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1045.json @@ -11,9 +11,5 @@ "ruleSpecification": "RSPEC-1045", "sqKey": "S1045", "scope": "Main", - "securityStandards": { - "CERT": [ - "ERR54-CPP." - ] - } + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1066.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1066.json index b0e3e270e1..16f59cf6f3 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1066.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1066.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1066", "sqKey": "S1066", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S107.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S107.json index 6769f2ea46..806b00323b 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S107.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S107.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-107", "sqKey": "S107", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S108.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S108.json index 00df66a88c..4061cc7fe9 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S108.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S108.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-108", "sqKey": "S108", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1110.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1110.json index d64788b56c..c154ef1314 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1110.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1110.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1110", "sqKey": "S1110", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.html index dcac633849..df5d772bc8 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.html @@ -86,7 +86,6 @@

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.json index 17e8b66d5c..dc97fd0683 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S112.json @@ -17,9 +17,7 @@ "securityStandards": { "CWE": [ 397 - ], - "CERT": [ - "ERR07-J." ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S113.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S113.json index 104eb8ac17..12bc3b90c9 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S113.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S113.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-113", "sqKey": "S113", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1131.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1131.json index b926d3b723..aac7ccdf90 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1131.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1131.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1131", "sqKey": "S1131", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.html index eee5db9c95..69ba8d7136 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.html @@ -8,6 +8,6 @@

Noncompliant Code Example

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.json index ebf8149c01..d4579b29bd 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1134.json @@ -12,10 +12,11 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1134", "sqKey": "S1134", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 546 ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1142.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1142.json index cf4b37957f..ea733ddb92 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1142.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1142.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1142", "sqKey": "S1142", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1143.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1143.json index 92fbb8f70a..f3f11a4f8f 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1143.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1143.json @@ -13,13 +13,11 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1143", "sqKey": "S1143", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 584 - ], - "CERT": [ - "ERR04-J." ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1144.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1144.json index e87f6bbb0c..afb260c097 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1144.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1144.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1144", "sqKey": "S1144", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S116.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S116.json index 2f4c5bf171..e49795d477 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S116.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S116.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-116", "sqKey": "S116", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S117.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S117.json index fb6df07c45..204b18feb6 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S117.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S117.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-117", "sqKey": "S117", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1186.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1186.json index cbb5ed1046..29f3748d54 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1186.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1186.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1186", "sqKey": "S1186", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1192.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1192.json index dedd32b5ba..e42fac08c1 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1192.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1192.json @@ -14,5 +14,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1192", "sqKey": "S1192", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1226.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1226.json index 61672a158c..cf17fe85a9 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1226.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1226.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1226", "sqKey": "S1226", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S125.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S125.json index 81617e679f..e6bd6e3ddf 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S125.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S125.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-125", "sqKey": "S125", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.html index 1a8c0f0197..3a4f29aaba 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.html @@ -48,8 +48,8 @@

Exceptions

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.json index a201d777f3..b2e2c15e7e 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.json @@ -17,8 +17,8 @@ "OWASP": [ "A3" ], - "CERT": [ - "MSC03-J." + "OWASP Top 10 2021": [ + "A1" ] } } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S134.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S134.json index b0ba9293b6..bdc78f7bfe 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S134.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S134.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-134", "sqKey": "S134", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S139.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S139.json index 8ef76bb199..88077f0cfc 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S139.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S139.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-139", "sqKey": "S139", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1481.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1481.json index 699bdaa7ff..9adebb0e8a 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1481.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1481.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1481", "sqKey": "S1481", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1515.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1515.json index de51af94a7..b1f21240ea 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1515.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1515.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1515", "sqKey": "S1515", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.html index d3063a35aa..543b47fb4d 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.html @@ -44,13 +44,11 @@

Sensitive Code Example

See

- - -

Deprecated

This rule is deprecated, and will eventually be removed.

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.json index c9ecca4d75..d10fcf98ff 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1523.json @@ -21,6 +21,10 @@ ], "OWASP": [ "A1" + ], + "OWASP Top 10 2021": [ + "A3" ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1542.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1542.json index 0040798c18..3860b264df 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1542.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1542.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1542", "sqKey": "S1542", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.html index b3efdef973..0b294e31b1 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.html @@ -1,6 +1,2 @@

Shared coding conventions allow teams to collaborate effectively. For that reason, module names should conform to a defined standard.

-

See

- diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.json index 0987cf2bdf..82c1891f50 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1578.json @@ -13,9 +13,5 @@ "ruleSpecification": "RSPEC-1578", "sqKey": "S1578", "scope": "Main", - "securityStandards": { - "CERT": [ - "MSC09-C." - ] - } + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.html index 2ed53abe72..3248161310 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.html @@ -8,9 +8,4 @@

Compliant Solution

 name = other.name
 
-

See

- diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.json index 58cd957a8a..9495556890 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1656.json @@ -10,10 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1656", "sqKey": "S1656", - "scope": "All", - "securityStandards": { - "CERT": [ - "MSC12-C." - ] - } + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1700.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1700.json index 0a96bc8dba..15e9df244b 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1700.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1700.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1700", "sqKey": "S1700", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1707.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1707.json index 9ca7140705..58a5bc6b46 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1707.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1707.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1707", "sqKey": "S1707", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1716.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1716.json index 7021d46433..9fa857cb8c 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1716.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1716.json @@ -10,5 +10,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1716", "sqKey": "S1716", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1717.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1717.json index f47c891e6b..947cca6b0c 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1717.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1717.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1717", "sqKey": "S1717", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1720.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1720.json index a36cfa6d25..d6562664aa 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1720.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1720.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1720", "sqKey": "S1720", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1721.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1721.json index b9effe23ee..e40c5817bf 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1721.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1721.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1721", "sqKey": "S1721", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1722.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1722.json index 75dabd7cb3..461548824a 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1722.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1722.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1722", "sqKey": "S1722", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1751.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1751.json index b3dc00ddd7..3a47297aaf 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1751.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1751.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1751", "sqKey": "S1751", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.html index 6118717051..ebaacd0726 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.html @@ -15,9 +15,6 @@

Compliant Solution

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.json index 5232dee4ea..b1d36db010 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1763.json @@ -13,14 +13,11 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1763", "sqKey": "S1763", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 561 - ], - "CERT": [ - "MSC12-C.", - "MSC56-J." ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.html index 477d8e69f4..c5dfdb4aec 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.html @@ -28,8 +28,6 @@

Exceptions

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.json index b56a944cdd..cdc939506f 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1764.json @@ -10,10 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1764", "sqKey": "S1764", - "scope": "All", - "securityStandards": { - "CERT": [ - "MSC12-C." - ] - } + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1845.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1845.json index 7c1ee4a996..3fc5cec35d 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1845.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1845.json @@ -12,5 +12,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1845", "sqKey": "S1845", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.html index fea9a19d0d..80210aad13 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.html @@ -19,8 +19,6 @@

Exceptions

No issue will be raised on unpacked variables.

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.json index 4fc3d7071e..7bd2f80edc 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1854.json @@ -13,14 +13,11 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1854", "sqKey": "S1854", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 563 - ], - "CERT": [ - "MSC13-C.", - "MSC56-J." ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.html index d6f2697441..11ab473639 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.html @@ -20,9 +20,4 @@

Compliant Solution

elif param == 3: moveWindowToTheBackground() -

See

- diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.json index 24820ab4f6..6829fd942d 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1862.json @@ -13,10 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1862", "sqKey": "S1862", - "scope": "All", - "securityStandards": { - "CERT": [ - "MSC12-C." - ] - } + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1871.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1871.json index 64e8023d60..9343196d2b 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1871.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1871.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1871", "sqKey": "S1871", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.html index 160558482d..88abeb56db 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.html @@ -37,10 +37,11 @@

Compliant Solution

See

diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.json index dbb2584fdd..79404b7f53 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2053.json @@ -22,6 +22,10 @@ ], "OWASP": [ "A3" + ], + "OWASP Top 10 2021": [ + "A2" ] - } + }, + "quickfix": "unknown" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.html index 5f831eacd0..3029cf53e5 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.html @@ -21,7 +21,7 @@

Recommended Secure Coding Practices

  • Store the credentials in a configuration file that is not pushed to the code repository.
  • Store the credentials in a database.
  • Use your cloud provider’s service for managing secrets.
  • -
  • If the a password has been disclosed through the source code: change it.
  • +
  • If a password has been disclosed through the source code: change it.
  • Sensitive Code Example

    @@ -39,10 +39,11 @@ 

    Compliant Solution

    See

    diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.json index 219a8c69aa..1fdfc14412 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2068.json @@ -23,8 +23,8 @@ "OWASP": [ "A2" ], - "CERT": [ - "MSC03-J." + "OWASP Top 10 2021": [ + "A7" ] } } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2077.html b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2077.html index 102f753b2b..a7783fc1a3 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2077.html +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2077.html @@ -57,14 +57,14 @@

    Compliant Solution

    See