modsecurity

package
v0.0.0-...-cfb183a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser(resolver resolver.Resolver) parser.IngressAnnotation

NewParser creates a new ModSecurity annotation parser

Types

type Config

type Config struct {
	Enable        bool   `json:"enable-modsecurity"`
	OWASPRules    bool   `json:"enable-owasp-core-rules"`
	TransactionID string `json:"modsecurity-transaction-id"`
	Snippet       string `json:"modsecurity-snippet"`
}

Config contains ModSecurity Configuration items

func (*Config) Equal

func (modsec1 *Config) Equal(modsec2 *Config) bool

Equal tests for equality between two Config types

Jump to

Keyboard shortcuts

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