models

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	ID        uint
	CreatedAt time.Time
	Name      string
	FilePath  string
	IsFile    bool
	IsQuery   bool
	Query     string
	Since     string
	SinceTime time.Time
	IPs       []*cticlient.SmokeItem
	FileHash  string
	Stats     *ReportStats
}

type ReportStats

type ReportStats struct {
	NbIPs              int
	TopReputation      map[string]int
	TopBehaviors       map[string]int
	TopClassifications map[string]int
	TopCountries       map[string]int
	TopCVEs            map[string]int
	TopAS              map[string]int
	TopIPRange         map[string]int
	TopBlocklists      map[string]int
	NbUnknownIPs       int
	AverageBNScore     float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL