@@ -227,7 +227,7 @@ func TestAlertRuleUpdate(t *testing.T) {
227227 Severities : api.AlertRuleSeverities {api .AlertRuleSeverityHigh },
228228 ResourceGroups : []string {"TECHALLY_100000000000AAAAAAAAAAAAAAAAAAAB" },
229229 EventCategories : []string {"Compliance" , "SystemCall" },
230- AlertSources : []string {"Aws " , "Agent" , "K8s" },
230+ AlertSources : []string {"AWS " , "Agent" , "K8s" },
231231 AlertCategories : []string {"Policy" , "Anomaly" },
232232 },
233233 )
@@ -242,7 +242,7 @@ func TestAlertRuleUpdate(t *testing.T) {
242242 assert .Equal (t , intgGUID , response .Data .Guid )
243243 assert .Contains (t , response .Data .Filter .EventCategories , "Compliance" , "SystemCall" )
244244 assert .Contains (t , response .Data .Filter .AlertCategories , "Policy" , "Anomaly" )
245- assert .Contains (t , response .Data .Filter .AlertSources , "Aws " , "Agent" , "K8s" )
245+ assert .Contains (t , response .Data .Filter .AlertSources , "AWS " , "Agent" , "K8s" )
246246 assert .Contains (t , response .Data .Filter .ResourceGroups , "TECHALLY_100000000000AAAAAAAAAAAAAAAAAAAB" )
247247 assert .Contains (t , response .Data .Channels , "TECHALLY_000000000000AAAAAAAAAAAAAAAAAAAA" )
248248 }
@@ -316,7 +316,7 @@ func singleMockAlertRule(id string) string {
316316 "Anomaly"
317317 ],
318318 "source": [
319- "Aws ",
319+ "AWS ",
320320 "Agent",
321321 "K8s"
322322 ]
0 commit comments