Documentation ¶
Index ¶
- Constants
- type Policy
- func (policy Policy) CreateDefaultConfig(ctx map[string]interface{}) apipolicy.PolicyDto
- func (policy Policy) NeedSerialUpdate() bool
- func (policy Policy) ParseConfig(dto apipolicy.PolicyDto, ctx map[string]interface{}) (apipolicy.PolicyConfig, error)
- func (policy Policy) UnmarshalConfig(config []byte) (apipolicy.PolicyDto, error, string)
- type PolicyDto
Constants ¶
View Source
const ( WAF_SWITCH_ON = "on" WAF_SWITCH_OFF = "off" WAF_SWITCH_WATCH = "watch" MODSECURITY_SNIPPET = "nginx.ingress.kubernetes.io/modsecurity-snippet" MODSECURITY_ENABLE = "nginx.ingress.kubernetes.io/enable-modsecurity" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
apipolicy.BasePolicy
}
func (Policy) CreateDefaultConfig ¶
func (Policy) NeedSerialUpdate ¶
func (Policy) ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.