3835 Commits

Author SHA1 Message Date
Arseniy Zaostrovnykh
3535e4a89f
Use NodeJS 16 to run Sonar analysis 2023-12-07 16:14:58 +01:00
Malte Skoruppa
dfc3b3a48e
Modify rule S6839: Fix typos in Python code snippets in description 2023-12-06 13:21:40 +01:00
Philipp Dominik Schubert
02ac884d27
Modify Rule S5485: Fix Typos 2023-12-06 11:19:40 +00:00
Philipp Dominik Schubert
da1eb8d6bb
Modify Rule S5308: Fix Typo 2023-12-06 11:13:28 +00:00
Arseniy Zaostrovnykh
162b408c10
Use newer sonar-scanner to get Java 17 required for Sonar analysis 2023-12-06 09:35:32 +00:00
github-actions[bot]
5e17a63bf7
Create rule S6862: Beans in "@Configuration" class should have different names (#3474) 2023-12-05 14:41:32 +01:00
Guillaume Dequenne
02e49cb0d9
Modify S1172 (Python): Document exceptions (#3481) 2023-12-04 16:21:34 +01:00
Egon Okerman
a3fd54b8a4
Modify rule S5144: Add HTTPX support (APPSEC-1247) (#3410)
* Add HTTPX

* Enhance compliant code sample

* Keep samples consistent

* Simplify compliant example somewhat
2023-12-03 12:32:40 +01:00
github-actions[bot]
4ed4c84f4c
Create rule S6856: "@PathVariable" annotation should be present if a path variable is used (#3462) 2023-12-01 13:44:04 +01:00
Guillaume Dequenne
21a6f21304
Modify S5899 (Python): Add to default quality profile (#3478) 2023-12-01 11:32:56 +01:00
Guillaume Dequenne
2ce02c69fb
Modify S5906 (Python): Add to default quality profile (#3477) 2023-12-01 11:32:45 +01:00
Guillaume Dequenne
17c305c893
Modify S5918 (Python): Add to default quality profile (#3476) 2023-12-01 11:32:27 +01:00
Guillaume Dequenne
17d5583d9b
Modify S5915 (Python): Add to default quality profile (#3473) 2023-12-01 11:32:16 +01:00
Marco Kaufmann
eb8107b9ca
Modify S4551(java): repaired broken link (#3480) 2023-12-01 10:05:28 +01:00
SonarTech
f2d7c10262 update coverage information 2023-12-01 00:33:17 +00:00
Loris S
f0db71d524
Modify S2083(java): Improve the compliant sample (#3472) 2023-11-30 19:07:23 +01:00
github-actions[bot]
7cb81aa05a
Create rule S2187: Test files should contain tests (#3470)
* Add javascript to rule S2187

* Update metadata and description

* Update rules/S2187/javascript/rule.adoc

Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>

* Update rules/S2187/javascript/rule.adoc

Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>

---------

Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
2023-11-30 10:30:54 +01:00
erwan-serandour-sonarsource
43e205da3d update documentation to reflect the raised issues on @RestController annotation 2023-11-29 14:48:28 +01:00
github-actions[bot]
5fe99f8f71
Create rule S5973 (#3469) 2023-11-29 14:42:05 +01:00
SonarTech
20f66a35e9 update coverage information 2023-11-29 00:32:34 +00:00
Arseniy Zaostrovnykh
78c83870e6
Modify rule S3743(cfamily): remove a dead link 2023-11-28 22:41:39 +01:00
github-actions[bot]
8954db60ca
Create rule S6861: Mutable variables should not be exported (#3467)
* Create rule S6861

* Update metadata and description

* Update rules/S6861/javascript/rule.adoc

Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>

---------

Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
2023-11-28 16:59:46 +01:00
github-actions[bot]
1dff1a8345
Create rule S6859: Imports should not use absolute paths (#3465) 2023-11-28 11:50:49 +01:00
Johann Beleites
1d90037682
Modify rule S6619: Improve rule description (SONARJAVA-286) (#3456) 2023-11-28 11:09:31 +01:00
SonarTech
484a2c3808 update coverage information 2023-11-28 00:33:04 +00:00
github-actions[bot]
af8db317de
Create rule S6524: Collection should be immutable if contents is not changed (#1637) 2023-11-27 17:27:49 +01:00
SonarTech
30d8955f58 update coverage information 2023-11-25 00:32:31 +00:00
github-actions[bot]
2730041272
Create rule S6826: Sample rule that showcases potential image features in Sonar products (#3287)
Co-authored-by: loris-s-sonarsource <loris-s-sonarsource@users.noreply.github.com>
Co-authored-by: Loris Sierra <loris.sierra@sonarsource.com>
Co-authored-by: Loris S <91723853+loris-s-sonarsource@users.noreply.github.com>
Co-authored-by: Fred Tingaud <95592999+frederic-tingaud-sonarsource@users.noreply.github.com>
2023-11-24 16:30:45 +01:00
Marco Kaufmann
56276731ad
Modify rule S6809: Software Quality should only have Maintainability attribute (#3459) 2023-11-24 15:24:43 +01:00
Marco Kaufmann
4e664a03de
Modify rule S2230: Software Quality should only have Reliability attribute (#3460) 2023-11-24 15:24:20 +01:00
daniel-teuchert-sonarsource
6eeb994f8d
Improve code example (#3461) 2023-11-24 14:27:13 +01:00
Guillaume Dequenne
d12dd22884
Modify rule S5247: Remove examples of non covered engines (#3458) 2023-11-24 11:17:48 +01:00
SonarTech
e8dda65c0b update coverage information 2023-11-24 00:32:31 +00:00
Victor
541fad5776
Fix S1077: Correct sqKey for JS/TS (#3457) 2023-11-23 14:48:36 +01:00
tomasz-kaminski-sonarsource
098f48a680
CPP-4815 Make rule applicable to CFamily and add taxonomy 2023-11-23 09:04:43 +01:00
Pierre-Loup
bb2fb68e33
Modify S6785: Update the Set limits section (#3453) 2023-11-22 16:29:40 +01:00
Sebastien Marichal
8c9a9185de
Modify rule S6802: Add a code example (#3452) 2023-11-22 16:12:20 +01:00
github-actions[bot]
2f2a81079a
Create rule S6839 (#3421) 2023-11-22 10:45:39 +01:00
Ilia Kebets
563803ac97
Modify S1788: change CC attribute to ADAPTABLE (#3455) 2023-11-22 09:09:01 +01:00
SonarTech
12f3babbe3 update coverage information 2023-11-22 00:32:39 +00:00
daniel-teuchert-sonarsource
6febd2245a
Modify rule S5148: Adjust code example format (#3454) 2023-11-21 15:59:01 +01:00
github-actions[bot]
cc2ec5b930
Create rule S6852: Elements with an interactive role should support focus (#3444) 2023-11-21 15:58:06 +01:00
github-actions[bot]
113572535d
Create rule S6785: GraphQL queries should not be vulnerable to Denial of Service attacks (#3157) 2023-11-21 14:52:33 +01:00
Yassin Kammoun
69fcf2f5cc
Modify rule S1456: Fix JavaScript spelling in the title (#3451) 2023-11-21 13:50:21 +01:00
Irina Batinic
8f99898b76
Modify rule S6548: Improve RSPEC to show the most recent recommended Singleton implementations first (#3449) 2023-11-21 10:51:01 +01:00
github-actions[bot]
21267b0fd4
Create rule S6528: "find" should be replaced with "any", "none" or "contains" (#1646)
Co-authored-by: kaufco <kaufco@users.noreply.github.com>
Co-authored-by: Marco Kaufmann <marco.kaufmann@sonarsource.com>
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
2023-11-21 09:37:05 +01:00
SonarTech
39bdd8b1f8 update coverage information 2023-11-21 00:32:57 +00:00
hendrik-buchwald-sonarsource
0a2ce982ba
Modify rule S4790: Remove tag spring (#3450) 2023-11-20 17:11:40 +01:00
github-actions[bot]
55302cdae9
Create rule S6853: Label elements should have a text label and an associated control (#3445) 2023-11-20 14:55:45 +01:00
github-actions[bot]
415758f304
Create rule S6855: Media elements should have captions (#3448)
* Create rule S6855

* Update metadata and description

* Update rules/S6855/javascript/metadata.json

Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>

---------

Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
2023-11-20 14:55:23 +01:00