136 Commits

Author SHA1 Message Date
Elena Vilchik
f782b7a737
RULEAPI-670 Print the metadata.json path for the files that break a json parser (#387) 2021-09-22 15:33:20 +02:00
Pierre-Loup
49aa2dcd4f
RULEAPI-653: Add a new language identifier for secrets detection rules (#154) 2021-07-01 12:26:02 +00:00
eric-therond-sonarsource
520573b838
RULEAPI-654: Clarify the rule creation process (#115) 2021-06-11 05:58:58 +00:00
Arseniy Zaostrovnykh
b0c064cfb7
RULEAPI-640: Add language(s) label(s) to automatically created PR 2021-06-10 09:03:05 +00:00
eric-therond-sonarsource
cf26c8d270
add missing and future security standards (#103) 2021-06-07 19:13:19 +02:00
eric-therond-sonarsource
8421f9fb41
add owasp mobile security standard to schema validation (#94) 2021-06-07 11:20:46 +02:00
Amélie Renard
7b177ec126
RULEAPI-608 Rename unconventional headers in RSPECs and update the validation script in GitHub rspec repository 2021-06-04 14:23:34 +02:00
Arseniy Zaostrovnykh
4ad44aee5b
RULEAPI-616: Stabilize the link validation CI check by preserving the probing results between runs 2021-06-03 16:04:36 +02:00
Arseniy Zaostrovnykh
64226f8b2c Prefix the branches for new rules by 'rule/' to enable UI auto refresh 2021-06-01 17:41:02 +02:00
Arseniy Zaostrovnykh
8a2a77321f Add the preview link to the pr description 2021-06-01 11:46:52 +02:00
Amélie Renard
4dbfe9d0ef
RUELAPI-615 Ignore closed RSPEC in "validate_asciidoc" check 2021-05-25 11:00:40 +02:00
Arseniy Zaostrovnykh
43fff81eb1
Ignore blogs.oracle.com links that work locally but timeout in CI 2021-05-06 15:35:56 +02:00
Arseniy Zaostrovnykh
acd760f75c Fix the indentation (big deal in Python) 2021-05-06 11:22:12 +02:00
Arseniy Zaostrovnykh
b021d34a09 Use "requests" instead of urllib; improve stability of link probing
"requests" library supports HTTP2, HTTPS, coockies by default and
connection:keep-alive header, which increase the number of positive responses
from the probed servers.

Nevertheless, due to unreliable nature of the Internet and flaky performance of
web servers some links occasionaly fail, and with this many links to
probe (1.3k+) it becomes very likely that at least one of them fails.
To mitigate these failures, the script retries the failed links once more.
2021-05-06 11:01:40 +02:00
Arseniy Zaostrovnykh
9fe4334933
RULEAPI-574 Validate RSPEC description structure 2021-05-04 09:58:49 +02:00
Arseniy Zaostrovnykh
97cd183fc2
RULEAPI-596 Bring all the meta info into the language subfolder for new single-lang rules 2021-05-03 09:24:46 +02:00
Arseniy Zaostrovnykh
0b1ee21341
RULEAPI-604 Make an exception for Security Hotspots in the validation schema for "remediation cost" field 2021-04-30 14:11:09 +02:00
Arseniy Zaostrovnykh
e42172f8fa Skip deprecated and superseded rules when checking URLs 2021-04-29 17:58:21 +02:00
Arseniy Zaostrovnykh
034ea0f942 Accept cookies when checking links to better emulate a browser
And fix some "infinite redirect" issues for websites, such as
developer.android.com that need cookies
2021-04-29 16:34:59 +02:00
Nicolas Harraudeau
a84840c5b4 Accept local links without checking them. 2021-02-25 16:21:19 +01:00
nicolas-harraudeau-sonarsource
763c935b63
Improve rules' metadata.json validation 2021-02-23 20:41:11 +01:00
Nicolas Harraudeau
f169cc2323 Fix Pull request assignment 2021-02-18 18:00:42 +01:00
Nicolas Harraudeau
ad7f0af28d Assign new pull request rules when created 2021-02-18 17:50:03 +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
bc4f113642 Fix create rule command in create_new_rspec github workflow 2021-02-18 13:18:24 +01:00
Nicolas Harraudeau
472e87cb6c Fix create rule command in create_new_rspec github workflow 2021-02-18 13:06:06 +01:00
Nicolas Harraudeau
aeb10c40d2 Fix create rule command in create_new_rspec github workflow 2021-02-18 13:00:51 +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
a002318f77 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:50:55 +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
5744c7b409 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:32:10 +01:00
Nicolas Harraudeau
fa1f8ba482 Fix create rule command in create_new_rspec github workflow 2021-02-18 12:18:01 +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