waf

package
v0.0.0-...-5a6645a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModSecurity

type ModSecurity struct {
	// Disable all rules on the current route
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Global rule sets for the current http connection manager
	RuleSets []*RuleSet `protobuf:"bytes,2,rep,name=rule_sets,json=ruleSets,proto3" json:"rule_sets,omitempty"`
	// Custom message to display when an intervention occurs
	CustomInterventionMessage string   `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*ModSecurity) Descriptor

func (*ModSecurity) Descriptor() ([]byte, []int)

func (*ModSecurity) Equal

func (this *ModSecurity) Equal(that interface{}) bool

func (*ModSecurity) GetCustomInterventionMessage

func (m *ModSecurity) GetCustomInterventionMessage() string

func (*ModSecurity) GetDisabled

func (m *ModSecurity) GetDisabled() bool

func (*ModSecurity) GetRuleSets

func (m *ModSecurity) GetRuleSets() []*RuleSet

func (*ModSecurity) ProtoMessage

func (*ModSecurity) ProtoMessage()

func (*ModSecurity) Reset

func (m *ModSecurity) Reset()

func (*ModSecurity) String

func (m *ModSecurity) String() string

func (*ModSecurity) XXX_DiscardUnknown

func (m *ModSecurity) XXX_DiscardUnknown()

func (*ModSecurity) XXX_Marshal

func (m *ModSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModSecurity) XXX_Merge

func (m *ModSecurity) XXX_Merge(src proto.Message)

func (*ModSecurity) XXX_Size

func (m *ModSecurity) XXX_Size() int

func (*ModSecurity) XXX_Unmarshal

func (m *ModSecurity) XXX_Unmarshal(b []byte) error

type ModSecurityPerRoute

type ModSecurityPerRoute struct {
	// Disable all rules on the current route
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Overwrite the global rules on this route
	RuleSets []*RuleSet `protobuf:"bytes,2,rep,name=rule_sets,json=ruleSets,proto3" json:"rule_sets,omitempty"`
	// Custom message to display when an intervention occurs
	CustomInterventionMessage string   `` /* 138-byte string literal not displayed */
	XXX_NoUnkeyedLiteral      struct{} `json:"-"`
	XXX_unrecognized          []byte   `json:"-"`
	XXX_sizecache             int32    `json:"-"`
}

func (*ModSecurityPerRoute) Descriptor

func (*ModSecurityPerRoute) Descriptor() ([]byte, []int)

func (*ModSecurityPerRoute) Equal

func (this *ModSecurityPerRoute) Equal(that interface{}) bool

func (*ModSecurityPerRoute) GetCustomInterventionMessage

func (m *ModSecurityPerRoute) GetCustomInterventionMessage() string

func (*ModSecurityPerRoute) GetDisabled

func (m *ModSecurityPerRoute) GetDisabled() bool

func (*ModSecurityPerRoute) GetRuleSets

func (m *ModSecurityPerRoute) GetRuleSets() []*RuleSet

func (*ModSecurityPerRoute) ProtoMessage

func (*ModSecurityPerRoute) ProtoMessage()

func (*ModSecurityPerRoute) Reset

func (m *ModSecurityPerRoute) Reset()

func (*ModSecurityPerRoute) String

func (m *ModSecurityPerRoute) String() string

func (*ModSecurityPerRoute) XXX_DiscardUnknown

func (m *ModSecurityPerRoute) XXX_DiscardUnknown()

func (*ModSecurityPerRoute) XXX_Marshal

func (m *ModSecurityPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModSecurityPerRoute) XXX_Merge

func (m *ModSecurityPerRoute) XXX_Merge(src proto.Message)

func (*ModSecurityPerRoute) XXX_Size

func (m *ModSecurityPerRoute) XXX_Size() int

func (*ModSecurityPerRoute) XXX_Unmarshal

func (m *ModSecurityPerRoute) XXX_Unmarshal(b []byte) error

type RuleSet

type RuleSet struct {
	// String of rules which are added directly
	RuleStr string `protobuf:"bytes,1,opt,name=rule_str,json=ruleStr,proto3" json:"rule_str,omitempty"`
	// Array of files to include
	Files                []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RuleSet) Descriptor

func (*RuleSet) Descriptor() ([]byte, []int)

func (*RuleSet) Equal

func (this *RuleSet) Equal(that interface{}) bool

func (*RuleSet) GetFiles

func (m *RuleSet) GetFiles() []string

func (*RuleSet) GetRuleStr

func (m *RuleSet) GetRuleStr() string

func (*RuleSet) ProtoMessage

func (*RuleSet) ProtoMessage()

func (*RuleSet) Reset

func (m *RuleSet) Reset()

func (*RuleSet) String

func (m *RuleSet) String() string

func (*RuleSet) XXX_DiscardUnknown

func (m *RuleSet) XXX_DiscardUnknown()

func (*RuleSet) XXX_Marshal

func (m *RuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleSet) XXX_Merge

func (m *RuleSet) XXX_Merge(src proto.Message)

func (*RuleSet) XXX_Size

func (m *RuleSet) XXX_Size() int

func (*RuleSet) XXX_Unmarshal

func (m *RuleSet) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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