12 Commits

Author SHA1 Message Date
daniel-teuchert-sonarsource
b22dae5811
APPSEC-1080: S6364 Adjust the retention period of the compliant examples (#3049)
This PR adjusts the retention period from the compliant examples so that
they do not raise security hotspots when scanned with the Sonarway
profile.

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-13 15:49:15 +02:00
daniel-teuchert-sonarsource
9f5a87c298
Arm/make examples schema compliant (#3047)
This PR changes the JSON examples for ARM rules to make sure that the
code samples will be scanned by sonar-iac-plugin.
To ensure this all resources need a name field and the schema URL has to
be an https and not http URL.

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-09-13 15:48:50 +02:00
Egon Okerman
ebc3f49dd0
Modify rule S6364: Add language AzureResourceManager (Bicep) (#1913) 2023-09-13 10:25:38 +02:00
Antonio Aversa
a02bf814d4
Clean Code Taxonomy: add "code" to all non-obsolete metadata.json (#2793) 2023-08-04 17:19:38 +02: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
github-actions[bot]
81b58aa934
Modify rule S6364: Add language AzureResourceManager (JSON) (#1912)
[Specification
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-768)
[Implementation
ticket](https://sonarsource.atlassian.net/browse/SONARIAC-810)
[RSPEC
Preview](https://sonarsource.github.io/rspec/#/rspec/S6364/azureresourcemanager)

Bicep PR for S6364: #1913

---------

Co-authored-by: egon-okerman-sonarsource <egon-okerman-sonarsource@users.noreply.github.com>
Co-authored-by: Egon Okerman <egon.okerman@sonarsource.com>
2023-05-17 17:16:37 +02:00
Rudy Regazzoni
d6a6439e46
Add bicep and json for language support in code example (#1830) 2023-05-05 11:12:16 +02:00
Pierre-Loup
e1e2738667
Modify rule S6364: Update issue message (#896)
* Modify rule S6364: Update issue message

* Update rules/S6364/message.adoc

Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>

Co-authored-by: Loris S. <91723853+loris-s-sonarsource@users.noreply.github.com>
Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-03-25 14:37:19 +00:00
hendrik-buchwald-sonarsource
c2a3f34aa4
Modify Rule S6364: Add Azure (#755)
* Update rule

* Add Azure example

Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
2022-03-25 13:22:32 +00:00
Fred Tingaud
b4161466e6
RULEAPI-661: Add syntax coloring 2022-02-04 16:28:24 +00:00
Pierre-Loup
c6f14b6a20
Add AWS tag to IaC rules (#662) 2021-12-16 15:02:01 +01:00
github-actions[bot]
2a9ea96c76
Create rule S6364: Defining a short backup retention duration is security-sensitive (#453) 2021-12-15 16:51:01 +01:00