Skip to content

Commit

Permalink
Modify rule S6388: Remove diff-id on compliant example without non-co…
Browse files Browse the repository at this point in the history
…mpliant equivalent (#3070)

## 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)

[Related
issue](#1925 (review))
  • Loading branch information
rudy-regazzoni-sonarsource authored Sep 14, 2023
1 parent e4e7d47 commit 30036c6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Enabled encryption for managed disk:
}
----

[source,bicep,diff-id=311,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/disks@2022-07-02' = {
properties: {
Expand Down Expand Up @@ -64,7 +64,7 @@ Enabled encryption through setting https://learn.microsoft.com/en-us/azure/templ
}
----

[source,bicep,diff-id=312,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/disks@2022-07-02' = {
properties: {
Expand Down Expand Up @@ -106,7 +106,7 @@ Enabled encryption through a security profile for an OS disk:
}
----

[source,bicep,diff-id=313,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/disks@2022-07-02' = {
properties: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Enabled disk encryption for snapshot:
}
----

[source,bicep,diff-id=411,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/snapshots@2022-07-02' = {
properties: {
Expand Down Expand Up @@ -110,7 +110,7 @@ Enabled disk encryption through security profile:
}
----

[source,bicep,diff-id=413,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/snapshots@2022-07-02' = {
properties: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Enabled encryption for data disk through security profile:
}
----

[source,bicep,diff-id=213,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/virtualMachineScaleSets@2022-11-01' = {
properties: {
Expand Down Expand Up @@ -230,7 +230,7 @@ Enabled encryption for OS disk through security profile:
}
----

[source,bicep,diff-id=215,diff-type=compliant]
[source,bicep]
----
resource symbolicname 'Microsoft.Compute/virtualMachineScaleSets@2022-11-01' = {
properties: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Enabled encryption for managed disk through security profile:
}
----

[source,bicep,diff-id=113,diff-type=compliant]
[source,bicep]
----
resource myName 'Microsoft.Compute/virtualMachines@2022-11-01' = {
properties: {
Expand Down Expand Up @@ -265,7 +265,7 @@ Enabled encryption for OS managed disk through security profile:
}
----

[source,bicep,diff-id=116,diff-type=compliant]
[source,bicep]
----
resource myName 'Microsoft.Compute/virtualMachines@2022-11-01' = {
properties: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ resource myName 'Microsoft.Compute/virtualMachines@2022-11-01' = {
}
}
}
----
----

0 comments on commit 30036c6

Please sign in to comment.