Skip to content

Commit

Permalink
Update rules.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible authored May 8, 2024
1 parent 667d4fb commit f588f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scanners/amg/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (a *ManagedGrafanaScanner) GetRules() map[string]scanners.AzureRule {
Impact: scanners.ImpactHigh,
Eval: func(target interface{}, scanContext *scanners.ScanContext) (bool, string) {
c := target.(*armdashboard.ManagedGrafana)
return *c.Properties.ZoneRedundancy) == armdashboard.ZoneRedundancyDisabled, ""
return *c.Properties.ZoneRedundancy == armdashboard.ZoneRedundancyDisabled, ""
},
Url: "https://learn.microsoft.com/en-us/azure/managed-grafana/high-availability",
},
Expand Down

0 comments on commit f588f77

Please sign in to comment.