our shortcut for waap events

This commit is contained in:
bui 2023-10-24 17:23:29 +02:00
parent 685006508c
commit dd49620922

View file

@ -22,6 +22,13 @@ LOOP:
if !event.Process {
continue
}
/*Waap is going to generate 2 events:
- one that is treated as a log and can go to scenarios
- another one that will go directly to LAPI*/
if event.Type == types.WAAP {
outputEventChan <- event
continue
}
if event.Line.Module == "" {
log.Errorf("empty event.Line.Module field, the acquisition module must set it ! : %+v", event.Line)
continue