agent

package
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeSecurityAgent

type RuntimeSecurityAgent struct {
	// contains filtered or unexported fields
}

RuntimeSecurityAgent represents the main wrapper for the Runtime Security product

func NewRuntimeSecurityAgent

func NewRuntimeSecurityAgent(hostname string, reporter event.Reporter) (*RuntimeSecurityAgent, error)

NewRuntimeSecurityAgent instantiates a new RuntimeSecurityAgent

func (*RuntimeSecurityAgent) DispatchEvent

func (rsa *RuntimeSecurityAgent) DispatchEvent(evt *api.SecurityEventMessage)

DispatchEvent dispatches a security event message to the subsytems of the runtime security agent

func (*RuntimeSecurityAgent) GetStatus

func (rsa *RuntimeSecurityAgent) GetStatus() map[string]interface{}

GetStatus returns the current status on the agent

func (*RuntimeSecurityAgent) Start

func (rsa *RuntimeSecurityAgent) Start()

Start the runtime security agent

func (*RuntimeSecurityAgent) StartEventListener

func (rsa *RuntimeSecurityAgent) StartEventListener()

StartEventListener starts listening for new events from system-probe

func (*RuntimeSecurityAgent) Stop

func (rsa *RuntimeSecurityAgent) Stop()

Stop the runtime recurity agent

type RuntimeSecurityClient

type RuntimeSecurityClient struct {
	// contains filtered or unexported fields
}

RuntimeSecurityClient is used to send request to security module

func NewRuntimeSecurityClient

func NewRuntimeSecurityClient() (*RuntimeSecurityClient, error)

NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient

func (*RuntimeSecurityClient) Close

func (c *RuntimeSecurityClient) Close()

Close closes the connection

func (*RuntimeSecurityClient) DumpProcessCache

func (c *RuntimeSecurityClient) DumpProcessCache() (string, error)

DumpProcessCache send a dump request

func (*RuntimeSecurityClient) GetConfig

GetConfig retrieves the config of the runtime security module

func (*RuntimeSecurityClient) RunSelfTest

RunSelfTest instructs the system probe to run a self test

Jump to

Keyboard shortcuts

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