diff --git a/lwdomain/domain_test.go b/lwdomain/domain_test.go index bb75dcbcc..a0aeac055 100644 --- a/lwdomain/domain_test.go +++ b/lwdomain/domain_test.go @@ -46,6 +46,11 @@ func TestDomains(t *testing.T) { expectedCluster: "abc", expectedString: "abc.abc.corp", expectedInternal: true}, + {URL: "a-b-c.xyz.foo.corp.lacework.net", + expectedAccount: "a-b-c.xyz", + expectedCluster: "foo", + expectedString: "a-b-c.xyz.foo.corp", + expectedInternal: true}, {URL: "http://account.lacework.net", expectedAccount: "account", expectedCluster: "",