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

Method SequenceLinks

pkg/event/event.go:362–374  ·  view source on GitHub ↗

SequenceLink returns the sequence link values from event metadata.

()

Source from the content-addressed store, hash-verified

360
361// SequenceLink returns the sequence link values from event metadata.
362func (e *Event) SequenceLinks() []any {
363 e.mmux.RLock()
364 defer e.mmux.RUnlock()
365 links, ok := e.Metadata[RuleSequenceLinks].(map[any]struct{})
366 if !ok {
367 return nil
368 }
369 s := make([]any, 0, len(links))
370 for v := range links {
371 s = append(s, v)
372 }
373 return s
374}

Callers 2

runSequenceMethod · 0.80
evalSequenceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected