Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify rule S6388: Add language AzureResourceManager (Bicep) #1925

Merged

Conversation

rudy-regazzoni-sonarsource
Copy link
Contributor

@rudy-regazzoni-sonarsource rudy-regazzoni-sonarsource commented May 22, 2023

@rudy-regazzoni-sonarsource rudy-regazzoni-sonarsource force-pushed the rule/S6388-add-azureresourcemanager-bicep branch from 6e4724a to da460a3 Compare May 22, 2023 11:31
@rudy-regazzoni-sonarsource rudy-regazzoni-sonarsource marked this pull request as ready for review May 22, 2023 11:35
@sonarsource-next
Copy link

SonarQube Quality Gate for 'rspec-tools'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarsource-next
Copy link

SonarQube Quality Gate for 'rspec-frontend'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jonas-wielage-sonarsource jonas-wielage-sonarsource force-pushed the rule/S6388-add-azureresourcemanager-bicep branch from da460a3 to 1cf01b4 Compare September 13, 2023 08:32
@sonarqube-next
Copy link

SonarQube Quality Gate for 'rspec-frontend'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarqube-next
Copy link

SonarQube Quality Gate for 'rspec-tools'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@rudy-regazzoni-sonarsource rudy-regazzoni-sonarsource merged commit d2c8e2f into master Sep 13, 2023
@rudy-regazzoni-sonarsource rudy-regazzoni-sonarsource deleted the rule/S6388-add-azureresourcemanager-bicep branch September 13, 2023 13:29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rudy-regazzoni-sonarsource

This PR introduced some regressions: https://cirrus-ci.com/task/6481755893399552?logs=asciidoc_tests#L93-L101

[S6388/azureresourcemanager] diff-id=113 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_virtualMachines.compliant.adoc:118
[S6388/azureresourcemanager] diff-id=116 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_virtualMachines.compliant.adoc:269
[S6388/azureresourcemanager] diff-id=213 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_virtualMachineScaleSets.compliant.adoc:128
[S6388/azureresourcemanager] diff-id=215 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_virtualMachineScaleSets.compliant.adoc:234
[S6388/azureresourcemanager] diff-id=311 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_disks.compliant.adoc:26
[S6388/azureresourcemanager] diff-id=312 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_disks.compliant.adoc:68
[S6388/azureresourcemanager] diff-id=313 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_disks.compliant.adoc:110
[S6388/azureresourcemanager] diff-id=411 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_snapshots.compliant.adoc:26
[S6388/azureresourcemanager] diff-id=413 has zero noncompliant example: /tmp/cirrus-ci-build/rules/S6388/azureresourcemanager/examples/Microsoft.Compute_snapshots.compliant.adoc:114

Could you have a look and fix them? This is blocking #2883 which should make those regressions obvious.
Thanks.

@@ -80,6 +111,28 @@ Enabled encryption for managed disk through security profile:
}
----

[source,bicep,diff-id=113,diff-type=compliant]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one, and other snippets, have no noncompliant examples.

@rudy-regazzoni-sonarsource
Copy link
Contributor Author

Hello @marco-antognini-sonarsource !
I will take care of this.
Sorry for the inconvenience.

rudy-regazzoni-sonarsource added a commit that referenced this pull request Sep 14, 2023
…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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants