5327 Commits

Author SHA1 Message Date
Martin Strecker
4be8383d89
NET-943 Modify rule S1215: Add benchmark (#4601)
* Add benchmark

* Update rules/S1215/csharp/rule.adoc

Co-authored-by: Sebastien Marichal <sebastien.marichal@sonarsource.com>

* Review

---------

Co-authored-by: Sebastien Marichal <sebastien.marichal@sonarsource.com>
2025-01-08 17:25:48 +01:00
Rudy Regazzoni
444c238059
SONARIAC-1856 Modify S7019: add EXEC alternatives and exceptions (#4597)
* SONARIAC-1856 Update S7019 content

* Remove script example

* Fix id

* Update rules/S7019/docker/rule.adoc

Co-authored-by: Jonas Wielage <jonas.wielage@sonarsource.com>

* Address review comment

---------

Co-authored-by: Jonas Wielage <jonas.wielage@sonarsource.com>
2025-01-08 15:19:38 +01:00
Sebastien Marichal
efd18e59bf
NET-934 Modify S1643: Use NetFx 4.8.1 in Brenchmark (#4600) 2025-01-08 13:54:10 +01:00
Martin Strecker
4e15f3d653
Modify S3169: Add benchmarks (#4595)
* Modify S3169: Add benchmarks

* Update rules/S3169/csharp/rule.adoc

Co-authored-by: Sebastien Marichal <sebastien.marichal@sonarsource.com>

* Update benchmark

* LAYC

* diff-id

---------

Co-authored-by: Sebastien Marichal <sebastien.marichal@sonarsource.com>
2025-01-08 12:15:50 +01:00
Sebastien Marichal
43247cd487
NET-933 Modify S1155: Add benchmarks (#4592) 2025-01-08 10:23:49 +01:00
Sebastien Marichal
a2aa406613
NET-934 Modify S1643: Add benchmarks (#4593) 2025-01-08 10:23:35 +01:00
SonarTech
383361a9e8 update coverage information 2025-01-08 02:42:08 +00:00
Loris S.
dff46bdcfd
Modify S3649(Python): Fix logic error (#4598) 2025-01-07 14:53:28 +01:00
github-actions[bot]
aa709674da
Create rule S7175: Linear API keys should not be disclosed (#4594) 2025-01-07 10:14:41 +01:00
github-actions[bot]
56cf51e747
Create rule S7174: Square API keys should not be disclosed (#4591) 2025-01-06 15:54:54 +01:00
tomasz-kaminski-sonarsource
8db2c956de
S6018 Add example showing use of inline out of line (CPP-4342) 2025-01-02 10:37:02 +00:00
Sebastien Marichal
e5a0528302
NET-920 Modify rule S125: Add dotnet example (#4589) 2024-12-24 14:55:44 +01:00
Sebastien Marichal
330156276c
NET-913 Modify rule S1264: Improve description to match the implementation (#4587) 2024-12-24 11:26:00 +01:00
SonarTech
deac0761b1 update coverage information 2024-12-24 02:42:28 +00:00
Sebastien Marichal
f96f4c8de7
NET-915 Modify rule S2930: Include tracked types in the description (#4588) 2024-12-23 15:37:47 +01:00
Sebastien Marichal
07d614dd5b
Modify rule S4039: Improve description to match the implementation (#4586) 2024-12-23 14:57:36 +01:00
SonarTech
bb47c97c62 update coverage information 2024-12-21 02:40:14 +00:00
Sebastien Marichal
434c3bf4df
Modify rule S1542: Prevent strong substitution (#4585) 2024-12-20 14:12:24 +01:00
github-actions[bot]
98e58e1e76
Create rule S7173: "GoSub" statements should not be used (#4580) 2024-12-20 09:11:58 +00:00
SonarTech
5adea709d2 update coverage information 2024-12-20 02:42:54 +00:00
SonarTech
de50069607 update coverage information 2024-12-19 02:45:01 +00:00
github-actions[bot]
38ffd02fc3
Create rule S6146: "Option Explicit" should be enabled (#4582)
* Add vb6 to rule S6146

* Add description

* Update description for LaYC

---------

Co-authored-by: thahnen <thahnen@users.noreply.github.com>
Co-authored-by: Tobi Hahnen <tobias.hahnen@sonarsource.com>
2024-12-18 16:32:34 +01:00
Tobias Hahnen
1d97909d90
Update description (#4583) 2024-12-18 16:26:24 +01:00
Sebastien Marichal
826213ed01
Modify rule S907: vb6 LaYC (#4581) 2024-12-18 15:06:04 +01:00
Mary Georgiou
5e18970336
Modify rule S6932: Update code example (#4563) 2024-12-17 17:28:30 +01:00
github-actions[bot]
77c4627ffb
Create rule S7154: Fastly API tokens should not be disclosed (#4489)
* Create rule S7154

* Add text

* Apply suggestions from code review

Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>

---------

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: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
2024-12-17 10:48:05 +01:00
github-actions[bot]
5e5c00550d
Create rule S7166: Adobe OAuth credentials should not be disclosed (APPSEC-2237) (#4504) 2024-12-17 10:11:01 +01:00
erwan-serandour
8558f5ea6f
Modify rule S3749: Update rule description to add new javax and jakarta annotations (SONARJAVA-5036) (#4578)
Update rule description to add javax persistence annotations and jakarta inject and resource annotation
2024-12-16 18:03:21 +01:00
Dorian Burihabwa
f9cf7be4f3
Modify rule S1190: Replace misplaced NonCompliant comment (SONARJAVA-5029) (#4577) 2024-12-16 16:20:21 +01:00
Rudy Regazzoni
277554fc6b
S1448 Updating default value (#4560) 2024-12-16 15:38:32 +01:00
erwan-serandour
70e2b8e427
Modify rule S1075: Add more exceptions (SONARJAVA-5149) (#4570) 2024-12-16 13:51:41 +01:00
SonarTech
af2920e1a9 update coverage information 2024-12-13 02:48:42 +00:00
Fred Tingaud
5fb2c9dd39 RULEAPI-824 Sort tags by version number instead of commited date when computing coverage 2024-12-12 16:58:20 +01:00
Fred Tingaud
efa7462eae RULEAPI-823 Don't consider tags that are not version numbers in coverage computation 2024-12-12 16:58:20 +01:00
Fred Tingaud
741e23121b RULEAPI-822 Don't consider sonar-css that is deprecated, when computing coverage
sonar-css-plugin is no longer used and the sonar-css repository is archived. Rules that are only in
sonar-css should be considered as deleted and rules that are moved in sonarJS should be displayed
as in sonarJS.
The current coverage format cannot represent perfectly this repository change, so removing sonar-css
from the list seems like the simplest approach to get a good enough result.
2024-12-12 16:58:20 +01:00
Fred Tingaud
c480f9a4b0 RULEAPI-821 Skip all profile files, not only Sonar_way_profile 2024-12-12 16:58:20 +01:00
Fred Tingaud
a6f4f03031 RULEAPI-820 Don't indiscriminately crop rule names on "_" in coverage computation 2024-12-12 16:58:20 +01:00
Egon Okerman
dd3cecfbc8
Remove reference to AWS Access Key ID (#4573) 2024-12-12 15:37:29 +01:00
GabinL21
cfa48bfefd
Update rule S7031: add multi-stage build exceptions (#4574) 2024-12-12 13:41:42 +00:00
Loïc Joly
5675385d6b
Modify rule S3541: Deprecate the rule (CPP-5904) (#4559)
Also improve documentation of the deprecation process.
2024-12-11 11:30:05 +01:00
Loïc Joly
62c1e322df
Modify rule S1199 Remove tags after deprecation CPP-4895 (#4569) 2024-12-11 11:28:36 +01:00
GabinL21
fb328a5d36
Update rule S6437: add multi-stage build exceptions (#4566) 2024-12-10 16:52:32 +00:00
Loïc Joly
0cc91b7983
Modify rule S1172 Fix FP for Objective-C block definitions CPP-5916 2024-12-10 15:39:51 +01:00
David Kunzmann
92e1462656
Modify rule S6984: Update einsum link (#4565) 2024-12-10 14:15:55 +01:00
Loïc Joly
52d0dfa648
Modify rule S1199: Deprecate this rule with the intent of removing it when possible CPP-4895 2024-12-10 11:12:10 +01:00
Jonas Wielage
17fa0b539b
Modify rule S117: Add exception to kubernetes language (#4558) 2024-12-10 10:31:16 +01:00
Rudy Regazzoni
2bd1df5c66
SONARIAC-1701 Update RSPEC description for S6587 (#4562)
* SONARIAC-1701 Update RSPEC description for S6587

* Address review comments
2024-12-09 15:53:32 +00:00
Hendrik Buchwald
d1ee5fd369
Deprecate rule S5742 (#4561) 2024-12-09 10:28:25 +01:00
SonarTech
7bccb68f23 update coverage information 2024-12-06 02:47:18 +00:00
Rudy Regazzoni
11265c14c0
Update S6473 to add parameter ports to kubernetes (#4557) 2024-12-05 14:40:40 +01:00