Skip to content

Commit

Permalink
fix: support additional domain formats
Browse files Browse the repository at this point in the history
  • Loading branch information
afiune authored Jul 21, 2023
1 parent 26c627d commit 5b5b194
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lwdomain/domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: "",
Expand Down

0 comments on commit 5b5b194

Please sign in to comment.