mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
add Defender for Windows Server (#5646)
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
45722c70d4
commit
f33dbd31e5
5 changed files with 47 additions and 2 deletions
|
@ -5623,6 +5623,14 @@ function sendPeriodicServerUpdate(flags, force) {
|
|||
});
|
||||
} catch (ex) { }
|
||||
}
|
||||
// Get Defender for Windows Server
|
||||
try {
|
||||
var d = require('win-info').defender();
|
||||
d.then(function(res){
|
||||
meshCoreObj.defender = res;
|
||||
meshCoreObjChanged();
|
||||
});
|
||||
} catch (ex){ }
|
||||
}
|
||||
|
||||
// Send available data right now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue