siem

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SIEMAuditEvent

type SIEMAuditEvent struct {
	ActionTaken string `json:"Action Taken"`
	IPAddress   string `json:"IP Address"`
	EventTime   string `json:"Event Time"`
	// EventTime   SQLTimestampReader `json:"Event Time"`
	Message    string `json:"Message"`
	ObjectType string `json:"Object Type"`
	AccessedBy string `json:"Accessed By"`
}

type SIEMAuditResponse

type SIEMAuditResponse struct {
	DisplayCount int              `json:"displaycount"`
	TotalCount   int              `json:"totalcount"`
	Message      string           `json:"msg"`
	Results      []SIEMAuditEvent `json:"results"`
	ErrorCode    string           `json:"errorcode"`
}

func ParseSIEMAuditResponse

func ParseSIEMAuditResponse(r io.Reader) (*SIEMAuditResponse, error)

type SQLTimestampReader

type SQLTimestampReader struct {
	time.Time
}

func (*SQLTimestampReader) UnmarshalJSON

func (t *SQLTimestampReader) UnmarshalJSON(b []byte) (err error)

Jump to

Keyboard shortcuts

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