grpcsec

package
v1.59.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GRPCServerRequestMessage  = "grpc.server.request.message"
	GRPCServerRequestMetadata = "grpc.server.request.metadata"
	HTTPClientIPAddr          = httpsec.HTTPClientIPAddr
	UserIDAddr                = httpsec.UserIDAddr
)

gRPC rule addresses currently supported by the WAF

Variables

This section is empty.

Functions

func NewWAFEventListener

func NewWAFEventListener(handle *waf.Handle, actions sharedsec.Actions, addresses map[string]struct{}, timeout time.Duration, limiter limiter.Limiter) dyngo.EventListener

NewWAFEventListener returns the WAF event listener to register in order to enable it.

func SupportedAddressCount

func SupportedAddressCount() int

func SupportsAddress

func SupportsAddress(addr string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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