Documentation ¶
Index ¶
- type ModSecurity
- func (*ModSecurity) Descriptor() ([]byte, []int)
- func (this *ModSecurity) Equal(that interface{}) bool
- func (m *ModSecurity) GetCustomInterventionMessage() string
- func (m *ModSecurity) GetDisabled() bool
- func (m *ModSecurity) GetRuleSets() []*RuleSet
- func (m *ModSecurity) Hash(hasher hash.Hash64) (uint64, error)
- func (*ModSecurity) ProtoMessage()
- func (m *ModSecurity) Reset()
- func (m *ModSecurity) String() string
- func (m *ModSecurity) XXX_DiscardUnknown()
- func (m *ModSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModSecurity) XXX_Merge(src proto.Message)
- func (m *ModSecurity) XXX_Size() int
- func (m *ModSecurity) XXX_Unmarshal(b []byte) error
- type ModSecurityPerRoute
- func (*ModSecurityPerRoute) Descriptor() ([]byte, []int)
- func (this *ModSecurityPerRoute) Equal(that interface{}) bool
- func (m *ModSecurityPerRoute) GetCustomInterventionMessage() string
- func (m *ModSecurityPerRoute) GetDisabled() bool
- func (m *ModSecurityPerRoute) GetRuleSets() []*RuleSet
- func (m *ModSecurityPerRoute) Hash(hasher hash.Hash64) (uint64, error)
- func (*ModSecurityPerRoute) ProtoMessage()
- func (m *ModSecurityPerRoute) Reset()
- func (m *ModSecurityPerRoute) String() string
- func (m *ModSecurityPerRoute) XXX_DiscardUnknown()
- func (m *ModSecurityPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModSecurityPerRoute) XXX_Merge(src proto.Message)
- func (m *ModSecurityPerRoute) XXX_Size() int
- func (m *ModSecurityPerRoute) XXX_Unmarshal(b []byte) error
- type RuleSet
- func (*RuleSet) Descriptor() ([]byte, []int)
- func (this *RuleSet) Equal(that interface{}) bool
- func (m *RuleSet) GetFiles() []string
- func (m *RuleSet) GetRuleStr() string
- func (m *RuleSet) Hash(hasher hash.Hash64) (uint64, error)
- func (*RuleSet) ProtoMessage()
- func (m *RuleSet) Reset()
- func (m *RuleSet) String() string
- func (m *RuleSet) XXX_DiscardUnknown()
- func (m *RuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RuleSet) XXX_Merge(src proto.Message)
- func (m *RuleSet) XXX_Size() int
- func (m *RuleSet) XXX_Unmarshal(b []byte) error
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 ¶ added in v0.20.9
func (m *ModSecurity) GetCustomInterventionMessage() string
func (*ModSecurity) GetDisabled ¶
func (m *ModSecurity) GetDisabled() bool
func (*ModSecurity) GetRuleSets ¶
func (m *ModSecurity) GetRuleSets() []*RuleSet
func (*ModSecurity) Hash ¶ added in v1.2.13
func (m *ModSecurity) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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 ¶ added in v0.20.9
func (m *ModSecurityPerRoute) GetCustomInterventionMessage() string
func (*ModSecurityPerRoute) GetDisabled ¶
func (m *ModSecurityPerRoute) GetDisabled() bool
func (*ModSecurityPerRoute) GetRuleSets ¶
func (m *ModSecurityPerRoute) GetRuleSets() []*RuleSet
func (*ModSecurityPerRoute) Hash ¶ added in v1.2.13
func (m *ModSecurityPerRoute) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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) GetRuleStr ¶
func (*RuleSet) ProtoMessage ¶
func (*RuleSet) ProtoMessage()
func (*RuleSet) XXX_DiscardUnknown ¶
func (m *RuleSet) XXX_DiscardUnknown()
func (*RuleSet) XXX_Marshal ¶
func (*RuleSet) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.