2075 Commits

Author SHA1 Message Date
Christophe Zürn
0195cdabdd Update docs/description.adoc
Co-authored-by: Victor <106590915+victor-diez-sonarsource@users.noreply.github.com>
2023-05-05 16:29:04 +02:00
Christophe Zurn
daea3fea27 RULEAPI-785 RSPEC: education format "How to fix it" section should be optional 2023-05-05 16:29:04 +02:00
leonardo-pilastri-sonarsource
8e459cca14
Modify SE engine rules to add "symbolic-execution" tag (#1832) 2023-05-05 14:46:46 +02:00
github-actions[bot]
b0742c3e3c
Create rule S6560: The "safe" flag should be set to "False" when serializing non-dictionary objects in Django JSON-encoded responses. (#1710) 2023-05-05 13:55:31 +02:00
github-actions[bot]
7f890693f2
Create rule S6553: "null=True": should not be used on string-based fields in Django models. (#1700) 2023-05-05 13:55:03 +02:00
Loghin Vlad-Andrei
f7d6054b33
Modify rule S1912: CPP-4028 Take namespace into consideration 2023-05-05 13:31:02 +02:00
github-actions[bot]
2d8ac8b990
Create rule S6556: "locals()" should not be passed to a Django "render()" function (#1704) 2023-05-05 11:16:01 +02:00
github-actions[bot]
16956d8f02
Create rule S6552: Django signal handler functions should have the '@receiver' decorator on top of all other decorators (#1699) 2023-05-05 11:13:03 +02:00
Rudy Regazzoni
d6a6439e46
Add bicep and json for language support in code example (#1830) 2023-05-05 11:12:16 +02:00
github-actions[bot]
2d05428763
Create rule S6554: Django models should define a "__str__" method (#1701) 2023-05-05 11:11:48 +02:00
SonarTech
8a133038fa update coverage information 2023-05-05 00:32:25 +00:00
github-actions[bot]
3481875247
Create rule S6615: Variables assigned values should be read (#1805) 2023-05-04 16:42:22 +02:00
github-actions[bot]
dd8eded953
Create rule S6515: Singleton pattern should use object declarations or expressions (#1626) 2023-05-04 16:41:14 +02:00
github-actions[bot]
09e88a583f
Create rule S6558: Implicit "it" lambda parameter should not be declared (#1707) 2023-05-04 16:39:11 +02:00
Jamie Anderson
bce2ff34ca
Modify rule S6506: Add examples for wget (#1777) 2023-05-04 16:09:43 +02:00
Rudy Regazzoni
31f3a23b45
Add language AzureResourceManager as a supported language (#1827) 2023-05-04 11:55:34 +02:00
gaetan-ferry-sonarsource
87ae044584
Modify rule S6437: Change the issue message for Docker and secret generation (APPSEC-628) (#1760) 2023-05-04 11:07:33 +02:00
github-actions[bot]
5abc6e40d0
Create rule S6531: Redundant type casts and type checks should be removed (#1649) 2023-05-03 14:05:01 +02:00
github-actions[bot]
ca5b7a7293
Create rule S6530: Type casts and type checks that can never succeed should be removed (#1648) 2023-05-03 14:04:35 +02:00
github-actions[bot]
67801dc934
Create rule S6529: Expression should be simplified with "isEmpty", "isNotEmpty" or "isNullOrEmpty" (#1647) 2023-05-03 14:02:20 +02:00
github-actions[bot]
df3fc5dcb6
Create rule S6559: Fields of a Django ModelFom should be defined explicitly (#1709) 2023-05-03 09:47:55 +02:00
SonarTech
8327d20fbd update coverage information 2023-05-03 00:33:07 +00:00
github-actions[bot]
bee7d2fd70
Create rule S6532: Check for preconditions should be simplified (#1650) 2023-05-02 11:46:54 +02:00
SonarTech
c28072f8a4 update coverage information 2023-05-02 00:32:34 +00:00
Dorian Burihabwa
3cb704d321
Modify rule S2589: Remove CERT tag (#1791)
Remove CERT tag as no link to the CERT is present in the documentation.
2023-05-01 11:53:19 +02:00
Dorian Burihabwa
57a4ef2302
Modify rule S2326: Remove CERT tag (#1789) 2023-05-01 11:52:50 +02:00
SonarTech
a1c8fa83db update coverage information 2023-04-29 00:34:14 +00:00
Ilia Kebets
d7824d65a3
Modify rule S6544: Fix code example (#1824) 2023-04-28 08:19:33 +02:00
SonarTech
ad714e2436 update coverage information 2023-04-28 00:32:46 +00:00
github-actions[bot]
c9577afe58
Create rule S6418 (#1821) 2023-04-27 13:11:55 +02:00
Costin Zaharia
5352da5b03
Add Benchmarks as a supported section on Resources (#1812) 2023-04-27 10:07:31 +02:00
Rudy Regazzoni
417657ca60
Deprecate rule S2041 (#1806) 2023-04-27 08:34:13 +02:00
SonarTech
3756ee87ee update coverage information 2023-04-27 00:34:36 +00:00
github-actions[bot]
db66f80f07
Create rule S6547: Environment variables should not be defined from untrusted input (APPSEC-541) (#1685)
Implementation ticket:
[SONARSEC-3702](https://sonarsource.atlassian.net/browse/SONARSEC-3702)
Specification ticket:
[APPSEC-541](https://sonarsource.atlassian.net/browse/APPSEC-541)
2023-04-26 17:32:09 +02:00
Ilia Kebets
4e2eb2893b
Modify rule S6544: Make pseudo header visible and fix list (#1818) 2023-04-26 16:14:27 +02:00
Ilia Kebets
c7667b44e7
Modify rule S6578: Add resources link to enums (#1814) 2023-04-26 16:09:59 +02:00
Ilia Kebets
2ab73ffe61
Modify rule S6590: Add code example and documentation header (#1815) 2023-04-26 16:09:14 +02:00
Ilia Kebets
5a9f5bdc23
Modify rule S6594: Add documentation header (#1817) 2023-04-26 15:27:25 +02:00
Ilia Kebets
d3facc8fbd
Modify rule S6583: Add documentation header (#1816) 2023-04-26 15:27:12 +02:00
Ilia Kebets
9587d52d64
Modify rule S6572: Add documentation link and minor fix (#1813) 2023-04-26 14:39:01 +02:00
Ilia Kebets
728b24db9a
Modify rule S2094: improve JS rule definition (#1811) 2023-04-26 14:18:27 +02:00
Yassin Kammoun
49093964ab
Revert "Create rule S6601: Boolean expressions should be safe (#1779)" (#1810)
This reverts commit ed2c86e1ebec9992b982388a54423b52d90c07f0.
2023-04-26 13:33:21 +02:00
github-actions[bot]
23b26aace1
Create rule S6571: Type constituents of unions and intersections should not be redundant (#1724) 2023-04-26 13:32:02 +02:00
Yassin Kammoun
96cb1b9e61
Modify rule S6598: Add missing sections (#1809) 2023-04-26 11:54:16 +02:00
SonarTech
c0507824b3 update coverage information 2023-04-26 00:32:48 +00:00
Dorian Burihabwa
f043a8517b
Modify rule S5659: Remove CERT tag (#1792)
Remove CERT tag as no link to the CERT is present in the documentation.
2023-04-25 11:27:07 +02:00
SonarTech
fa3bd270a8 update coverage information 2023-04-25 00:32:45 +00:00
Marcin Stachniuk
6cc55d9048
Small fixes in Docker rules (#1802)
Add RUN prefix in case of shell execution
Improve code highlighting
2023-04-24 16:51:51 +02:00
Costin Zaharia
c56491a97c
S1155, S3216, S3260, S3353: Add the performance tag (#1800) 2023-04-24 15:28:55 +02:00
Yassin Kammoun
930ac77273
Modify rule S6606: Mention TSConfig's strictNullChecks requirement (#1796) 2023-04-24 12:34:16 +02:00