12 Commits

Author SHA1 Message Date
Loris S
bfb697d3a1
Modify S5135(Python): Fix code samples (#3829)
* Modify S5135(Python): Fix code samples

* Update rules/S5135/python/how-to-fix-it/python.adoc
2024-03-27 15:57:47 +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
Ilia Kebets
c80d7f3b4c
Add checks for education format (#1607) 2023-03-07 17:16:47 +01:00
Roberto Orlandi
976fccee08 Fix format errors due to missing empty line in the .adoc files (#1404) 2023-03-02 18:48:41 +01:00
gaetan-ferry-sonarsource
ad240854e1 Modify rule S5135: Change text to the education framework format [Python][APPSEC-228] (#1365) 2023-03-02 18:48:41 +01:00
Loris S
80fcd6ed49 Modify Rule S5135(common text): Education Framework (APPSEC-75) (#1171) 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
4774e72dc1
Modify Rules: Multiple typo on missing hyphens (#660) 2021-12-13 16:18:55 +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
7ca29f686f Force linebreaks 2021-02-02 15:02:10 +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
0329b1564c Add rules 5000-5999 2020-06-30 17:16:12 +02:00