Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions thorlog/common/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ type LogEventMetadata struct {
ScanID string `json:"scan_id" textlog:"scanid,omitempty"`
// A unique ID for this event.
// The ID is transient and the same element may have different IDs across multiple scans.
//
// In v3 events, it is guaranteed that the string is a UUID, and it is also guaranteed
// to be unique across multiple scans.
GenID string `json:"event_id,omitempty" textlog:"uid,omitempty"`
// The hostname of the machine where this event was generated.
Source string `json:"hostname" textlog:"-"`
Expand Down
Loading