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
|
@ -1920,6 +1920,10 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||
if (!device.wsc) { device.wsc = {}; }
|
||||
if (JSON.stringify(device.wsc) != JSON.stringify(command.wsc)) { /*changes.push('Windows Security Center status');*/ device.wsc = command.wsc; change = 1; log = 1; }
|
||||
}
|
||||
if (command.defender != null) { // Defender For Windows Server
|
||||
if (!device.defender) { device.defender = {}; }
|
||||
if (JSON.stringify(device.defender) != JSON.stringify(command.defender)) { /*changes.push('Defender status');*/ device.defender = command.defender; change = 1; log = 1; }
|
||||
}
|
||||
|
||||
// Push Messaging Token
|
||||
if ((command.pmt != null) && (typeof command.pmt == 'string') && (device.pmt != command.pmt)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue