appsec

package
v0.0.0-...-7983b3b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIntakeReverseProxy

func NewIntakeReverseProxy(transport http.RoundTripper) (http.Handler, error)

NewIntakeReverseProxy returns the AppSec Intake Proxy handler according to the agent configuration.

Types

type Config

type Config struct {
	Enabled bool

	// API configuration group
	IntakeURL      *url.URL
	APIKey         string
	MaxPayloadSize int64
}

Config handles the interpretation of the configuration. It is also a simple structure to share across all the components, with 100% safe and reliable values.

Jump to

Keyboard shortcuts

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