MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Source

Method Source

pkg/event/types_windows.go:610–617  ·  view source on GitHub ↗

Source designates the provenance of this event type.

()

Source from the content-addressed store, hash-verified

608
609// Source designates the provenance of this event type.
610func (t Type) Source() Source {
611 switch t.GUID() {
612 case AuditAPIEventGUID, DNSEventGUID, ThreadpoolGUID, ProcessKernelEventGUID, RegistryKernelEventGUID:
613 return SecurityTelemetryLogger
614 default:
615 return SystemLogger
616 }
617}
618
619// TypeFromParts builds the event type from provider GUID and hook ID.
620func TypeFromParts(g windows.GUID, id uint16) Type { return pack(g, id) }

Callers 1

initMethod · 0.80

Calls 1

GUIDMethod · 0.95

Tested by

no test coverage detected