Add test coverage for dns names on a host when authorizing a session in target_service_test.go. Add the recent fixes to the changelog. (#1854)

This commit is contained in:
Todd authored and GitHub committed 2022-02-10 16:06:03 -07:00
1 parent bd30ff4140
commit 3242d3936e
2 files changed
+9

No files matched your search

+7
View File
@@ -10,6 +10,13 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.
subcommend selection a bit clearer
([PR](https://github.com/hashicorp/boundary/pull/1835))
### Bug Fixes
* targets: Specifying a plugin based host id when authorizing a session
now works. ([PR](https://github.com/hashicorp/boundary/pull/1853))
* targets: DNS names are now properly parsed when selecting an endpoint
for authorizing a session.
([PR](https://github.com/hashicorp/boundary/pull/1849))
## 0.7.4 (2022/01/18)
### Deprecations/Changes
@@ -2651,11 +2651,13 @@ func TestAuthorizeSession(t *testing.T) {
SetIds: setIds,
ExternalId: "test",
IpAddresses: []string{"10.0.0.1", "192.168.0.1"},
DnsNames: []string{"example.com"},
},
{
SetIds: setIds,
ExternalId: "test2",
IpAddresses: []string{"10.1.1.1", "192.168.1.1"},
DnsNames: []string{"another-example.com"},
},
}}, nil
},