common

package
v0.0.718 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 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 EventDetailsEntity added in v0.0.715

type EventDetailsEntity struct {
	EventName   string `json:"name,omitempty" bson:"name,omitempty"`
	EventSource string `json:"source,omitempty" bson:"source,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"`
	Event             *EventDetailsEntity      `json:"event,omitempty" bson:"event,omitempty"`
	UserIdentity      *UserIdentityEntity      `json:"userIdentity,omitempty" bson:"userIdentity,omitempty"`
	SourceInformation *SourceInformationEntity `json:"sourceInformation,omitempty" bson:"sourceInformation,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"`
}

type SourceInformationEntity added in v0.0.715

type SourceInformationEntity struct {
	SourceIPAddress string `json:"sourceIPAddress,omitempty" bson:"sourceIPAddress,omitempty"`
	UserAgent       string `json:"userAgent,omitempty" bson:"userAgent,omitempty"`
}

type UserIdentityEntity added in v0.0.715

type UserIdentityEntity struct {
	UserName    string `json:"userName,omitempty" bson:"userName,omitempty"`
	Type        string `json:"type,omitempty" bson:"type,omitempty"`
	ARN         string `json:"ARN,omitempty" bson:"ARN,omitempty"`
	PrincipalID string `json:"principalID,omitempty" bson:"principalID,omitempty"`
	AccessKeyID string `json:"accessKeyID,omitempty" bson:"accessKeyID,omitempty"`
}

Jump to

Keyboard shortcuts

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