1095 Commits

Author SHA1 Message Date
SonarTech
f0a6ea5537 update coverage information 2022-01-28 00:31:30 +00:00
Quentin Jaquier
b4f5a0fadb Modify Rule S6373: fix description formatting 2022-01-27 14:55:55 +01:00
Fred Tingaud
c5c784a818
RULEAPI-731: Make the search bar more compact to leave room for the results (#753) 2022-01-27 13:45:19 +00:00
abbas-sabra-sonarsource
af4c0999b6
Update S1768: it is not deprecated for C++ 2022-01-27 11:55:36 +00:00
Karim El Ouerghemmi
bfffc3219c
Modify rule S6328: Add PHP as covered language (#654)
* Add PHPto S6328

* Add description for PHP

* Add reference link

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-27 08:59:26 +00:00
Arseniy Zaostrovnykh
50433083fd
RULEAPI-728: When pressing enter in the search bar and there is a perfect match, open it (#750) 2022-01-26 18:14:55 +01:00
Arseniy Zaostrovnykh
b5357b1e1a
RULEAPI-727: Add interactions tests (#746) 2022-01-26 13:39:04 +00:00
eric-therond-sonarsource
1ca56eaf42
Remove XML code sample in Java rules targeting XML (#748) 2022-01-26 10:06:59 +01:00
github-actions[bot]
37ad236302
Create rule S6393: Regular expressions should have valid delimiters (#642)
* Create rule S6393

* Add S6393 specification

* Inline highlighting and message and add tag

* Add example with bracket delimiter

Co-authored-by: karim-ouerghemmi-sonarsource <karim-ouerghemmi-sonarsource@users.noreply.github.com>
Co-authored-by: Karim El Ouerghemmi <karim.ouerghemmi@sonarsource.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-26 07:59:38 +00:00
SonarTech
d3aa832e18 update coverage information 2022-01-26 00:31:50 +00:00
Fred Tingaud
3dbe035277
Add missing asciidoc includes 2022-01-25 17:36:46 +00:00
quentin-jaquier-sonarsource
b852464436
Document quick fixes for S2755, S6373, S6374, S6376 and S6377 (#745) 2022-01-25 13:38:33 +01:00
Karim El Ouerghemmi
a5d7d63055
Modify rule S6326: Add PHP as covered language (#651)
* Add PHP to s6326

* Address review comment

* Add exception

* Fix typo in description

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-25 11:38:42 +00:00
github-actions[bot]
1ec3d570a4
Rule S6377[Java]: XML signatures must be validated securely (#567) 2022-01-25 10:52:20 +01:00
SonarTech
8ad3a74953 update coverage information 2022-01-25 00:32:14 +00:00
Jean-Yves CRONIER
64ca74fc7f Modify rule S105: add comment about smart tabs 2022-01-24 16:04:42 +01:00
github-actions[bot]
52716a212e
Create rule S6374[Java] XML parsers should not load external schemas (#551) 2022-01-24 15:54:34 +01:00
github-actions[bot]
818cb5c748
Create rule S6388: Using unencrypted cloud storages is security-sensitive (#624)
* Create rule S6388

* Add description

* Add message

* Fix message path

* Update rules/S6388/metadata.json

Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>

* Rename rule

* Update description to match title

Co-authored-by: hendrik-buchwald-sonarsource <hendrik-buchwald-sonarsource@users.noreply.github.com>
Co-authored-by: Hendrik Buchwald <hendrik.buchwald@sonarsource.com>
Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>
Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-24 11:24:10 +00:00
hendrik-buchwald-sonarsource
6bb423e68e
Modify rule S5332: Add cloud tags (#627)
* Add Azure tag

* Add AWS tag

* Move tags to terraform subdir

Co-authored-by: Loris S <91723853+loris-s-sonarsource@users.noreply.github.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-01-24 11:11:44 +00:00
Roberto Orlandi
9da3252f27
Modify rule S1102: add exception for simple tables (#739)
* Modify rule S1102: add exception for simple tables

* Modify rule S1102: address review comment
2022-01-24 11:25:53 +01:00
SonarTech
91eaf82a1a update coverage information 2022-01-22 00:31:46 +00:00
abbas-sabra-sonarsource
8ab975b2cb
Update S2815: it is not deprecated for C++ and not relevant for java and csharp 2022-01-21 15:53:41 +00:00
github-actions[bot]
3b45c5467d
Create rule S6376[Java]: XML parsers should not be vulnerable to Denial of Service attacks (#566) 2022-01-21 16:46:55 +01:00
Alban Auzeill
0e8600ae42 Modify rule S6373[java]: Add entity resolver exception 2022-01-21 16:22:40 +01:00
Yassin Kammoun
da9464e334
Modify rule S5843: Fix JavaScript compliant snippet (#730) 2022-01-20 12:20:40 +01:00
SonarTech
2ec30d66dc update coverage information 2022-01-20 00:31:33 +00:00
Fred Tingaud
171580f86a
Revert "RULEAPI-614: mark unpredictable remediation cost"
We should validate functionally this change with PMs before putting it in production.
Reverting for now.
2022-01-19 19:07:03 +00:00
Marco Antognini
d1e5484b80
Fix search per language
Rename field to clarify intent.
Index only the name of the language.
Use lunr extractor.
2022-01-19 17:12:31 +00:00
Fred Tingaud
ebfa8932d1
RULEAPI-614: mark unpredictable remediation cost 2022-01-19 16:39:02 +01:00
hendrik-buchwald-sonarsource
f3384de644
Modify rule S4423: Add cloud tags (#628)
* Add Azure tag

* Add AWS tag

* Move tags to terraform subdir

* Change order

Co-authored-by: Loris S <91723853+loris-s-sonarsource@users.noreply.github.com>
2022-01-19 10:42:40 +00:00
SonarTech
e7cb8a31ee update coverage information 2022-01-19 00:32:15 +00:00
Fred Tingaud
ecea86e876
Update dependencies and simplify predeploy (#723) 2022-01-18 15:30:19 +00:00
github-actions[bot]
aa10281f1b
Create rule S6373[Java]: XML parsers should not allow inclusion of arbitrary files (#547) 2022-01-18 08:36:38 +01:00
Pavel Mikula
d149204f4b
Create rule S1155: VB.NET (#686) 2022-01-18 07:48:34 +01:00
SonarTech
239fece4ca update coverage information 2022-01-18 00:31:35 +00:00
Fred Tingaud
c8c825feb0
RULEAPI-705 differentiate closed and obsolete rules in the UI (#704) 2022-01-17 20:13:15 +01:00
Loris S
26267dcbf0
Modify rule S2819: Fixed typos (#718) 2022-01-17 17:58:25 +01:00
Loris S
9427dac7dc
Modify S5144: Improved code samples (#719) 2022-01-17 17:57:50 +01:00
Nils Werner
b46b76025c
Rename 'Common' to 'Text' (#714) 2022-01-17 17:05:01 +01:00
Andrei Epure
11df8ffcec
Modify rule S109 for C#: new exceptions (#694) 2022-01-17 09:54:18 +00:00
SonarTech
3d7890f65b update coverage information 2022-01-15 00:31:18 +00:00
Arseniy Zaostrovnykh
4c3b75b4ce
Fix the snapshot resulted from the merge (#716)
The broken UI test on master is the result of a temporal relaxation of the policy of "merge only PRs that are up-to-date with master": a snapshot-based test was introduced in one PR (#709) and was passing, and a UI change was introduced in another PR(#715) that changed the snapshot (but was not covered by the test at the time the second PR diverged from master)
2022-01-14 17:27:24 +00:00
Arseniy Zaostrovnykh
09f8c0b9f2
RULEAPI-571: test the UI components (#709) 2022-01-14 16:07:50 +00:00
Marco Antognini
105f563bb5
RULEAPI-703: Fix warnings emitted during npm run predeploy
Parse custom string instead of file and explicitly introduce level-1
section so that asciidoctor sees it.
2022-01-14 16:06:36 +00:00
dependabot[bot]
f4eae69200
[dependabot] Bump follow-redirects from 1.13.2 to 1.14.7 in /frontend (#710)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.2...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 15:28:52 +01:00
tomasz-kaminski-sonarsource
7f5b613ec4
RULEAPI-711: Adjust for underscore in CLOUDFORMATION inside sonar-iac sonarpedia 2022-01-14 14:21:00 +01:00
tomasz-kaminski-sonarsource
60ab75fd73
RULEAPI-722: Always cleanup temprary branch for coverage 2022-01-14 08:11:23 +01:00
Arseniy Zaostrovnykh
0223c2a00d
Fix UI warnings: <div> nested in <p> and list items lacking keys (#708)
Fix the two warnings observed when testing the SearchPage component:

- Each child in an array should have a unique "key" prop.
  -> add a key prop to list items
- <div> cannot be nested in <p> (or sth to that effect)
  -> change the relevant Typography components from "p" to "div"
2022-01-13 17:41:44 +01:00
Marco Antognini
065322db2f
RULEAPI-680: Remove the mention of [label] (#705) 2022-01-13 16:03:40 +00:00
quentin-jaquier-sonarsource
f96418e4e1
SONARJAVA-4055 Modify rule S4544 [java] Document new interface support (#682) 2022-01-13 14:37:20 +01:00