auditlog

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

auditlog package processes the /var/log/audit/audit.log log file. Process records the stream of text and on newline sends the line of text to the AuditLogChan for received by the auditd processor for correlation and analysis.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogIngester

type AuditLogIngester struct {
	FilePath     string
	AuditLogChan chan string
	// contains filtered or unexported fields
}

func NewAuditLogIngester

func NewAuditLogIngester(
	filePath string,
	auditLogChan chan string,
	namedPipeIngester namedpipe.NamedPipeIngester,
) AuditLogIngester

func (*AuditLogIngester) Ingest

func (a *AuditLogIngester) Ingest(ctx context.Context) error

func (*AuditLogIngester) Process

func (a *AuditLogIngester) Process(ctx context.Context, line string) error

Jump to

Keyboard shortcuts

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