mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-24 03:49:10 -05:00
Introduce plugin hook to verified agents with non-recovery cores
Introduce plugin hook to agent message data, should the plugin need to interact (without additional bandwidth used from those without plugins enabled)
This commit is contained in:
parent
4ff78e3bed
commit
a2f0a41e36
@ -980,6 +980,9 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (parent.parent.pluginHandler != null) {
|
||||||
|
parent.parent.pluginHandler.callHook('hook_agentCoreIsStable', obj, parent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the web certificate private key hash for the specified domain
|
// Get the web certificate private key hash for the specified domain
|
||||||
@ -1298,6 +1301,9 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (parent.parent.pluginHandler != null) {
|
||||||
|
parent.parent.pluginHandler.callHook('hook_processAgentData', command, obj, parent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user