Egon Okerman
054e47fcb7
Modify rule S4423: Adjust Python compliant examples (APPSEC-1556) ( #3688 )
...
* Use recommended helper method in compliant solution
* Change minimal version to TLSv1.2 (to match other languages)
2024-02-29 12:36:15 +01:00
Marco Borgeaud
8209548e54
Diff blocks: fix incorrect use for python ( #2795 )
...
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.
An obvious extra use of diff blocks was removed.
2023-08-21 15:22:49 +02:00
Fred Tingaud
51369b610e
Make sure that includes are always surrounded by empty lines ( #2270 )
...
When an include is not surrounded by empty lines, its content is inlined
on the same line as the adjacent content. That can lead to broken tags
and other display issues.
This PR fixes all such includes and introduces a validation step that
forbids introducing the same problem again.
2023-06-22 10:38:01 +02:00
Loris S
1a84c758e1
Modify S4423: Learn-As-You-Code Migration ( #2097 )
...
Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>
2023-06-20 15:36:01 +00: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
Victor
fe961619f9
migrate rule descriptions to new education format
2023-05-05 16:29:04 +02:00
gaetan-ferry-sonarsource
be544bb597
Modify rule S4423: Update the detection logic to match the current deprecation state [PYTHON][APPSEC-12] ( #1429 )
2022-12-06 13:55:06 +01:00
Loris S
0b49b91f58
Modify S4423[JS]: Support of AWS CDK code (APPSEC-158) ( #1315 )
2022-10-10 18:04:24 +02:00
Pierre-Loup
afcae498a5
Modify S4423[Python]: Support of AWS CDK code (APPSEC-103) ( #1273 ) ( #1278 )
2022-09-26 14:04:15 +02:00
Pierre-Loup
e6ead4ded2
Revert "Modify S4423[Python]: Support of AWS CDK code (APPSEC-103) ( #1273 )" ( #1277 )
...
This reverts commit 7aa3adc6bfbaf80456d85c27f858ce20b7200811.
2022-09-20 13:48:06 +00:00
Pierre-Loup
7aa3adc6bf
Modify S4423[Python]: Support of AWS CDK code (APPSEC-103) ( #1273 )
2022-09-20 15:44:27 +02:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring
2022-02-04 16:28:24 +00: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
b76bc57083
RULEAPI-576: add a horizontal rule between rule description and comments
2021-06-08 15:52:13 +02:00
Arseniy Zaostrovnykh
6c1ad2c13c
Fix the comment display: rule-id, timestamp, GH visibility, link direction
2021-06-03 09:05:38 +02:00
Arseniy Zaostrovnykh
cdd7690a79
Export comments and rspec-to-rspec links from jira
2021-06-02 20:44:38 +02:00
Arseniy Zaostrovnykh
716b335a56
Enable forced linebreaks in quotes; escape -- in url
2021-02-02 16:54:43 +01:00
Arseniy Zaostrovnykh
7ca29f686f
Force linebreaks
2021-02-02 15:02:10 +01:00
Arseniy Zaostrovnykh
d4598ce0f9
make in-line code blocks verbatim
2021-01-27 13:42:22 +01:00
Arseniy Zaostrovnykh
d96d948333
change the inline-code delimitters
2020-12-23 14:59:06 +01:00
Arseniy Zaostrovnykh
ed53c1610b
Add all rules, update all rules fixing the inline code syntax
2020-12-21 15:38:52 +01:00
Alban Auzeill
2c306d110e
Fix code block ambiguity with old header style
...
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00
Alban Auzeill
76b1b940f8
Add rules 4000-4999
2020-06-30 17:16:12 +02:00