GO-2024-2428: Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation in k8s.io/ingress-nginx
package
Version:
v1.0.0-alpha.1
Opens a new window with list of versions in this module.
Published: Jun 23, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewParser creates a new globalratelimit annotation parser
type Config struct {
Namespace string `json:"namespace"`
Limit int `json:"limit"`
WindowSize int `json:"window-size"`
Key string `json:"key"`
IgnoredCIDRs []string `json:"ignored-cidrs"`
}
Config encapsulates all global rate limit attributes
Equal tests for equality between two Config types
Source Files
¶
Click to show internal directories.
Click to hide internal directories.