@@ -15,22 +15,22 @@ type IDS struct { //nolint:revive
15
15
Datetime time.Time `fake:"{recent_time}" json:"datetime"`
16
16
DestIP string `fake:"{ipv4address}" json:"dest_ip"`
17
17
DestIPGeo IPGeo `json:"dstipGeo"`
18
- DestPort int `fake:"{port}" json:"dest_port,omitempty"`
18
+ DestPort FlexInt `fake:"{port}" json:"dest_port,omitempty"`
19
19
DstIPASN string `fake:"{address}" json:"dstipASN"`
20
20
DstIPCountry string `fake:"{country}" json:"dstipCountry"`
21
21
DstMAC string `fake:"{macaddress}" json:"dst_mac"`
22
22
EventType string `json:"event_type"`
23
- FlowID int64 `json:"flow_id"`
23
+ FlowID FlexInt `json:"flow_id"`
24
24
Host string `json:"host"`
25
25
ID string `fake:"{uuid}" json:"_id"`
26
26
InIface string `json:"in_iface"`
27
27
InnerAlertAction string `json:"inner_alert_action"`
28
28
InnerAlertCategory string `json:"inner_alert_category"`
29
- InnerAlertGID int64 `json:"inner_alert_gid"`
30
- InnerAlertRev int64 `json:"inner_alert_rev"`
31
- InnerAlertSeverity int64 `json:"inner_alert_severity"`
29
+ InnerAlertGID FlexInt `json:"inner_alert_gid"`
30
+ InnerAlertRev FlexInt `json:"inner_alert_rev"`
31
+ InnerAlertSeverity FlexInt `json:"inner_alert_severity"`
32
32
InnerAlertSignature string `json:"inner_alert_signature"`
33
- InnerAlertSignatureID int64 `json:"inner_alert_signature_id"`
33
+ InnerAlertSignatureID FlexInt `json:"inner_alert_signature_id"`
34
34
Key string `fake:"{uuid}" json:"key"`
35
35
Msg string `fake:"{buzzword}" json:"msg"`
36
36
Proto string `json:"proto"`
@@ -42,10 +42,10 @@ type IDS struct { //nolint:revive
42
42
SrcIPASN string `fake:"{address}" json:"srcipASN"`
43
43
SrcIPCountry string `fake:"{country}" json:"srcipCountry"`
44
44
SrcMAC string `fake:"{macaddress}" json:"src_mac"`
45
- SrcPort int `fake:"{port}" json:"src_port,omitempty"`
45
+ SrcPort FlexInt `fake:"{port}" json:"src_port,omitempty"`
46
46
Subsystem string `json:"subsystem"`
47
- Time int64 `fake:"{timestamp}" json:"time"`
48
- Timestamp int64 `fake:"{timestamp}" json:"timestamp"`
47
+ Time FlexInt `fake:"{timestamp}" json:"time"`
48
+ Timestamp FlexInt `fake:"{timestamp}" json:"timestamp"`
49
49
USGIP string `fake:"{ipv4address}" json:"usgip"`
50
50
USGIPASN string `fake:"{address}" json:"usgipASN"`
51
51
USGIPCountry string `fake:"{country}" json:"usgipCountry"`
0 commit comments