Documentation
¶
Overview ¶
Package linux provides checks for Linux systems.
Index ¶
- type ApplicationUpdates
- func (f *ApplicationUpdates) FailedMessage() string
- func (f *ApplicationUpdates) IsRunnable() bool
- func (f *ApplicationUpdates) Name() string
- func (f *ApplicationUpdates) Passed() bool
- func (f *ApplicationUpdates) PassedMessage() string
- func (f *ApplicationUpdates) RequiresRoot() bool
- func (f *ApplicationUpdates) Run() error
- func (f *ApplicationUpdates) Status() string
- func (f *ApplicationUpdates) UUID() string
- type Autologin
- func (f *Autologin) FailedMessage() string
- func (f *Autologin) IsRunnable() bool
- func (f *Autologin) Name() string
- func (f *Autologin) Passed() bool
- func (f *Autologin) PassedMessage() string
- func (f *Autologin) RequiresRoot() bool
- func (f *Autologin) Run() error
- func (f *Autologin) Status() string
- func (f *Autologin) UUID() string
- type DockerAccess
- func (f *DockerAccess) FailedMessage() string
- func (f *DockerAccess) IsRunnable() bool
- func (f *DockerAccess) Name() string
- func (f *DockerAccess) Passed() bool
- func (f *DockerAccess) PassedMessage() string
- func (f *DockerAccess) RequiresRoot() bool
- func (f *DockerAccess) Run() error
- func (f *DockerAccess) Status() string
- func (f *DockerAccess) UUID() string
- type EncryptingFS
- func (f *EncryptingFS) FailedMessage() string
- func (f *EncryptingFS) IsRunnable() bool
- func (f *EncryptingFS) Name() string
- func (f *EncryptingFS) Passed() bool
- func (f *EncryptingFS) PassedMessage() string
- func (f *EncryptingFS) RequiresRoot() bool
- func (f *EncryptingFS) Run() error
- func (f *EncryptingFS) Status() string
- func (f *EncryptingFS) UUID() string
- type Firewall
- func (f *Firewall) FailedMessage() string
- func (f *Firewall) IsRunnable() bool
- func (f *Firewall) Name() string
- func (f *Firewall) Passed() bool
- func (f *Firewall) PassedMessage() string
- func (f *Firewall) RequiresRoot() bool
- func (f *Firewall) Run() error
- func (f *Firewall) Status() string
- func (f *Firewall) UUID() string
- type PasswordManagerCheck
- func (pmc *PasswordManagerCheck) FailedMessage() string
- func (pmc *PasswordManagerCheck) IsRunnable() bool
- func (pmc *PasswordManagerCheck) Name() string
- func (pmc *PasswordManagerCheck) Passed() bool
- func (pmc *PasswordManagerCheck) PassedMessage() string
- func (pmc *PasswordManagerCheck) RequiresRoot() bool
- func (pmc *PasswordManagerCheck) Run() error
- func (pmc *PasswordManagerCheck) Status() string
- func (pmc *PasswordManagerCheck) UUID() string
- type PasswordToUnlock
- func (f *PasswordToUnlock) FailedMessage() string
- func (f *PasswordToUnlock) IsRunnable() bool
- func (f *PasswordToUnlock) Name() string
- func (f *PasswordToUnlock) Passed() bool
- func (f *PasswordToUnlock) PassedMessage() string
- func (f *PasswordToUnlock) RequiresRoot() bool
- func (f *PasswordToUnlock) Run() error
- func (f *PasswordToUnlock) Status() string
- func (f *PasswordToUnlock) UUID() string
- type Printer
- func (f *Printer) FailedMessage() string
- func (f *Printer) IsRunnable() bool
- func (f *Printer) Name() string
- func (f *Printer) Passed() bool
- func (f *Printer) PassedMessage() string
- func (f *Printer) RequiresRoot() bool
- func (f *Printer) Run() error
- func (f *Printer) Status() string
- func (f *Printer) UUID() string
- type SecureBoot
- func (f *SecureBoot) FailedMessage() string
- func (f *SecureBoot) IsRunnable() bool
- func (f *SecureBoot) Name() string
- func (f *SecureBoot) Passed() bool
- func (f *SecureBoot) PassedMessage() string
- func (f *SecureBoot) RequiresRoot() bool
- func (f *SecureBoot) Run() error
- func (f *SecureBoot) Status() string
- func (f *SecureBoot) UUID() string
- type Sharing
- func (f *Sharing) FailedMessage() string
- func (f *Sharing) IsRunnable() bool
- func (f *Sharing) Name() string
- func (f *Sharing) Passed() bool
- func (f *Sharing) PassedMessage() string
- func (f *Sharing) RequiresRoot() bool
- func (f *Sharing) Run() error
- func (f *Sharing) Status() string
- func (f *Sharing) UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationUpdates ¶
type ApplicationUpdates struct {
// contains filtered or unexported fields
}
func (*ApplicationUpdates) FailedMessage ¶
func (f *ApplicationUpdates) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*ApplicationUpdates) IsRunnable ¶
func (f *ApplicationUpdates) IsRunnable() bool
CanRun returns whether the check can run
func (*ApplicationUpdates) Name ¶
func (f *ApplicationUpdates) Name() string
Name returns the name of the check
func (*ApplicationUpdates) Passed ¶
func (f *ApplicationUpdates) Passed() bool
Passed returns the status of the check
func (*ApplicationUpdates) PassedMessage ¶
func (f *ApplicationUpdates) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*ApplicationUpdates) RequiresRoot ¶
func (f *ApplicationUpdates) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*ApplicationUpdates) Status ¶
func (f *ApplicationUpdates) Status() string
Status returns the status of the check
func (*ApplicationUpdates) UUID ¶
func (f *ApplicationUpdates) UUID() string
UUID returns the UUID of the check
type Autologin ¶
type Autologin struct {
// contains filtered or unexported fields
}
Autologin checks for autologin misconfiguration.
func (*Autologin) FailedMessage ¶
FailedMessage returns the message to return if the check failed
func (*Autologin) IsRunnable ¶
IsRunnable returns whether Autologin is runnable.
func (*Autologin) PassedMessage ¶
PassedMessage returns the message to return if the check passed
func (*Autologin) RequiresRoot ¶
RequiresRoot returns whether the check requires root access
type DockerAccess ¶
type DockerAccess struct {
// contains filtered or unexported fields
}
func (*DockerAccess) FailedMessage ¶
func (f *DockerAccess) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*DockerAccess) IsRunnable ¶
func (f *DockerAccess) IsRunnable() bool
CanRun returns whether the check can run
func (*DockerAccess) Passed ¶
func (f *DockerAccess) Passed() bool
Passed returns the status of the check
func (*DockerAccess) PassedMessage ¶
func (f *DockerAccess) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*DockerAccess) RequiresRoot ¶
func (f *DockerAccess) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*DockerAccess) Status ¶
func (f *DockerAccess) Status() string
Status returns the status of the check
type EncryptingFS ¶
type EncryptingFS struct {
// contains filtered or unexported fields
}
func (*EncryptingFS) FailedMessage ¶
func (f *EncryptingFS) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*EncryptingFS) IsRunnable ¶
func (f *EncryptingFS) IsRunnable() bool
CanRun returns whether the check can run
func (*EncryptingFS) Passed ¶
func (f *EncryptingFS) Passed() bool
Passed returns the status of the check
func (*EncryptingFS) PassedMessage ¶
func (f *EncryptingFS) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*EncryptingFS) RequiresRoot ¶
func (f *EncryptingFS) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*EncryptingFS) Status ¶
func (f *EncryptingFS) Status() string
Status returns the status of the check
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall checks the system firewall.
func (*Firewall) FailedMessage ¶
FailedMessage returns the message to return if the check failed
func (*Firewall) IsRunnable ¶
IsRunnable returns whether Firewall is runnable.
func (*Firewall) PassedMessage ¶
PassedMessage returns the message to return if the check passed
func (*Firewall) RequiresRoot ¶
RequiresRoot returns whether the check requires root access
type PasswordManagerCheck ¶
type PasswordManagerCheck struct {
// contains filtered or unexported fields
}
func (*PasswordManagerCheck) FailedMessage ¶
func (pmc *PasswordManagerCheck) FailedMessage() string
func (*PasswordManagerCheck) IsRunnable ¶
func (pmc *PasswordManagerCheck) IsRunnable() bool
func (*PasswordManagerCheck) Name ¶
func (pmc *PasswordManagerCheck) Name() string
func (*PasswordManagerCheck) Passed ¶
func (pmc *PasswordManagerCheck) Passed() bool
func (*PasswordManagerCheck) PassedMessage ¶
func (pmc *PasswordManagerCheck) PassedMessage() string
func (*PasswordManagerCheck) RequiresRoot ¶
func (pmc *PasswordManagerCheck) RequiresRoot() bool
func (*PasswordManagerCheck) Run ¶
func (pmc *PasswordManagerCheck) Run() error
func (*PasswordManagerCheck) Status ¶
func (pmc *PasswordManagerCheck) Status() string
func (*PasswordManagerCheck) UUID ¶
func (pmc *PasswordManagerCheck) UUID() string
type PasswordToUnlock ¶
type PasswordToUnlock struct {
// contains filtered or unexported fields
}
PasswordToUnlock represents a check to ensure that a password is required to unlock the screen.
func (*PasswordToUnlock) FailedMessage ¶
func (f *PasswordToUnlock) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*PasswordToUnlock) IsRunnable ¶
func (f *PasswordToUnlock) IsRunnable() bool
IsRunnable returns whether the check can run
func (*PasswordToUnlock) Name ¶
func (f *PasswordToUnlock) Name() string
Name returns the name of the check
func (*PasswordToUnlock) Passed ¶
func (f *PasswordToUnlock) Passed() bool
Passed returns the status of the check
func (*PasswordToUnlock) PassedMessage ¶
func (f *PasswordToUnlock) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*PasswordToUnlock) RequiresRoot ¶
func (f *PasswordToUnlock) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*PasswordToUnlock) Status ¶
func (f *PasswordToUnlock) Status() string
Status returns the status of the check
func (*PasswordToUnlock) UUID ¶
func (f *PasswordToUnlock) UUID() string
UUID returns the UUID of the check
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func (*Printer) FailedMessage ¶
FailedMessage returns the message to return if the check failed
func (*Printer) IsRunnable ¶
CanRun returns whether the check can run
func (*Printer) PassedMessage ¶
PassedMessage returns the message to return if the check passed
func (*Printer) RequiresRoot ¶
RequiresRoot returns whether the check requires root access
type SecureBoot ¶
type SecureBoot struct {
// contains filtered or unexported fields
}
SecureBoot checks secure boot configuration.
func (*SecureBoot) FailedMessage ¶
func (f *SecureBoot) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*SecureBoot) IsRunnable ¶
func (f *SecureBoot) IsRunnable() bool
IsRunnable returns whether SecureBoot is runnable.
func (*SecureBoot) Passed ¶
func (f *SecureBoot) Passed() bool
Passed returns the status of the check
func (*SecureBoot) PassedMessage ¶
func (f *SecureBoot) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*SecureBoot) RequiresRoot ¶
func (f *SecureBoot) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*SecureBoot) Status ¶
func (f *SecureBoot) Status() string
Status returns the status of the check
type Sharing ¶
type Sharing struct {
// contains filtered or unexported fields
}
func (*Sharing) FailedMessage ¶
FailedMessage returns the message to return if the check failed
func (*Sharing) IsRunnable ¶
CanRun returns whether the check can run
func (*Sharing) PassedMessage ¶
PassedMessage returns the message to return if the check passed
func (*Sharing) RequiresRoot ¶
RequiresRoot returns whether the check requires root access