Skip to content

Commit

Permalink
Fixed SLA rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Apr 25, 2024
1 parent a3900ef commit 8956bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scanners/vgw/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ func (a *VirtualNetworkGatewayScanner) GetVirtualNetworkGatewayRules() map[strin
g := target.(*armnetwork.VirtualNetworkGateway)
sku := string(*g.Properties.SKU.Tier)
sla := "99.9%"
if sku != "Basic" {
if sku != string(armnetwork.VirtualNetworkGatewaySKUTierBasic) {
sla = "99.95%"
}
return sla == "99.9%", sla
return false, sla
},
Url: "https://www.microsoft.com/licensing/docs/view/Service-Level-Agreements-SLA-for-Online-Services",
},
Expand Down

0 comments on commit 8956bdf

Please sign in to comment.