fingerprint

package
v0.0.0-...-ebf9046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeviceName

func GetDeviceName() string

func ParseOSRelease

func ParseOSRelease() (map[string]string, error)

Types

type Fingerprint

type Fingerprint struct {
	Username            string `json:"username"`
	Hostname            string `json:"hostname"`
	Platform            string `json:"platform"`
	OSVersion           string `json:"osVersion"`
	KernelVersion       string `json:"kernelVersion"`
	Architecture        string `json:"arch"`
	DeviceModel         string `json:"deviceModel"`
	SerialNumber        string `json:"serialNumber"`
	PlatformFingerprint string `json:"platformFingerprint"`
}

func GatherFingerprintInfo

func GatherFingerprintInfo() *Fingerprint

func (*Fingerprint) ToMap

func (p *Fingerprint) ToMap() map[string]any

type PostureChecks

type PostureChecks struct {
	BiometricsEnabled  bool `json:"biometricsEnabled"`
	DiskEncrypted      bool `json:"diskEncrypted"`
	FirewallEnabled    bool `json:"firewallEnabled"`
	AutoUpdatesEnabled bool `json:"autoUpdatesEnabled"`
	TpmAvailable       bool `json:"tpmAvailable"`

	WindowsDefenderEnabled bool `json:"windowsDefenderEnabled"`

	MacOSSIPEnabled          bool `json:"macosSipEnabled"`
	MacOSGatekeeperEnabled   bool `json:"macosGatekeeperEnabled"`
	MacOSFirewallStealthMode bool `json:"macosFirewallStealthMode"`

	LinuxAppArmorEnabled bool `json:"linuxAppArmorEnabled"`
	LinuxSELinuxEnabled  bool `json:"linuxSELinuxEnabled"`
}

func GatherPostureChecks

func GatherPostureChecks() *PostureChecks

func (*PostureChecks) ToMap

func (p *PostureChecks) ToMap() map[string]any

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL