3421 Commits

Author SHA1 Message Date
Fred Tingaud
b50eeb561b
Modify rule S1301: LaYC - switch replacable by if 2023-09-21 16:45:49 +02:00
Marcin Stachniuk
550aea9c16
Modify rule S6584: Environment variables should not be unset on a different layer than they were set (#3117)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-21 16:35:05 +02:00
Amelie Renard
4bef0bbcc7 Modify rule S1181: fix typos and add diff view 2023-09-21 16:29:51 +02:00
Amelie Renard
85b3266b1e Modify rule S6234: reorder code examples 2023-09-21 16:29:51 +02:00
Amelie Renard
bf9d14adc7 Modify rule S6171: fix typo and add diff view 2023-09-21 16:29:51 +02:00
Amelie Renard
b9cf5c5103 Modify rule S6462: add diff view 2023-09-21 16:29:51 +02:00
Amelie Renard
aadcc931dc Modify rule S6495: add missing spaces and move exception example 2023-09-21 16:29:51 +02:00
Amelie Renard
a5c131dc3d Modify rule S4997: add diff view and add documentation link 2023-09-21 16:29:51 +02:00
Amelie Renard
5bbbe3cd89 Modify rule S6489: Add link to documentation 2023-09-21 16:29:51 +02:00
Amelie Renard
a2625d277b Modify rule S6181: Add link to documentation 2023-09-21 16:29:51 +02:00
Mary Georgiou
04826dcd27
Modify S4829: Delete (#3116) 2023-09-21 15:25:41 +02:00
Mary Georgiou
89370f7c45
Modify S4823: Delete (#3115)
Deleting S4823 as it has been deprecated.
Deprecated since:

sonar-dotnet 8.9.0.19135, released on Jun 26, 2020
SQ 8.4.0.35506 on Jul 3, 2020.
2023-09-21 15:23:58 +02:00
Fred Tingaud
32fcbebbd7
Modify rule S1871: LaYC format 2023-09-21 14:53:16 +02:00
Marco Borgeaud
85fd6c60dc
Modify (fake) rule S6620: Document limitation with multiple compliant solutions in diff-view (#3112) 2023-09-21 09:55:10 +00:00
Fred Tingaud
b64dbf06d6
Modify rule S5827: LaYC - auto on redundant type 2023-09-21 11:12:28 +02:00
Egon Okerman
ba6e52e303
Modify rule S6317: Fix missing diff view (#3032)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-21 10:04:41 +02:00
SonarTech
d707dfa2d2 update coverage information 2023-09-21 00:33:01 +00:00
github-actions[bot]
6aa9715732
Create rule S6779: Flask secret keys should not be disclosed (#3093) 2023-09-20 17:35:54 +02:00
github-actions[bot]
4ea97c7e0e
Create rule S6760: Yandex (APPSEC-1068) (#3044)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6760/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: sebastien-andrivet-sonarsource <sebastien-andrivet-sonarsource@users.noreply.github.com>
Co-authored-by: sebastien-andrivet-sonarsource <sebastien.andrivet@sonarsource.com>
2023-09-20 17:21:24 +02:00
github-actions[bot]
f4a5207fb8
Create rule S6777: Shippo tokens should not be disclosed (#3088)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6777/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: sebastien-andrivet-sonarsource <sebastien-andrivet-sonarsource@users.noreply.github.com>
Co-authored-by: sebastien-andrivet-sonarsource <sebastien.andrivet@sonarsource.com>
2023-09-20 15:19:39 +02:00
daniel-teuchert-sonarsource
732ed4108f
APPSEC-1090: S4423 Improved RSPEC example (#3096)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-20 14:46:42 +02:00
daniel-teuchert-sonarsource
14dbf9d5f3
APPSEC-1088: S6385 Improve RSPEC (#3092)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>
2023-09-20 14:45:38 +02:00
Amelie Renard
ae2e610d5c Modify rule S6200: Fix punctuation 2023-09-20 14:18:08 +02:00
Amelie Renard
5c4b06514b Modify rule S5269: Fix spelling 2023-09-20 14:18:08 +02:00
Amelie Renard
0f9166a21c Modify rule S3726: Add link to documentation 2023-09-20 14:18:08 +02:00
Amelie Renard
c83dde690d Modify rule S5999: Add link to documentation 2023-09-20 14:18:08 +02:00
Amelie Renard
e004416efc Modify rule S5302: Fix spelling + add diff view 2023-09-20 14:18:08 +02:00
Amelie Renard
c50c0e5e0e Modify rule S5417: Add diff view 2023-09-20 14:18:08 +02:00
Amelie Renard
977028ea27 Modify rule S2216: Make the description more accessible 2023-09-20 14:18:08 +02:00
Amelie Renard
b1e8675ac0 Modify rule S5501: Fix grammar and typo 2023-09-20 14:18:08 +02:00
Amelie Renard
2f12a6a728 Modify rule S3135: Update Noncompliant code example 2023-09-20 14:18:08 +02:00
Yassin Kammoun
3918a1a702
Modify rule S6759: Restrict the scope to functional components (#3102) 2023-09-20 11:22:36 +02:00
github-actions[bot]
06238c1243
Create rule S6782: Docker Hub tokens should not be disclosed (APPSEC-1129) (#3103)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6782/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-09-20 10:12:55 +02:00
github-actions[bot]
168f231de8
Create rule S6769: Shopify tokens should not be disclosed (APPSEC-1076) (#3068)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6769/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-09-20 10:12:37 +02:00
github-actions[bot]
42b25db4ca
Create rule S6771: Postman tokens should not be disclosed (#3074)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6771/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: sebastien-andrivet-sonarsource <sebastien-andrivet-sonarsource@users.noreply.github.com>
Co-authored-by: sebastien-andrivet-sonarsource <sebastien.andrivet@sonarsource.com>
2023-09-20 10:11:25 +02:00
github-actions[bot]
7fbb1cf2ac
Create rule S6752: Artifactory tokens should not be disclosed (#3023) 2023-09-20 07:31:15 +00:00
SonarTech
f3df25cbfb update coverage information 2023-09-20 00:33:05 +00:00
github-actions[bot]
95d7e2c516
Create rule S6755: DigitalOcean tokens should not be disclosed (APPSEC-1063) (#3029)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6755/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
Co-authored-by: gaetan-ferry-sonarsource <112399173+gaetan-ferry-sonarsource@users.noreply.github.com>
2023-09-19 17:40:09 +02:00
github-actions[bot]
08a359a6ae
Create rule S6765: Figma tokens should not be disclosed (APPSEC-1075) (#3055)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6765/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-09-19 16:55:08 +02:00
Alexander Kamushkin
ed2d2171f3
Modify rule S6766: Remove ' and " from the list of forbidden entitiles (#3099)
https://github.com/SonarSource/SonarJS/issues/4178
2023-09-19 16:21:48 +02:00
github-actions[bot]
496edb7d4a
Create rule S6753: Zuplo (APPSEC-1067) (#3026)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6753/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: sebastien-andrivet-sonarsource <sebastien-andrivet-sonarsource@users.noreply.github.com>
Co-authored-by: sebastien-andrivet-sonarsource <sebastien.andrivet@sonarsource.com>
2023-09-19 15:32:25 +02:00
Alejandro Álvarez Ayllón
7e7b20a0c5
Modify rule S1763: Adapt to LaYC
Co-authored-by: Fred Tingaud <95592999+frederic-tingaud-sonarsource@users.noreply.github.com>
2023-09-19 10:35:46 +02:00
Marco Borgeaud
ebe334e961
Modify rule S4999,S5000: LaYC format (#2712) 2023-09-19 08:14:39 +02:00
SonarTech
9c913cc26f update coverage information 2023-09-19 00:32:45 +00:00
github-actions[bot]
09a3ffc000
Create rule S6768: Typeform tokens should not be disclosed (APPSEC-1071) (#3066)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6768/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-09-18 18:55:38 +02:00
Loris S
7b4a60b537
Modify S6337: Validation (#3085)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-18 17:43:12 +02:00
daniel-teuchert-sonarsource
aa1d8509a5
APPSEC-1087: S6413 Improve RSPEC (#3091)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>
2023-09-18 17:25:58 +02:00
github-actions[bot]
a8bb67f631
Create rule S6762: Grafana tokens should not be disclosed (APPSEC-1065) (#3046)
You can preview this rule
[here](https://sonarsource.github.io/rspec/#/rspec/S6762/secrets)
(updated a few minutes after each push).

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-09-18 12:09:53 +02:00
github-actions[bot]
5045a4910c
Create rule S6774: React components should validate prop types (#3078) 2023-09-18 11:46:47 +02:00
github-actions[bot]
40561d6627
Create rule S6775: All defaultProps should have non-required PropType (#3082)
https://github.com/SonarSource/SonarJS/issues/4134
2023-09-18 11:31:32 +02:00