Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeviceName ¶
func GetDeviceName() string
func ParseOSRelease ¶
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
Click to show internal directories.
Click to hide internal directories.