monitoring

package
v2.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawLog

type RawLog struct {
	Origin  WAFType
	Logline string
}

RawLog describes the raw log entry received from the WAF

type RequestStatus

type RequestStatus uint

RequestStatus denotes the status of the request made to WAF

const (
	PASSED RequestStatus = iota
	BLOCKED
)

RequestStatus currently can be either PASSED or BLOCKED

func (RequestStatus) String

func (r RequestStatus) String() string

String converts RequestStatus enum into string

type WAFType

type WAFType uint

WAFType denotes which type of WAF is being used

const (
	NAP WAFType = iota
)

WAFType currently can just be NAP, can be extended to support other types of WAFs if needed

func (WAFType) String

func (w WAFType) String() string

String converts WAFType enum into string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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