Description
The current specification only declares a handful of TLS certificate fields. Additionally, these fields are centered around an active connection, not so much around TLS metadata. For instance tls.servername
specifies that it be the servername requested by the client. If the cert is a wildcard cert, there is no place in the schema for that.
There is a certificates
field, but that is somewhat under-defined. Should the certs be x.509 PEM or DER encoded? I think that description needs to be tightened up as well.
I propose that we the full list of x.509 fields to ECS, and make it clear that tls.*
should be exclusively what's in the certificate(s), not the context around the given connection.
Furthermore, I think we should remove the tls.servername
field, destination.hostname
should suffice for use in those situations.