Documentation ¶
Index ¶
- type CoreRuleSet
- func (*CoreRuleSet) Descriptor() ([]byte, []int)
- func (this *CoreRuleSet) Equal(that interface{}) bool
- func (m *CoreRuleSet) GetCustomSettingsFile() string
- func (m *CoreRuleSet) GetCustomSettingsString() string
- func (m *CoreRuleSet) GetCustomSettingsType() isCoreRuleSet_CustomSettingsType
- func (*CoreRuleSet) ProtoMessage()
- func (m *CoreRuleSet) Reset()
- func (m *CoreRuleSet) String() string
- func (m *CoreRuleSet) XXX_DiscardUnknown()
- func (m *CoreRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CoreRuleSet) XXX_Merge(src proto.Message)
- func (*CoreRuleSet) XXX_OneofWrappers() []interface{}
- func (m *CoreRuleSet) XXX_Size() int
- func (m *CoreRuleSet) XXX_Unmarshal(b []byte) error
- type CoreRuleSet_CustomSettingsFile
- type CoreRuleSet_CustomSettingsString
- type RouteSettingsdeprecated
- func (*RouteSettings) Descriptor() ([]byte, []int)
- func (this *RouteSettings) Equal(that interface{}) bool
- func (m *RouteSettings) GetDisabled() bool
- func (m *RouteSettings) GetSettings() *Settings
- func (*RouteSettings) ProtoMessage()
- func (m *RouteSettings) Reset()
- func (m *RouteSettings) String() string
- func (m *RouteSettings) XXX_DiscardUnknown()
- func (m *RouteSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteSettings) XXX_Merge(src proto.Message)
- func (m *RouteSettings) XXX_Size() int
- func (m *RouteSettings) XXX_Unmarshal(b []byte) error
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (this *Settings) Equal(that interface{}) bool
- func (m *Settings) GetCoreRuleSet() *CoreRuleSet
- func (m *Settings) GetCustomInterventionMessage() string
- func (m *Settings) GetDisabled() bool
- func (m *Settings) GetRuleSets() []*waf.RuleSet
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) String() string
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings) XXX_Merge(src proto.Message)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type VhostSettingsdeprecated
- func (*VhostSettings) Descriptor() ([]byte, []int)
- func (this *VhostSettings) Equal(that interface{}) bool
- func (m *VhostSettings) GetDisabled() bool
- func (m *VhostSettings) GetSettings() *Settings
- func (*VhostSettings) ProtoMessage()
- func (m *VhostSettings) Reset()
- func (m *VhostSettings) String() string
- func (m *VhostSettings) XXX_DiscardUnknown()
- func (m *VhostSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VhostSettings) XXX_Merge(src proto.Message)
- func (m *VhostSettings) XXX_Size() int
- func (m *VhostSettings) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreRuleSet ¶
type CoreRuleSet struct { // Optional custom settings for the OWASP core rule set. // For an example on the configuration options see: https://github.com/SpiderLabs/owasp-modsecurity-crs/blob/v3.2/dev/crs-setup.conf.example // The same rules apply to these options as do to the `RuleSet`s. The file option is better if possible. // // Types that are valid to be assigned to CustomSettingsType: // *CoreRuleSet_CustomSettingsString // *CoreRuleSet_CustomSettingsFile CustomSettingsType isCoreRuleSet_CustomSettingsType `protobuf_oneof:"CustomSettingsType"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CoreRuleSet) Descriptor ¶
func (*CoreRuleSet) Descriptor() ([]byte, []int)
func (*CoreRuleSet) Equal ¶
func (this *CoreRuleSet) Equal(that interface{}) bool
func (*CoreRuleSet) GetCustomSettingsFile ¶
func (m *CoreRuleSet) GetCustomSettingsFile() string
func (*CoreRuleSet) GetCustomSettingsString ¶
func (m *CoreRuleSet) GetCustomSettingsString() string
func (*CoreRuleSet) GetCustomSettingsType ¶
func (m *CoreRuleSet) GetCustomSettingsType() isCoreRuleSet_CustomSettingsType
func (*CoreRuleSet) ProtoMessage ¶
func (*CoreRuleSet) ProtoMessage()
func (*CoreRuleSet) Reset ¶
func (m *CoreRuleSet) Reset()
func (*CoreRuleSet) String ¶
func (m *CoreRuleSet) String() string
func (*CoreRuleSet) XXX_DiscardUnknown ¶
func (m *CoreRuleSet) XXX_DiscardUnknown()
func (*CoreRuleSet) XXX_Marshal ¶
func (m *CoreRuleSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CoreRuleSet) XXX_Merge ¶
func (m *CoreRuleSet) XXX_Merge(src proto.Message)
func (*CoreRuleSet) XXX_OneofWrappers ¶
func (*CoreRuleSet) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CoreRuleSet) XXX_Size ¶
func (m *CoreRuleSet) XXX_Size() int
func (*CoreRuleSet) XXX_Unmarshal ¶
func (m *CoreRuleSet) XXX_Unmarshal(b []byte) error
type CoreRuleSet_CustomSettingsFile ¶
type CoreRuleSet_CustomSettingsFile struct {
CustomSettingsFile string `protobuf:"bytes,3,opt,name=custom_settings_file,json=customSettingsFile,proto3,oneof" json:"custom_settings_file,omitempty"`
}
func (*CoreRuleSet_CustomSettingsFile) Equal ¶
func (this *CoreRuleSet_CustomSettingsFile) Equal(that interface{}) bool
type CoreRuleSet_CustomSettingsString ¶
type CoreRuleSet_CustomSettingsString struct {
CustomSettingsString string `` /* 129-byte string literal not displayed */
}
func (*CoreRuleSet_CustomSettingsString) Equal ¶
func (this *CoreRuleSet_CustomSettingsString) Equal(that interface{}) bool
type RouteSettings
deprecated
type RouteSettings struct { // Disable waf on this route Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` Settings *Settings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO(kdorosh) delete this once we stop supporting opaque configuration under extensions
Deprecated: Do not use.
func (*RouteSettings) Descriptor ¶
func (*RouteSettings) Descriptor() ([]byte, []int)
func (*RouteSettings) Equal ¶
func (this *RouteSettings) Equal(that interface{}) bool
func (*RouteSettings) GetDisabled ¶
func (m *RouteSettings) GetDisabled() bool
func (*RouteSettings) GetSettings ¶
func (m *RouteSettings) GetSettings() *Settings
func (*RouteSettings) ProtoMessage ¶
func (*RouteSettings) ProtoMessage()
func (*RouteSettings) Reset ¶
func (m *RouteSettings) Reset()
func (*RouteSettings) String ¶
func (m *RouteSettings) String() string
func (*RouteSettings) XXX_DiscardUnknown ¶
func (m *RouteSettings) XXX_DiscardUnknown()
func (*RouteSettings) XXX_Marshal ¶
func (m *RouteSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RouteSettings) XXX_Merge ¶
func (m *RouteSettings) XXX_Merge(src proto.Message)
func (*RouteSettings) XXX_Size ¶
func (m *RouteSettings) XXX_Size() int
func (*RouteSettings) XXX_Unmarshal ¶
func (m *RouteSettings) XXX_Unmarshal(b []byte) error
type Settings ¶
type Settings struct { // Disable waf on this resource (if omitted defaults to false). // If a route/virtual host is configured with WAF, you must explicitly disable its WAF, // i.e., it will not inherit the disabled status of its parent Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // Custom message to display if an intervention occurs. CustomInterventionMessage string `` /* 138-byte string literal not displayed */ // Add OWASP core rule set // if nil will not be added CoreRuleSet *CoreRuleSet `protobuf:"bytes,3,opt,name=core_rule_set,json=coreRuleSet,proto3" json:"core_rule_set,omitempty"` // Custom rule sets rules to add RuleSets []*waf.RuleSet `protobuf:"bytes,4,rep,name=rule_sets,json=ruleSets,proto3" json:"rule_sets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings) Descriptor ¶
func (*Settings) GetCoreRuleSet ¶
func (m *Settings) GetCoreRuleSet() *CoreRuleSet
func (*Settings) GetCustomInterventionMessage ¶ added in v0.20.9
func (*Settings) GetDisabled ¶
func (*Settings) GetRuleSets ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_Unmarshal ¶
type VhostSettings
deprecated
type VhostSettings struct { // Disable waf on this virtual host Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` Settings *Settings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TODO(kdorosh) delete this once we stop supporting opaque configuration under extensions
Deprecated: Do not use.
func (*VhostSettings) Descriptor ¶
func (*VhostSettings) Descriptor() ([]byte, []int)
func (*VhostSettings) Equal ¶
func (this *VhostSettings) Equal(that interface{}) bool
func (*VhostSettings) GetDisabled ¶
func (m *VhostSettings) GetDisabled() bool
func (*VhostSettings) GetSettings ¶
func (m *VhostSettings) GetSettings() *Settings
func (*VhostSettings) ProtoMessage ¶
func (*VhostSettings) ProtoMessage()
func (*VhostSettings) Reset ¶
func (m *VhostSettings) Reset()
func (*VhostSettings) String ¶
func (m *VhostSettings) String() string
func (*VhostSettings) XXX_DiscardUnknown ¶
func (m *VhostSettings) XXX_DiscardUnknown()
func (*VhostSettings) XXX_Marshal ¶
func (m *VhostSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VhostSettings) XXX_Merge ¶
func (m *VhostSettings) XXX_Merge(src proto.Message)
func (*VhostSettings) XXX_Size ¶
func (m *VhostSettings) XXX_Size() int
func (*VhostSettings) XXX_Unmarshal ¶
func (m *VhostSettings) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.