audit

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 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 {
	*specsgo.LinuxDevice
}

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 {
	Runtime      string
	ID           string
	Image        string
	PID          int
	Namespaces   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