Affected by GO-2025-3455
and 3 other vulnerabilities
GO-2025-3455 : Contrast's unauthenticated recovery allows Coordinator impersonation in github.com/edgelesssys/contrast
GO-2025-3718 : Contrast workload secrets leak to logs on INFO level in github.com/edgelesssys/contrast
GO-2025-3807 : Contrast vulnerability allows arbitrary host data Injection into container VOLUME mount points in github.com/edgelesssys/contrast
GO-2025-4078 : Contrast has insecure LUKS2 persistent storage partitions may be opened and used in github.com/edgelesssys/contrast
Discover Packages
github.com/edgelesssys/contrast
cli
genpolicy
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Aug 7, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Rules []byte
Settings []byte
}
Config contains configuration files for genpolicy.
NewConfig selects the appropriate genpolicy configuration for the target platform.
Runner is a wrapper around the genpolicy tool.
Create an instance with New(), call Run() to execute the tool, and call
Teardown() afterwards to clean up temporary files.
New creates a new Runner for the given configuration.
Run runs the tool on the given yaml.
Run can be called more than once.
Teardown cleans up temporary files and should be called after the last Run.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.