Affected by GO-2025-3781
and 4 other vulnerabilities
GO-2025-3781: Incus Allocation of Resources Without Limits allows firewall rule bypass on managed bridge networks in github.com/lxc/incus
GO-2025-3782: Incus creates nftables rules that partially bypass security options in github.com/lxc/incus
GO-2025-4115: Incus vulnerable to local privilege escalation through custom storage volumes in github.com/lxc/incus
GO-2026-4357: Incus container image templating arbitrary host file read and write in github.com/lxc/incus
GO-2026-4359: Incus container environment configuration newline injection in github.com/lxc/incus

The highest tagged major version is
v6.
package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Debug(msg string, ctx ...Ctx)
-
func Debugf(format string, args ...any)
-
func Error(msg string, ctx ...Ctx)
-
func Errorf(format string, args ...any)
-
func GetStack() string
-
func Info(msg string, ctx ...Ctx)
-
func Infof(format string, args ...any)
-
func InitLogger(filepath string, syslogName string, verbose bool, debug bool, hook logrus.Hook) error
-
func Panic(msg string, ctx ...Ctx)
-
func Panicf(format string, args ...any)
-
func Pretty(input any) string
-
func Trace(msg string, ctx ...Ctx)
-
func Tracef(format string, args ...any)
-
func Warn(msg string, ctx ...Ctx)
-
func Warnf(format string, args ...any)
-
type Ctx
-
type Logger
Debug logs a message (with optional context) at the DEBUG log level.
Debugf logs at the DEBUG log level using a standard printf format string.
Error logs a message (with optional context) at the ERROR log level.
Errorf logs at the ERROR log level using a standard printf format string.
GetStack will convert the Go stack into a string suitable for logging.
Info logs a message (with optional context) at the INFO log level.
Infof logs at the INFO log level using a standard printf format string.
InitLogger intializes a full logging instance.
Panic logs a message (with optional context) at the PANIC log level.
Panicf logs at the PANIC log level using a standard printf format string.
Pretty will attempt to convert any Go structure into a string suitable for logging.
Trace logs a message (with optional context) at the TRACE log level.
Tracef logs at the TRACE log level using a standard printf format string.
Warn logs a message (with optional context) at the WARNING log level.
Warnf logs at the WARNING log level using a standard printf format string.
Ctx is the logging context.
Logger is the main logging interface.
Log contains the logger used by all the logging functions.
AddContext returns a new logger with the context added.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.