allowlists

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsecAllowlist

type AppsecAllowlist struct {
	LAPIClient *apiclient.ApiClient
	// contains filtered or unexported fields
}

func NewAppsecAllowlist

func NewAppsecAllowlist(logger *log.Entry) *AppsecAllowlist

func (*AppsecAllowlist) FetchAllowlists

func (a *AppsecAllowlist) FetchAllowlists(ctx context.Context) error

func (*AppsecAllowlist) IsAllowlisted

func (a *AppsecAllowlist) IsAllowlisted(sourceIP string) (bool, string)

func (*AppsecAllowlist) Start

func (a *AppsecAllowlist) Start(ctx context.Context, client *apiclient.ApiClient) error

func (*AppsecAllowlist) StartRefresh

func (a *AppsecAllowlist) StartRefresh(ctx context.Context, t *tomb.Tomb)

Jump to

Keyboard shortcuts

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