Documentation
¶
Index ¶
- type AntivirusProduct
- type AutomaticUpdatesCheck
- func (a *AutomaticUpdatesCheck) FailedMessage() string
- func (a *AutomaticUpdatesCheck) IsRunnable() bool
- func (a *AutomaticUpdatesCheck) Name() string
- func (a *AutomaticUpdatesCheck) Passed() bool
- func (a *AutomaticUpdatesCheck) PassedMessage() string
- func (a *AutomaticUpdatesCheck) RequiresRoot() bool
- func (a *AutomaticUpdatesCheck) Run() error
- func (a *AutomaticUpdatesCheck) Status() string
- func (a *AutomaticUpdatesCheck) UUID() string
- type DiskEncryption
- func (d *DiskEncryption) FailedMessage() string
- func (d *DiskEncryption) IsRunnable() bool
- func (d *DiskEncryption) Name() string
- func (d *DiskEncryption) Passed() bool
- func (d *DiskEncryption) PassedMessage() string
- func (d *DiskEncryption) RequiresRoot() bool
- func (d *DiskEncryption) Run() error
- func (d *DiskEncryption) Status() string
- func (d *DiskEncryption) UUID() string
- type EDRProduct
- 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 ScreensaverPassword
- func (p *ScreensaverPassword) FailedMessage() string
- func (p *ScreensaverPassword) IsRunnable() bool
- func (p *ScreensaverPassword) Name() string
- func (p *ScreensaverPassword) Passed() bool
- func (p *ScreensaverPassword) PassedMessage() string
- func (p *ScreensaverPassword) RequiresRoot() bool
- func (p *ScreensaverPassword) Run() error
- func (p *ScreensaverPassword) Status() string
- func (p *ScreensaverPassword) UUID() string
- type ScreensaverTimeout
- func (s *ScreensaverTimeout) FailedMessage() string
- func (s *ScreensaverTimeout) IsRunnable() bool
- func (s *ScreensaverTimeout) Name() string
- func (s *ScreensaverTimeout) Passed() bool
- func (s *ScreensaverTimeout) PassedMessage() string
- func (s *ScreensaverTimeout) RequiresRoot() bool
- func (s *ScreensaverTimeout) Run() error
- func (s *ScreensaverTimeout) Status() string
- func (s *ScreensaverTimeout) UUID() string
- type WindowsDefender
- func (d *WindowsDefender) FailedMessage() string
- func (d *WindowsDefender) IsRunnable() bool
- func (d *WindowsDefender) Name() string
- func (d *WindowsDefender) Passed() bool
- func (d *WindowsDefender) PassedMessage() string
- func (d *WindowsDefender) RequiresRoot() bool
- func (d *WindowsDefender) Run() error
- func (d *WindowsDefender) Status() string
- func (d *WindowsDefender) UUID() string
- type WindowsFirewall
- func (f *WindowsFirewall) FailedMessage() string
- func (f *WindowsFirewall) IsRunnable() bool
- func (f *WindowsFirewall) Name() string
- func (f *WindowsFirewall) Passed() bool
- func (f *WindowsFirewall) PassedMessage() string
- func (f *WindowsFirewall) RequiresRoot() bool
- func (f *WindowsFirewall) Run() error
- func (f *WindowsFirewall) Status() string
- func (f *WindowsFirewall) UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntivirusProduct ¶
type AntivirusProduct struct {
DisplayName string `json:"displayName"`
InstanceGuid string `json:"instanceGuid"`
PathToSignedProductExe string `json:"pathToSignedProductExe"`
PathToSignedReportingExe string `json:"pathToSignedReportingExe"`
ProductState json.Number `json:"productState"`
Timestamp string `json:"timestamp"`
}
type AutomaticUpdatesCheck ¶
type AutomaticUpdatesCheck struct {
// contains filtered or unexported fields
}
func (*AutomaticUpdatesCheck) FailedMessage ¶
func (a *AutomaticUpdatesCheck) FailedMessage() string
func (*AutomaticUpdatesCheck) IsRunnable ¶
func (a *AutomaticUpdatesCheck) IsRunnable() bool
func (*AutomaticUpdatesCheck) Name ¶
func (a *AutomaticUpdatesCheck) Name() string
func (*AutomaticUpdatesCheck) Passed ¶
func (a *AutomaticUpdatesCheck) Passed() bool
func (*AutomaticUpdatesCheck) PassedMessage ¶
func (a *AutomaticUpdatesCheck) PassedMessage() string
func (*AutomaticUpdatesCheck) RequiresRoot ¶
func (a *AutomaticUpdatesCheck) RequiresRoot() bool
func (*AutomaticUpdatesCheck) Run ¶
func (a *AutomaticUpdatesCheck) Run() error
func (*AutomaticUpdatesCheck) Status ¶
func (a *AutomaticUpdatesCheck) Status() string
func (*AutomaticUpdatesCheck) UUID ¶
func (a *AutomaticUpdatesCheck) UUID() string
type DiskEncryption ¶
type DiskEncryption struct {
// contains filtered or unexported fields
}
func (*DiskEncryption) FailedMessage ¶
func (d *DiskEncryption) FailedMessage() string
FailedMessage returns the message to return if the check failed
func (*DiskEncryption) IsRunnable ¶
func (d *DiskEncryption) IsRunnable() bool
IsRunnable returns whether the check can run
func (*DiskEncryption) Name ¶
func (d *DiskEncryption) Name() string
Name returns the name of the check
func (*DiskEncryption) Passed ¶
func (d *DiskEncryption) Passed() bool
Passed returns the status of the check
func (*DiskEncryption) PassedMessage ¶
func (d *DiskEncryption) PassedMessage() string
PassedMessage returns the message to return if the check passed
func (*DiskEncryption) RequiresRoot ¶
func (d *DiskEncryption) RequiresRoot() bool
RequiresRoot returns whether the check requires root access
func (*DiskEncryption) Status ¶
func (d *DiskEncryption) Status() string
Status returns the status of the check
func (*DiskEncryption) UUID ¶
func (d *DiskEncryption) UUID() string
UUID returns the UUID of the check
type EDRProduct ¶
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 ScreensaverPassword ¶
type ScreensaverPassword struct {
// contains filtered or unexported fields
}
ScreensaverPassword checks if password is required after sleep or screen off on Windows
func (*ScreensaverPassword) FailedMessage ¶
func (p *ScreensaverPassword) FailedMessage() string
FailedMessage returns the message for when the check fails
func (*ScreensaverPassword) IsRunnable ¶
func (p *ScreensaverPassword) IsRunnable() bool
IsRunnable returns whether this check can run on the current platform
func (*ScreensaverPassword) Name ¶
func (p *ScreensaverPassword) Name() string
Name returns the check name
func (*ScreensaverPassword) Passed ¶
func (p *ScreensaverPassword) Passed() bool
Passed returns whether the check passed
func (*ScreensaverPassword) PassedMessage ¶
func (p *ScreensaverPassword) PassedMessage() string
PassedMessage returns the message for when the check passes
func (*ScreensaverPassword) RequiresRoot ¶
func (p *ScreensaverPassword) RequiresRoot() bool
RequiresRoot returns whether this check needs elevated privileges
func (*ScreensaverPassword) Status ¶
func (p *ScreensaverPassword) Status() string
Status returns the detailed status message
func (*ScreensaverPassword) UUID ¶
func (p *ScreensaverPassword) UUID() string
UUID returns the unique identifier for this check (same as macOS PasswordAfterSleep)
type ScreensaverTimeout ¶
type ScreensaverTimeout struct {
// contains filtered or unexported fields
}
ScreensaverTimeout checks if screen turns off or device sleeps within 20 minutes on Windows
func (*ScreensaverTimeout) FailedMessage ¶
func (s *ScreensaverTimeout) FailedMessage() string
FailedMessage returns the message for when the check fails
func (*ScreensaverTimeout) IsRunnable ¶
func (s *ScreensaverTimeout) IsRunnable() bool
IsRunnable returns whether this check can run on the current platform
func (*ScreensaverTimeout) Name ¶
func (s *ScreensaverTimeout) Name() string
Name returns the check name
func (*ScreensaverTimeout) Passed ¶
func (s *ScreensaverTimeout) Passed() bool
Passed returns whether the check passed
func (*ScreensaverTimeout) PassedMessage ¶
func (s *ScreensaverTimeout) PassedMessage() string
PassedMessage returns the message for when the check passes
func (*ScreensaverTimeout) RequiresRoot ¶
func (s *ScreensaverTimeout) RequiresRoot() bool
RequiresRoot returns whether this check needs elevated privileges
func (*ScreensaverTimeout) Status ¶
func (s *ScreensaverTimeout) Status() string
Status returns the detailed status message
func (*ScreensaverTimeout) UUID ¶
func (s *ScreensaverTimeout) UUID() string
UUID returns the unique identifier for this check (same as macOS)
type WindowsDefender ¶
type WindowsDefender struct {
// contains filtered or unexported fields
}
func (*WindowsDefender) FailedMessage ¶
func (d *WindowsDefender) FailedMessage() string
func (*WindowsDefender) IsRunnable ¶
func (d *WindowsDefender) IsRunnable() bool
func (*WindowsDefender) Name ¶
func (d *WindowsDefender) Name() string
func (*WindowsDefender) Passed ¶
func (d *WindowsDefender) Passed() bool
func (*WindowsDefender) PassedMessage ¶
func (d *WindowsDefender) PassedMessage() string
func (*WindowsDefender) RequiresRoot ¶
func (d *WindowsDefender) RequiresRoot() bool
func (*WindowsDefender) Run ¶
func (d *WindowsDefender) Run() error
func (*WindowsDefender) Status ¶
func (d *WindowsDefender) Status() string
func (*WindowsDefender) UUID ¶
func (d *WindowsDefender) UUID() string
type WindowsFirewall ¶
type WindowsFirewall struct {
// contains filtered or unexported fields
}
func (*WindowsFirewall) FailedMessage ¶
func (f *WindowsFirewall) FailedMessage() string
func (*WindowsFirewall) IsRunnable ¶
func (f *WindowsFirewall) IsRunnable() bool
func (*WindowsFirewall) Name ¶
func (f *WindowsFirewall) Name() string
func (*WindowsFirewall) Passed ¶
func (f *WindowsFirewall) Passed() bool
func (*WindowsFirewall) PassedMessage ¶
func (f *WindowsFirewall) PassedMessage() string
func (*WindowsFirewall) RequiresRoot ¶
func (f *WindowsFirewall) RequiresRoot() bool
func (*WindowsFirewall) Run ¶
func (f *WindowsFirewall) Run() error
func (*WindowsFirewall) Status ¶
func (f *WindowsFirewall) Status() string
func (*WindowsFirewall) UUID ¶
func (f *WindowsFirewall) UUID() string