Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEntry ¶
type AuditLog ¶
type AuditLog struct {
// contains filtered or unexported fields
}
func NewAuditLog ¶
func NewAuditLog() *AuditLog
func (*AuditLog) GetBlocked ¶
func (a *AuditLog) GetBlocked() []AuditEntry
func (*AuditLog) GetByRule ¶
func (a *AuditLog) GetByRule(ruleID string) []AuditEntry
func (*AuditLog) GetByScanner ¶
func (a *AuditLog) GetByScanner(scanner string) []AuditEntry
func (*AuditLog) GetLast ¶
func (a *AuditLog) GetLast(n int) []AuditEntry
func (*AuditLog) Record ¶
func (a *AuditLog) Record(entry AuditEntry)
type ScanResult ¶
type StreamingScanner ¶
type StreamingScanner struct {
// contains filtered or unexported fields
}
func NewStreamingScanner ¶
func NewStreamingScanner(overlapSize int) *StreamingScanner
func (*StreamingScanner) GetFindings ¶
func (s *StreamingScanner) GetFindings() []string
func (*StreamingScanner) Reset ¶
func (s *StreamingScanner) Reset()
func (*StreamingScanner) ScanChunk ¶
func (s *StreamingScanner) ScanChunk(chunk string) *ScanResult
Click to show internal directories.
Click to hide internal directories.