agent: add TODO for verification

This commit is contained in:
Mitchell Hashimoto 2018-03-27 10:09:13 -07:00
parent f983978fb8
commit 94e7a0a3c1
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,