func (eb *EventBase) GetTimestamp() time.Time {
	return eb.Timestamp
}
GetTimestamp - Returns the event timestamp
package model
import (
	"fmt"
	"sync"
	"time"
	"docker.io/go-docker/api/types"
	"docker.io/go-docker/api/types/container"
	"docker.io/go-docker/api/types/strslice"
	"github.com/docker/go-connections/nat"
	"github.com/sirupsen/logrus"
	v1 "github.com/Gui774ume/network-security-probe/pkg/k8s/apis/securityprobe.datadoghq.com/v1"
	"github.com/Gui774ume/network-security-probe/pkg/model/kernel"
)
type EventType string
var (
	UnknownEventType EventType = "Unknown"
	AnyEventType EventType = "Any"
	ContainerCreatedEventType EventType = "ContainerCreated"
	ContainerRunningEventType EventType = "ContainerRunning"
	ContainerExitedEventType EventType = "ContainerExit"
	ContainerDestroyedEventType EventType = "ContainerDestroyed"
	ContainerExecEventType EventType = "ContainerExec"
	ContainerAttachEventType EventType = "ContainerAttach"
	ContainerConnectEventType EventType = "ContainerConnect"
	ContainerDisconnectEventType EventType = "ContainerDisconnect"
	FlowType EventType = "Flow"
	NewNetDeviceType EventType = "NewNetDevice"
	DeviceNetnsUpdateType EventType = "DeviceNetnsUpdate"
	SecurityProfileCreatedType EventType = "SecurityProfileCreated"
	SecurityProfileUpdatedType EventType = "SecurityProfileUpdated"
	SecurityProfileDeletedType EventType = "SecurityProfileDeleted"
	NetworkAlertType EventType = "NetworkAlert"
	DNSQueryType EventType = "DNSQuery"
	DNSResponseType EventType = "DNSResponse"
	ForkEventType EventType = "Fork"
	ExecEventType EventType = "Exec"
	ExitEventType EventType = "Exit"
)
type ProbeEvent interface {
	GetPid() uint32
	GetNetns() uint64
	GetLogEntry() *logrus.Entry
	GetMessage() string
	GetTimestamp() time.Time
	GetEventType() EventType
	GetEventMonitorName() MonitorName
	SetProcessCacheData(entry *ProcessCacheEntry)
	GetProcessCacheData() *ProcessCacheEntry
	SetNamespaceCacheData(entry *NamespaceCacheEntry)
	GetNamespaceCacheData() *NamespaceCacheEntry
}
const (
	DeviceRegistration = iota
	DeviceUnregistration
	DeviceFree
)
type EventBase struct {
	ProcessData      *ProcessCacheEntry   `json:"process_data,omitempty"`
	NamespaceData    *NamespaceCacheEntry `json:"namespace_data,omitempty"`
	EventType        EventType            `json:"event_type"`
	EventMonitorName MonitorName          `json:"event_monitor_name"`
	Timestamp        time.Time            `json:"timestamp"`
	TTYName          string               `json:"tty_name"`
}