mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
add autoupdates to macos
This commit is contained in:
@@ -113,6 +113,9 @@ function getPlatformPostureData(
|
|||||||
if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
if (fingerprint.macosFirewallStealthMode !== null && fingerprint.macosFirewallStealthMode !== undefined) {
|
||||||
posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
posture.macosFirewallStealthMode = fingerprint.macosFirewallStealthMode;
|
||||||
}
|
}
|
||||||
|
if (fingerprint.autoUpdatesEnabled !== null && fingerprint.autoUpdatesEnabled !== undefined) {
|
||||||
|
posture.autoUpdatesEnabled = fingerprint.autoUpdatesEnabled;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability
|
// Linux: Hard drive encryption, Firewall, AppArmor, SELinux, TPM availability
|
||||||
else if (normalizedPlatform === "linux") {
|
else if (normalizedPlatform === "linux") {
|
||||||
@@ -260,7 +263,7 @@ export async function getClient(
|
|||||||
postureData = getPlatformPostureData(
|
postureData = getPlatformPostureData(
|
||||||
client.currentFingerprint?.platform || null,
|
client.currentFingerprint?.platform || null,
|
||||||
client.currentFingerprint
|
client.currentFingerprint
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const data: GetClientResponse = {
|
const data: GetClientResponse = {
|
||||||
|
|||||||
Reference in New Issue
Block a user