code: func (c *Client) EmitAuditEvent(event events.Event, fields events.EventFields) error {
  	_, err := c.PostJSON(c.Endpoint("events"), &auditEventReq{
  		Event:  event,
  		Fields: fields,
  		// Send "type" as well for backwards compatibility.
  		Type: event.Name,
  	})
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	return nil
  }
docs: // EmitAuditEvent sends an auditable event to the auth server (part of evets.IAuditLog interface)