types

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColumns

func GetColumns() *columns.Columns[Event]

Types

type Event

type Event struct {
	eventtypes.Event
	eventtypes.WithMountNsID

	Pid        uint32   `json:"pid,omitempty" column:"pid,template:pid"`
	Ppid       uint32   `json:"ppid,omitempty" column:"ppid,template:pid"`
	Comm       string   `json:"comm,omitempty" column:"comm,template:comm"`
	Pcomm      string   `json:"pcomm,omitempty" column:"pcomm,template:comm"`
	Retval     int      `json:"ret,omitempty" column:"ret,width:3,fixed"`
	Args       []string `json:"args,omitempty" column:"args,width:40"`
	Uid        uint32   `json:"uid" column:"uid,template:uid,hide"`
	Username   string   `json:"user,omitempty" column:"user,hide"`
	Gid        uint32   `json:"gid" column:"gid,template:gid,hide"`
	Groupname  string   `json:"group,omitempty" column:"group,hide"`
	UpperLayer bool     `json:"upperlayer" column:"upperlayer,width:10,fixed,hide"`
	LoginUid   uint32   `json:"loginuid" column:"loginuid,template:uid,hide"`
	SessionId  uint32   `json:"sessionid" column:"sessionid,minWidth:10,hide"`
	Cwd        string   `json:"cwd,omitempty" column:"cwd,width:40" columnTags:"param:paths"`
	ExePath    string   `json:"exepath,omitempty" column:"exepath,width:40" columnTags:"param:paths"`
}

func Base

func Base(ev eventtypes.Event) *Event

func (*Event) GetGid added in v0.28.0

func (e *Event) GetGid() uint32

func (*Event) GetUid added in v0.28.0

func (e *Event) GetUid() uint32

func (*Event) SetGroupName added in v0.28.0

func (e *Event) SetGroupName(groupname string)

func (*Event) SetUserName added in v0.28.0

func (e *Event) SetUserName(username string)

Jump to

Keyboard shortcuts

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