Documentation ¶
Index ¶
- type ModSecurity
- func (*ModSecurity) Descriptor() ([]byte, []int)
- func (this *ModSecurity) Equal(that interface{}) bool
- func (m *ModSecurity) GetDisabled() bool
- func (m *ModSecurity) GetRuleSets() []*RuleSet
- 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) GetDisabled() bool
- func (m *ModSecurityPerRoute) GetRuleSets() []*RuleSet
- 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 (*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"` 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) 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"` // Overwite the global rules on this route RuleSets []*RuleSet `protobuf:"bytes,2,rep,name=rule_sets,json=ruleSets,proto3" json:"rule_sets,omitempty"` 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) 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:"-"` }
String options are not recommended unless they are relatively short as they will be sent over the wire quite often.
Any files referenced by this proto should be mounted into the relevant envoy pod prior to use or the filter will fail to initialize and the configuration will be rejected
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.