Loris S bef49d6a16
Modify S4423(Azure): Add MSSQL sample (#2532)
## Review

A dedicated reviewer checked the rule description successfully for:

- [x] logical errors and incorrect information
- [x] information gaps and missing content
- [x] text style and tone
- [x] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-07-20 16:09:48 +02:00

32 lines
539 B
Plaintext

== How to fix it in Azure MSSQL
=== Code examples
==== Noncompliant code example
[source,terraform,diff-id=1,diff-type=noncompliant]
----
resource "azurerm_mssql_server" "example" {
name = "example"
version = "12.0"
minimum_tls_version = "1.0" # Noncompliant
}
----
==== Compliant solution
[source,terraform,diff-id=1,diff-type=compliant]
----
resource "azurerm_mssql_server" "example" {
name = "example"
version = "12.0"
minimum_tls_version = "1.2"
}
----
=== How does this work?
include::../../common/fix/fix.adoc[]