agentlog

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 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 AgentLog

type AgentLog struct {
	ID        string                 `json:"id" db:"id"`
	AssetID   string                 `json:"asset_id" db:"asset_id"`
	Hostname  string                 `json:"hostname" db:"hostname"`
	Action    string                 `json:"action" db:"action"`
	Message   string                 `json:"message" db:"message"`
	Data      map[string]interface{} `json:"data" db:"data"`
	OrgID     uint                   `json:"org_id" db:"org_id"`
	CreatedAt *time.Time             `json:"created_at,omitempty" db:"created_at"`
}

AgentLog represents a log entry from an agent

type AgentLogExpanded added in v1.2.0

type AgentLogExpanded AgentLog

func (AgentLogExpanded) Summary added in v1.2.0

func (a AgentLogExpanded) Summary() (any, error)

type AgentLogSummary added in v1.2.0

type AgentLogSummary struct {
	Time     string `json:"time"`
	AssetID  string `json:"asset_id"`
	Hostname string `json:"hostname"`
	Action   string `json:"action"`
	Message  string `json:"message"`
	Data     string `json:"data"`
}

Jump to

Keyboard shortcuts

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