audit

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditor

type Auditor interface {
	AuditOnce() error
}

type LinuxCapabilities

type LinuxCapabilities struct {
	*specsgo.LinuxCapabilities
}

func (*LinuxCapabilities) MarshalLogObject

func (l *LinuxCapabilities) MarshalLogObject(enc zapcore.ObjectEncoder) error

type LinuxDevice

type LinuxDevice struct {
	Path  string
	Type  string
	Major int64
	Minor int64
}

func (*LinuxDevice) MarshalLogObject

func (l *LinuxDevice) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Namespaces

type Namespaces struct {
	HostNetworking bool
	HostPID        bool
	HostIPC        bool
	HostUTS        bool
	HostCgroup     bool
}

func (*Namespaces) MarshalLogObject

func (n *Namespaces) MarshalLogObject(enc zapcore.ObjectEncoder) error

type NetworkInfo

type NetworkInfo struct {
	Device    string
	Addresses []string
}

func (*NetworkInfo) MarshalLogObject

func (n *NetworkInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Report

type Report struct {
	Address        string
	Runtime        string
	ID             string
	Namespace      string
	Image          string
	PID            int
	HostNamespaces Namespaces
	Networks       []NetworkInfo
	Created        time.Time
	Mounts         []string
	CgroupsPath    string
	Status         string
	Capabilities   *LinuxCapabilities
	Devices        []LinuxDevice
}

func (*Report) MarshalLogObject

func (r *Report) MarshalLogObject(enc zapcore.ObjectEncoder) error

Jump to

Keyboard shortcuts

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