diff --git a/ids.go b/ids.go index 4f9ca8c..a4707a4 100644 --- a/ids.go +++ b/ids.go @@ -15,22 +15,22 @@ type IDS struct { //nolint:revive Datetime time.Time `fake:"{recent_time}" json:"datetime"` DestIP string `fake:"{ipv4address}" json:"dest_ip"` DestIPGeo IPGeo `json:"dstipGeo"` - DestPort int `fake:"{port}" json:"dest_port,omitempty"` + DestPort FlexInt `fake:"{port}" json:"dest_port,omitempty"` DstIPASN string `fake:"{address}" json:"dstipASN"` DstIPCountry string `fake:"{country}" json:"dstipCountry"` DstMAC string `fake:"{macaddress}" json:"dst_mac"` EventType string `json:"event_type"` - FlowID int64 `json:"flow_id"` + FlowID FlexInt `json:"flow_id"` Host string `json:"host"` ID string `fake:"{uuid}" json:"_id"` InIface string `json:"in_iface"` InnerAlertAction string `json:"inner_alert_action"` InnerAlertCategory string `json:"inner_alert_category"` - InnerAlertGID int64 `json:"inner_alert_gid"` - InnerAlertRev int64 `json:"inner_alert_rev"` - InnerAlertSeverity int64 `json:"inner_alert_severity"` + InnerAlertGID FlexInt `json:"inner_alert_gid"` + InnerAlertRev FlexInt `json:"inner_alert_rev"` + InnerAlertSeverity FlexInt `json:"inner_alert_severity"` InnerAlertSignature string `json:"inner_alert_signature"` - InnerAlertSignatureID int64 `json:"inner_alert_signature_id"` + InnerAlertSignatureID FlexInt `json:"inner_alert_signature_id"` Key string `fake:"{uuid}" json:"key"` Msg string `fake:"{buzzword}" json:"msg"` Proto string `json:"proto"` @@ -42,10 +42,10 @@ type IDS struct { //nolint:revive SrcIPASN string `fake:"{address}" json:"srcipASN"` SrcIPCountry string `fake:"{country}" json:"srcipCountry"` SrcMAC string `fake:"{macaddress}" json:"src_mac"` - SrcPort int `fake:"{port}" json:"src_port,omitempty"` + SrcPort FlexInt `fake:"{port}" json:"src_port,omitempty"` Subsystem string `json:"subsystem"` - Time int64 `fake:"{timestamp}" json:"time"` - Timestamp int64 `fake:"{timestamp}" json:"timestamp"` + Time FlexInt `fake:"{timestamp}" json:"time"` + Timestamp FlexInt `fake:"{timestamp}" json:"timestamp"` USGIP string `fake:"{ipv4address}" json:"usgip"` USGIPASN string `fake:"{address}" json:"usgipASN"` USGIPCountry string `fake:"{country}" json:"usgipCountry"`