17 Commits

Author SHA1 Message Date
hendrik-buchwald-sonarsource
d5f1cbee3c
Modify rule S6258: Fix indentation (#2589) 2023-07-20 17:00:27 +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
Rudy Regazzoni
d6a6439e46
Add bicep and json for language support in code example (#1830) 2023-05-05 11:12:16 +02:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring 2022-02-04 16:28:24 +00:00
Loris S
79c8879694 Create rule S6258[cloudformation]: Add AWS API Gateway Stages (#514)
* added new example, and fixed previous comments

* str->bool for tracing_enabled

Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>

* str->bool for tracing_enabled

Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>

* Add access logs

Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>
Co-authored-by: Hendrik Buchwald <hendrik.buchwald@sonarsource.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
hendrik-buchwald-sonarsource
8df18a05c2 Create rule S6258[cloudformation]: Add AWS Neptune Clusters (#522)
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
a684769716 Create rule S6258[cloudformation]: Add AWS MSK (#523)
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
c81733a9c9 Create rule S6258[cloudformation]: Add AWS DocDB Clusters (#526)
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
hendrik-buchwald-sonarsource
5f8aed8d21 Create rule S6258[cloudformation]: Add AWS MQ Broker (#528)
* Add MQ

* Add MQ

* Fix URL

* Remove Terraform

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
2abc700e5a Create rule S6258[cloudformation]: Add AWS Redshift Clusters (#530)
* Create rule S6258[cloudformation]: Add AWS Redshift Clusters

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
7b10fd610a Create rule S6258[cloudformation]: Add AWS ES/OpenSearch Domains (#533)
* Create rule S6258[cloudformation]: Add AWS OpenSearch/ElasticSearch Domains

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

* Update rules/S6258/cloudformation/rule.adoc

Co-authored-by: hendrik-buchwald-sonarsource <64110887+hendrik-buchwald-sonarsource@users.noreply.github.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
cb1083aa1f Create rule S6258[cloudformation]: Add AWS CloudFront Distributions (#548)
* Create rule S6258[terraform]: Add AWS CloudFront Distributions

* Update rules/S6258/cloudformation/rule.adoc

Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>

Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
583d5668fd Create rule S6258[cloudformation]: Add AWS ELB Listeners (#550)
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2021-11-14 13:03:34 +01:00
Loris S
66d665f97d Create rule S6258[cloudformation]: Add AWS Load Balancing v2 (#554)
* Create rule S6258[cloudformation]: Add AWS Load Balancing v2

* added sensitive kw
2021-11-14 13:03:34 +01:00
Loris S
b3530d6421
Modify rule S6258: Conversion from S3-specific to generic rule (#510) 2021-10-20 09:57:41 +02: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
d845ac4fd3 Add new IAAS-related rules 2021-05-21 18:34:30 +02:00