Documentation
¶
Index ¶
- Constants
- type AlbConnectionLog
- type AlbConnectionLogTable
- func (c *AlbConnectionLogTable) EnrichRow(row *AlbConnectionLog, sourceEnrichmentFields schema.SourceEnrichment) (*AlbConnectionLog, error)
- func (c *AlbConnectionLogTable) GetDescription() string
- func (c *AlbConnectionLogTable) GetSourceMetadata() ([]*table.SourceMetadata[*AlbConnectionLog], error)
- func (c *AlbConnectionLogTable) Identifier() string
Constants ¶
View Source
const AlbConnectionLogTableIdentifier = "aws_alb_connection_log"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbConnectionLog ¶
type AlbConnectionLog struct {
schema.CommonFields
ClientIP string `json:"client_ip"`
ClientPort int `json:"client_port"`
ConnTraceID *string `json:"conn_trace_id"`
LeafClientCertSerialNumber string `json:"leaf_client_cert_serial_number,omitempty"`
LeafClientCertSubject string `json:"leaf_client_cert_subject,omitempty"`
LeafClientCertValidity string `json:"leaf_client_cert_validity,omitempty"`
ListenerPort int `json:"listener_port,omitempty"`
TLSCipher string `json:"tls_cipher,omitempty"`
TLSHandshakeLatency float64 `json:"tls_handshake_latency,omitempty"`
TLSProtocol string `json:"tls_protocol,omitempty"`
TLSVerifyStatus string `json:"tls_verify_status,omitempty"`
Timestamp time.Time `json:"timestamp"`
}
AlbConnectionLog represents a connection log entry from an AWS ALB.
func (*AlbConnectionLog) GetColumnDescriptions ¶
func (c *AlbConnectionLog) GetColumnDescriptions() map[string]string
GetColumnDescriptions returns a mapping of connection log field names to their descriptions.
func (*AlbConnectionLog) InitialiseFromMap ¶
func (c *AlbConnectionLog) InitialiseFromMap(m map[string]string) error
InitialiseFromMap populates the AlbConnectionLog fields from a map. It expects keys that match the field names defined in the connection log format.
type AlbConnectionLogTable ¶
type AlbConnectionLogTable struct{}
func (*AlbConnectionLogTable) EnrichRow ¶
func (c *AlbConnectionLogTable) EnrichRow(row *AlbConnectionLog, sourceEnrichmentFields schema.SourceEnrichment) (*AlbConnectionLog, error)
func (*AlbConnectionLogTable) GetDescription ¶
func (c *AlbConnectionLogTable) GetDescription() string
GetDescription returns a description of the connection log table.
func (*AlbConnectionLogTable) GetSourceMetadata ¶
func (c *AlbConnectionLogTable) GetSourceMetadata() ([]*table.SourceMetadata[*AlbConnectionLog], error)
func (*AlbConnectionLogTable) Identifier ¶
func (c *AlbConnectionLogTable) Identifier() string
Click to show internal directories.
Click to hide internal directories.