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 ¶
func (c *RuntimeSecurityClient) GetConfig() (*api.SecurityConfigMessage, error)
GetConfig retrieves the config of the runtime security module
func (*RuntimeSecurityClient) RunSelfTest ¶
func (c *RuntimeSecurityClient) RunSelfTest() (*api.SecuritySelfTestResultMessage, error)
RunSelfTest instructs the system probe to run a self test