Affected by GO-2023-1804
and 3 other vulnerabilities
GO-2023-1804 : Kyverno vulnerable due to usage of insecure cipher in github.com/kyverno/kyverno
GO-2023-1819 : Kyverno resource with a deletionTimestamp may allow policy circumvention in github.com/kyverno/kyverno
GO-2023-2340 : Attacker can cause Kyverno user to unintentionally consume insecure image in github.com/kyverno/kyverno
GO-2024-3230 : Kyverno's PolicyException objects can be created in any namespace by default in github.com/kyverno/kyverno
Discover Packages
github.com/kyverno/kyverno
pkg
event
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Jul 1, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Controller interface {
Generator
Run(stopCh <-chan struct{})
Stop()
}
Controller api
NewEventController to generate a new event controller
type Generator interface {
Add(infoList ...*Info )
}
Generator to generate event
Info defines the event details
NewEvent returns a new event
MsgKey is an identified to determine the preset message formats
const (
FResourcePolcy MsgKey = iota
FProcessRule
SPolicyApply
SRulesApply
FPolicyApplyBlockCreate
FPolicyApplyBlockUpdate
FPolicyBlockResourceUpdate
)
Message id for pre-defined messages
Reason types of Event Reasons
const (
PolicyViolation Reason = iota
PolicyApplied
RequestBlocked
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.