appsec

package
v0.39.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIntakeReverseProxy

func NewIntakeReverseProxy(conf *config.AgentConfig) (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