Marco Borgeaud
95ce8c6119
Diff blocks: fix some incorrect use for javascript ( #2802 )
...
Improvement identified in #2790 .
Add a prefix to the diff-id when it is used multiple times in different
"how to fix it in XYZ" sections to avoid ambiguity and pedantically
follow the spec:
> A single and unique diff-id should be used only once for each type of
code example as shown in the description of a rule.
Obvious typos around `diff-type` were fixed.
2023-08-15 09:43:48 +02:00
Fred Tingaud
16f6c0aecf
Inline adoc when include has no additional value ( #1940 )
...
Inline adoc files when they are included exactly once.
Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00
Ilia Kebets
c80d7f3b4c
Add checks for education format ( #1607 )
2023-03-07 17:16:47 +01:00
Pierre-Loup
98874d53a2
Modify rule S5147[JS/TS]: Change text to the education framework format (APPSEC-233) ( #1384 )
2023-03-02 18:48:41 +01:00
Loris S
cec8459153
Modify S5147(multiple languages): Update to the education framework (APPSEC-89) ( #1192 )
2023-03-02 18:22:24 +01:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring
2022-02-04 16:28:24 +00:00
Loris S
8f7349a0af
Create rule S5147[Java]: NoSQL operations should not be vulnerable to injections ( #668 )
...
* RSPEC-S5147 Java
* Update rules/S5147/java/rule.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/java/rule.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/description.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/description.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/description.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/description.adoc
* applied some recommendations
* improved code
* message
* removed vuln odm
* split a sentence into multiple files
* removed pléonasmes
* Update rules/S5147/java/rule.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* Update rules/S5147/java/rule.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
* applied recommendations
* Update rules/S5147/php/rule.adoc
Co-authored-by: Marco Antognini <89914223+marco-antognini-sonarsource@users.noreply.github.com>
* Update rules/S5147/java/rule.adoc
* Update rules/S5147/java/rule.adoc
* Update rules/S5147/java/rule.adoc
* Update rules/S5147/java/rule.adoc
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
Co-authored-by: Marco Antognini <89914223+marco-antognini-sonarsource@users.noreply.github.com>
Co-authored-by: Roberto Orlandi <71495874+roberto-orlandi-sonarsource@users.noreply.github.com>
2022-01-31 11:01:20 +01:00
Arseniy Zaostrovnykh
f7904cebe7
RULEAPI-666: Migrate the "List of parameters", "Highlighting" and "Message" fields from jira RSPEC ( #346 )
2021-09-20 13:38:42 +00:00
Arseniy Zaostrovnykh
ed53c1610b
Add all rules, update all rules fixing the inline code syntax
2020-12-21 15:38:52 +01:00