Affected by GO-2023-1819
and 1 other vulnerabilities
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
Discover Packages
github.com/kyverno/kyverno
pkg
utils
policy
package
Version:
v1.10.0-alpha.1
Opens a new window with list of versions in this module.
Published: Apr 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ToJson marshals a policy into corresponding json bytes.
ToYaml marshals a policy into corresponding yaml bytes.
If firsts converts the policy to json because some internal structures have
custom json marshalling functions, then it converts json to yaml.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.