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 842bb1ce42..f75b377d0a 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2316", - "sqKey": "BackticksUsage" + "sqKey": "BackticksUsage", + "scope": "Main" } 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 2b43a8efc4..baa245b120 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 @@ -13,5 +13,6 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1311", - "sqKey": "ClassComplexity" + "sqKey": "ClassComplexity", + "scope": "Main" } 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 bfebee44d7..409dfe60b6 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 @@ -7,5 +7,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-124", - "sqKey": "CommentRegularExpression" + "sqKey": "CommentRegularExpression", + "scope": "Main" } 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 4cdf924eb6..ea4cea6086 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 @@ -12,5 +12,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2317", - "sqKey": "ExecStatementUsage" + "sqKey": "ExecStatementUsage", + "scope": "Main" } 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 7c5b3cd578..af5384165b 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 @@ -13,5 +13,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1908", - "sqKey": "FileComplexity" + "sqKey": "FileComplexity", + "scope": "Main" } 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 f2cd6a5396..1707f240ce 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 @@ -13,5 +13,6 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1541", - "sqKey": "FunctionComplexity" + "sqKey": "FunctionComplexity", + "scope": "Main" } 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 e8ea0e26b2..2af8a9b1ae 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2318", - "sqKey": "InequalityUsage" + "sqKey": "InequalityUsage", + "scope": "Main" } 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 be4d801ef3..fa18cb1575 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-103", - "sqKey": "LineLength" + "sqKey": "LineLength", + "scope": "All" } 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 5952f8f515..d3fbf4966c 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1129", - "sqKey": "LongIntegerWithLowercaseSuffixUsage" + "sqKey": "LongIntegerWithLowercaseSuffixUsage", + "scope": "Main" } 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 09b3d148f3..b9410bf03c 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-122", - "sqKey": "OneStatementPerLine" + "sqKey": "OneStatementPerLine", + "scope": "All" } 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 447d8c9667..0f96bfb351 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2260", - "sqKey": "ParsingError" + "sqKey": "ParsingError", + "scope": "All" } 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 e2668bf405..7278befac2 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2319", - "sqKey": "PreIncrementDecrement" + "sqKey": "PreIncrementDecrement", + "scope": "Main" } 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 c8789b75d8..b068843d12 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 @@ -12,5 +12,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2320", - "sqKey": "PrintStatementUsage" + "sqKey": "PrintStatementUsage", + "scope": "Main" } 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 a020b954d7..f2dd7bf21f 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-100", - "sqKey": "S100" + "sqKey": "S100", + "scope": "All" } 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 7b710703f3..2872c88159 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-101", - "sqKey": "S101" + "sqKey": "S101", + "scope": "All" } 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 7364f02615..7381ba6d9d 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-104", - "sqKey": "S104" + "sqKey": "S104", + "scope": "All" } 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 b3d56c3947..b0e3e270e1 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1066", - "sqKey": "S1066" + "sqKey": "S1066", + "scope": "All" } 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 b219ffb3aa..6769f2ea46 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-107", - "sqKey": "S107" + "sqKey": "S107", + "scope": "All" } 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 9a05213f91..00df66a88c 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-108", - "sqKey": "S108" + "sqKey": "S108", + "scope": "All" } 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 b46ca593b3..d64788b56c 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1110", - "sqKey": "S1110" + "sqKey": "S1110", + "scope": "All" } 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 1cec9c5108..104eb8ac17 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-113", - "sqKey": "S113" + "sqKey": "S113", + "scope": "All" } 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 104b94a7b3..b926d3b723 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1131", - "sqKey": "S1131" + "sqKey": "S1131", + "scope": "Main" } 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 1335a97c76..1436329b83 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 @@ -10,5 +10,11 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1134", - "sqKey": "S1134" + "sqKey": "S1134", + "scope": "All", + "securityStandards": { + "CWE": [ + 546 + ] + } } 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 44b29928f5..cf4b37957f 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1142", - "sqKey": "S1142" + "sqKey": "S1142", + "scope": "Main" } 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 c0f0c0c420..2f4c5bf171 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-116", - "sqKey": "S116" + "sqKey": "S116", + "scope": "All" } 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 6851c63524..fb6df07c45 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-117", - "sqKey": "S117" + "sqKey": "S117", + "scope": "All" } 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 8991ec6f8d..0ebe60dc69 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 @@ -1,5 +1,5 @@ { - "title": "Sections of code should not be \"commented out\"", + "title": "Sections of code should not be commented out", "type": "CODE_SMELL", "status": "ready", "remediation": { @@ -12,5 +12,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-125", - "sqKey": "S125" + "sqKey": "S125", + "scope": "All" } 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 1ecc039fbe..2138937c29 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 @@ -1,6 +1,6 @@ { - "title": "IP addresses should not be hardcoded", - "type": "VULNERABILITY", + "title": "Using hardcoded IP addresses is security-sensitive", + "type": "SECURITY_HOTSPOT", "status": "ready", "remediation": { "func": "Constant\/Issue", @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1313", - "sqKey": "S1313" + "sqKey": "S1313", + "scope": "Main" } 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 bcd6a83096..b0ba9293b6 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-134", - "sqKey": "S134" + "sqKey": "S134", + "scope": "All" } 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 8f44b656c1..8ef76bb199 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-139", - "sqKey": "S139" + "sqKey": "S139", + "scope": "All" } 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 2a247d8c63..699bdaa7ff 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1481", - "sqKey": "S1481" + "sqKey": "S1481", + "scope": "All" } 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 eb10ce39b7..0040798c18 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1542", - "sqKey": "S1542" + "sqKey": "S1542", + "scope": "Main" } 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 f3dda89b6d..440080ad37 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 @@ -12,5 +12,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1578", - "sqKey": "S1578" + "sqKey": "S1578", + "scope": "Main" } 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 1f6413e6c7..93e47bc5c3 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1656", - "sqKey": "S1656" + "sqKey": "S1656", + "scope": "All" } 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 b1f390498f..0a96bc8dba 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1700", - "sqKey": "S1700" + "sqKey": "S1700", + "scope": "All" } 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 9185078f56..0e4d9f9fb1 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 @@ -7,5 +7,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1707", - "sqKey": "S1707" + "sqKey": "S1707", + "scope": "Main" } 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 e007101aaf..19152658c4 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1716", - "sqKey": "S1716" + "sqKey": "S1716", + "scope": "Main" } 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 e392f2ea19..3383211859 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1717", - "sqKey": "S1717" + "sqKey": "S1717", + "scope": "Main" } 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 f8fe993444..4fc17ab5c7 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1720", - "sqKey": "S1720" + "sqKey": "S1720", + "scope": "Main" } 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 46f9ffdcd5..cb38075113 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1721", - "sqKey": "S1721" + "sqKey": "S1721", + "scope": "Main" } 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 3c5c50b319..75dabd7cb3 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1722", - "sqKey": "S1722" + "sqKey": "S1722", + "scope": "Main" } 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 93d41648be..0107052975 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 @@ -17,5 +17,11 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1763", - "sqKey": "S1763" + "sqKey": "S1763", + "scope": "All", + "securityStandards": { + "CWE": [ + 561 + ] + } } 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 7288fd19b3..411e715720 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1764", - "sqKey": "S1764" + "sqKey": "S1764", + "scope": "All" } 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 094c06483d..7c1ee4a996 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 @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1845", - "sqKey": "S1845" + "sqKey": "S1845", + "scope": "All" } 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 e072377e72..7b9a092eb1 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,5 +13,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1862", - "sqKey": "S1862" + "sqKey": "S1862", + "scope": "All" } 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 4b0b339a72..64e8023d60 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 @@ -12,5 +12,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1871", - "sqKey": "S1871" + "sqKey": "S1871", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2325.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2325.json index b32b0f1ea0..badfddcf9f 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2325.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2325.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2325", - "sqKey": "S2325" + "sqKey": "S2325", + "scope": "All" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2711.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2711.json index afc4f5fdb8..779297acc5 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2711.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2711.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2711", - "sqKey": "S2711" + "sqKey": "S2711", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2712.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2712.json index f9e2bcd083..d3a89d9289 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2712.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2712.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2712", - "sqKey": "S2712" + "sqKey": "S2712", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2733.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2733.json index b8131490c7..1501d5da9a 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2733.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2733.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2733", - "sqKey": "S2733" + "sqKey": "S2733", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2734.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2734.json index 51a21183a8..ecda906bd7 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2734.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2734.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2734", - "sqKey": "S2734" + "sqKey": "S2734", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2772.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2772.json index 3bf6a0fc08..a5d7c64674 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2772.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S2772.json @@ -11,5 +11,6 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2772", - "sqKey": "S2772" + "sqKey": "S2772", + "scope": "Main" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S3776.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S3776.json index 5a2e134295..6a53a67a06 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S3776.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S3776.json @@ -13,5 +13,6 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-3776", - "sqKey": "S3776" + "sqKey": "S3776", + "scope": "All" } diff --git a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/XPath.json b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/XPath.json index db9432e1d8..a2ec414ff0 100644 --- a/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/XPath.json +++ b/python-checks/src/main/resources/org/sonar/l10n/py/rules/python/XPath.json @@ -7,5 +7,6 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-140", - "sqKey": "XPath" + "sqKey": "XPath", + "scope": "Main" } diff --git a/sonarpedia.json b/sonarpedia.json index 826475f747..a69d423e78 100644 --- a/sonarpedia.json +++ b/sonarpedia.json @@ -3,5 +3,9 @@ "languages": [ "PY" ], - "latest-update": "2018-04-16T07:10:35.288Z" + "latest-update": "2019-01-17T15:53:26.569Z", + "options": { + "no-language-in-filenames": true, + "preserve-filenames": true + } } \ No newline at end of file