Documentation ¶
Index ¶
Constants ¶
View Source
const CurrentVersion = uint64(2)
CurrentVersion describes the current binary log version number
View Source
const FileFormatLength = 32
FileFormatLength describes the length of the magic string. The non-used bytes need to be filled up with \000.
View Source
const FileFormatMagic string = "ContainerSSH-Auditlog"
FileFormatMagic is the magic string that needs to appear in the header.
Variables ¶
This section is empty.
Functions ¶
func NewDecoder ¶
NewDecoder Creates a decoder for the CBOR+GZIP audit log format.
func NewEncoder ¶
func NewEncoder(geoIPProvider geoipprovider.LookupProvider) codec.Encoder
NewEncoder creates an encoder that encodes messages in CBOR+GZIP format as documented
on https://containerssh.github.io/advanced/audit/format/
Types ¶
Click to show internal directories.
Click to hide internal directories.