2242 Commits

Author SHA1 Message Date
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
Loghin Vlad-Andrei
b78e301311
Modify rule S986: CPP-4211 Align the RSPEC title with the implementation 2023-04-24 12:02:11 +02:00
Dorian Burihabwa
21c580e232 Modify rule S923: Add link to CERT 2023-04-24 11:25:43 +02:00
github-actions[bot]
9272228a78
Create rule S6606: Nullish coalescing should be preferred (#1785) 2023-04-24 09:54:22 +02:00
Ilia Kebets
c5bd90a73d
Modify rule S6544: include cases where promises are not resolved or error handled (#1780) 2023-04-24 09:28:46 +02:00
Loghin Vlad-Andrei
e029d7209d
Modify rule S5506: Fix typo in issue message 2023-04-24 06:54:46 +00:00
SonarTech
207c3a92bb update coverage information 2023-04-22 00:33:15 +00:00
Dorian Burihabwa
a7a94ab076
Modify rule S5693: Add syntax highlighting and remove Java specific tags (#1793) 2023-04-21 16:06:41 +02:00
github-actions[bot]
ed2c86e1eb
Create rule S6601: Boolean expressions should be safe (#1779) 2023-04-21 14:23:08 +02:00
Gregory Paidis
46f04a6ab4
Modify rule S2492: Fix the noncompliant example (PLSQL-S2492) (#1775) 2023-04-20 11:11:05 +02:00
github-actions[bot]
87cd5a8d6c
Create rule S6600: Unnecessary parentheses should not be used for constructs (#1778) 2023-04-20 11:01:53 +02:00
SonarTech
c7580cf996 update coverage information 2023-04-20 00:32:33 +00:00
Jamie Anderson
97c07f604f
Modify rule S6506: Add examples for not following redirects (#1776)
https://sonarsource.atlassian.net/browse/APPSEC-631
2023-04-19 18:03:27 +02:00
github-actions[bot]
ce2ab0a1fd
Create rule S6598: Function types should be preferred (#1773) 2023-04-19 15:54:03 +02:00
SonarTech
68eb989562 update coverage information 2023-04-19 00:33:26 +00:00
Jonas Wielage
ab04f2c385
Modify rule S6579: Fix typos in the description (#1771) 2023-04-18 09:47:39 +02:00
SonarTech
0aecb93463 update coverage information 2023-04-18 00:33:38 +00:00
Jonas Wielage
d1bd6bd254
Modify rule S6589: Change documentation to appear as list (#1770) 2023-04-17 17:34:53 +02:00
Jonas Wielage
fd2162b6a4
Modify rule S6597: Change documentation to appear as list (#1769) 2023-04-17 17:34:36 +02:00
Jonas Wielage
9a7417da76
Modify rule S6587: Change documentation to appear as list (#1768) 2023-04-17 17:34:24 +02:00
Jonas Wielage
6319544d09
Modify rule S6586: Change documentation to appear as list (#1767) 2023-04-17 17:34:14 +02:00
Jonas Wielage
5a897725ce
Modify rule S6581: Change documentation to appear as list (#1766) 2023-04-17 17:34:01 +02:00
Jonas Wielage
7aaef1a33d
Modify rule S6574: Change documentation to appear as list (#1765) 2023-04-17 17:33:19 +02:00
github-actions[bot]
d3a4dfa346
Create rule S6596: Specific version tag for image should be used (#1758) 2023-04-17 15:24:17 +00:00
Loïc Joly
c704f7b287
Modify rule S2198
Make MISRA-related information CFamily-specific
2023-04-17 17:22:40 +02:00
github-actions[bot]
22df9503af
Create rule S6589: Dockefiler should only have one ENTRYPOINT and CMD instruction (#1749)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6589/docker)
(updated a few minutes after each push).

---------

Co-authored-by: rudy-regazzoni-sonarsource <rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Rudy Regazzoni <rudy.regazzoni@sonarsource.com>
Co-authored-by: Rudy Regazzoni <110470341+rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Marcin Stachniuk <marcin.stachniuk@sonarsource.com>
2023-04-17 16:38:27 +02:00
github-actions[bot]
ae6f80d464
Create rule S6597 (#1763) 2023-04-17 15:05:40 +02:00
github-actions[bot]
028322219b
Create rule S6594: "RegExp.exec()" should be preferred over "String.match()" (#1756) 2023-04-17 14:42:26 +02:00
Jonas Wielage
eb82379207
Modify rule S6570: Change description to avoid duplication (#1762) 2023-04-17 09:56:28 +02:00
Zsolt Kolbay
40cc42f678
Modify rule S3900: Add method invocation to code sample (#1761) 2023-04-17 08:53:39 +02:00
SonarTech
7fc40f3f5f update coverage information 2023-04-15 00:34:39 +00:00
Tim Pohlmann
29db74c881
Modify rule S3655: Streamlining for C# and VB (#1759) 2023-04-14 17:26:06 +02:00
github-actions[bot]
27a9cea076
Create rule S6595: Package update should not be executed without installing it (#1757) 2023-04-14 16:52:13 +02:00
github-actions[bot]
a112923f78
Create rule S6584: Consent flag should be set to avoid manual input (#1741) 2023-04-14 13:20:49 +00:00