agent: add TODO for verification

pull/4275/head
Mitchell Hashimoto 2018-03-27 10:09:13 -07:00
parent 5a47a53c70
commit 6e57233913
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 3 additions and 0 deletions

View File

@ -940,6 +940,9 @@ func (s *HTTPServer) AgentConnectAuthorize(resp http.ResponseWriter, req *http.R
return nil, acl.ErrPermissionDenied
}
// TODO(mitchellh): we need to verify more things here, such as the
// trust domain, blacklist lookup of the serial, etc.
// Get the intentions for this target service.
args := &structs.IntentionQueryRequest{
Datacenter: s.agent.config.Datacenter,