common

package
v0.0.675 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudAPIEntity

type CloudAPIEntity struct {
	Service  string `json:"service,omitempty" bson:"service,omitempty"`
	APICall  string `json:"apiCall,omitempty" bson:"apiCall,omitempty"`
	Resource string `json:"resource,omitempty" bson:"resource,omitempty"`
	User     string `json:"user,omitempty" bson:"user,omitempty"`
}

type DnsEntity

type DnsEntity struct {
	Domain string `json:"domain,omitempty" bson:"domain,omitempty"`
}

type FileEntity

type FileEntity struct {
	Name      string `json:"name,omitempty" bson:"name,omitempty"`
	Directory string `json:"directory,omitempty" bson:"directory,omitempty"`
}

type HttpEntity

type HttpEntity struct {
	Method    string `json:"method,omitempty" bson:"method,omitempty"`
	Domain    string `json:"domain,omitempty" bson:"domain,omitempty"`
	UserAgent string `json:"userAgent,omitempty" bson:"userAgent,omitempty"`
	Endpoint  string `json:"endpoint,omitempty" bson:"endpoint,omitempty"`
	Payload   string `json:"payload,omitempty" bson:"payload,omitempty"`
}

type Identifiers

type Identifiers struct {
	Process  *ProcessEntity  `json:"process,omitempty" bson:"process,omitempty"`
	File     *FileEntity     `json:"file,omitempty" bson:"file,omitempty"`
	Dns      *DnsEntity      `json:"dns,omitempty" bson:"dns,omitempty"`
	Network  *NetworkEntity  `json:"network,omitempty" bson:"network,omitempty"`
	Http     *HttpEntity     `json:"http,omitempty" bson:"http,omitempty"`
	CloudAPI *CloudAPIEntity `json:"cloud,omitempty" bson:"cloud,omitempty"`
}

func (*Identifiers) Flatten

func (identifiers *Identifiers) Flatten() map[string]string

type NetworkEntity

type NetworkEntity struct {
	DstIP    string `json:"dstIP,omitempty" bson:"dstIP,omitempty"`
	DstPort  int    `json:"dstPort,omitempty" bson:"dstPort,omitempty"`
	Protocol string `json:"protocol,omitempty" bson:"protocol,omitempty"`
}

type ProcessEntity

type ProcessEntity struct {
	Name        string `json:"name,omitempty" bson:"name,omitempty"`
	CommandLine string `json:"commandLine,omitempty" bson:"commandLine,omitempty"`
}

Jump to

Keyboard shortcuts

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