Mate Molnar
7d64c96a75
Revert "BUILD-4733: Use COVERAGE_GITHUB_TOKEN from the vault instead of the default GITHUB_TOKEN"
...
This reverts commit 9a14e956754adfffdfb53bd22d4a230cb97acaae.
2024-07-17 10:38:43 +02:00
Tom
9a14e95675
BUILD-4733: Use COVERAGE_GITHUB_TOKEN from the vault instead of the default GITHUB_TOKEN
2024-07-05 17:01:17 +02:00
Pierre-Loup
770348d041
Avoid OWASP Top 10 security-standard mismatch between metadata and description links (RULEAPI-798) ( #3537 )
...
* Add check for security standard mismatch
* Fix security standard mismatches
* Fix Resources/Standards links for secrets rules
* Fix check
* Fix links and update security standard mapping
* Fix maintanability issue
* Apply review suggestions
* Apply suggestions from code review
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
* Fix typo
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
---------
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2024-01-17 17:20:28 +01:00
Fred Tingaud
d3cfe19d7e
Fix broken or dangerous backquotes
...
Co-authored-by: Marco Borgeaud <89914223+marco-antognini-sonarsource@users.noreply.github.com>
2023-10-30 10:33:56 +01:00
Ilia Kebets
c80d7f3b4c
Add checks for education format ( #1607 )
2023-03-07 17:16:47 +01:00
Christophe Zürn
47ba59f3b5
RULEAPI-766 Add documentation and integrity checks for new education rule descriptions format ( #1098 )
2023-03-02 18:07:54 +01:00
Arseniy Zaostrovnykh
c475f0d6de
RULEAPI-753: Use modern ids and coalesce the coverage for legacy ids
2022-04-13 00:28:19 -07:00
Marco Antognini
26e3ebc7ec
Refactor rspec-tools and other cleanups
...
The main changes are:
* Split RuleCreator: move some of its content to RspecRepo and to
RuleEditor in new modules.
* Refactor tests accordingly.
Other less important changes:
* Sort and remove unnecessary imports
* Remove unimplemented functions and unnecessary classes
* Make some functions private
* Move pushd from utils to tests where it is only used
* Reduce code duplication here and there
* Remove unnecessary Mock in some tests
* Improve coverage for add_language_to_rule
2022-02-28 12:08:21 +01:00
Marco Antognini
dbb8027666
RULEAPI-748: Add new workflow to update quickfix status
2022-02-28 12:08:21 +01:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring
2022-02-04 16:28:24 +00:00
Fred Tingaud
7d868d3f35
Use a more readable form to display parameters
2022-02-01 12:25:23 +00:00
Marco Antognini
b2b116a8e2
RULEAPI-682: Index multiple types and rules with no languages
...
* Generate description and metadata for rules with no language, so that they get indexed.
* Index rules with different types in language specializations.
* Improve validation to reject new rules with no language specialization (i.e. only a predefined set of such rules is allowed because they were imported from Jira and kept for historical purposes).
* Write smaller JSON files, reduce their size by 30%.
* Improve test coverage of CLI application.
2022-01-28 09:51:13 +01:00
Arseniy Zaostrovnykh
0fe8dffe85
RULEAPI-573: Clean and test script generating for each rule the list of plugins covering it ( #429 )
2021-10-01 14:52:12 +02:00
Arseniy Zaostrovnykh
5f8a2e7ec1
RULEAPI-606: github action and underlying script for adding a new language to an existing rule
2021-09-30 15:47:25 +00:00
Čaba Šagi
6d8404981c
RULEAPI-642: Validate the level of section headers in asciidoc: make sure there are no level-0
2021-09-30 11:52:56 +02:00
Arseniy Zaostrovnykh
b0c064cfb7
RULEAPI-640: Add language(s) label(s) to automatically created PR
2021-06-10 09:03:05 +00:00
Arseniy Zaostrovnykh
9fe4334933
RULEAPI-574 Validate RSPEC description structure
2021-05-04 09:58:49 +02:00
nicolas-harraudeau-sonarsource
763c935b63
Improve rules' metadata.json validation
2021-02-23 20:41:11 +01:00
Nicolas Harraudeau
95ec206fd5
Improve logging during rule creation
2021-02-18 14:51:20 +01:00
Nicolas Harraudeau
cb734ab0df
Fix create rule command in create_new_rspec github workflow
2021-02-18 14:41:40 +01:00
Nicolas Harraudeau
4f9ec075e1
Fix create rule command in create_new_rspec github workflow
2021-02-18 12:55:14 +01:00
Nicolas Harraudeau
30cafe81f0
Fix create rule command in create_new_rspec github workflow
2021-02-18 12:34:32 +01:00
Nicolas Harraudeau
de024c5f96
Add RuleCreator to rspec-tools
2021-02-18 11:32:08 +01:00
tomverin
e8530167f5
Check links embeded in adocs files ( #32 )
2021-02-12 15:18:24 +01:00
Nicolas Harraudeau
eb4c97ae97
bootstrap rspec-tools project
2021-01-29 16:05:22 +01:00