Documentation ¶
Index ¶
Constants ¶
View Source
const ( OriginHeaderKey = "X-Tufin-Origin" OriginAWSAPIGateway = "AWSAPIGateway" OriginIstioAccessLogs = "IstioAccessLogs" OriginIstioEnvoyLua = "IstioEnvoyLua" OriginNginx = "Nginx" OriginGoMiddleware = "GoMiddleware" OriginMetadata = "Metadata" OriginOpenSSLBPF = "OpenSSLBPF" )
Variables ¶
This section is empty.
Functions ¶
func OriginHasResponse ¶
Types ¶
type HTTPLog ¶
type HTTPLog struct { Domain string `json:"domain"` Project string `json:"project"` Time civil.DateTime `json:"time"` Scheme string `json:"scheme"` Host string `json:"host"` // host or host:port Path string `json:"path"` QueryString url.Values `json:"query_string"` // parsed (not encoded) Method string `json:"method"` RequestBody string `json:"request_body"` RequestHeaders http.Header `json:"request_headers"` // canonical format Cookies []*http.Cookie `json:"cookies"` StatusCode int `json:"status_code"` ResponseBody string `json:"response_body"` ResponseHeaders http.Header `json:"response_headers"` // canonical format RequestTime int64 `json:"request_time"` // latency Service string `json:"service"` Protocol string `json:"protocol"` Connection string `json:"connection"` Origin string `json:"origin"` BytesSent int64 `json:"bytes_sent"` RequestType RequestType `json:"request_type"` }
type RequestType ¶ added in v0.0.22
type RequestType int8
const ( RequestTypeNA RequestType = iota + 1 RequestTypeIngress RequestTypeEgress )
Click to show internal directories.
Click to hide internal directories.