Replies: 6 comments 18 replies
-
Hi @tiangao88 there's actually no plan to add such support. And indeed, you're the first person I see interested with that feature on MacOSX ;-) This is surely technically possible. To start such an feature, we probably need a list of the major AV provider on MacOSX and we need to know if they at last provide a free or evaluation version so we can try them in a dedicated VM. Do you know if |
Beta Was this translation helpful? Give feedback.
-
Hi @g-bougard So I figured
There are also traces of all updates
There is no specific section on Antivirus in the output though. I have also installed GLPI Inventory Plugin to try to collect file information from the Mac but it does not work so well. Is there any chance you put detecting antivirus on Mac on the roadmap for GLPI Agent? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @tiangao88 |
Beta Was this translation helpful? Give feedback.
-
Hi @g-bougard , Indeed the information about Microsoft Defender is in the
|
Beta Was this translation helpful? Give feedback.
-
Hello @g-bougard, Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello @mrb-x good job, can I ask you to better make a PR so you'll be the referenced as the code author ? I only see one point which is not optimized: you're calling 2 times the same command with "status" option where you can get the output of one launch and analyze it 2 times. You can try to change lines 55 to 77 with this shorter code: # Support file case for unittests if basefile is provided
if (empty($params{basefile})) {
$params{command} = "\"$command\" status";
} else {
$params{file} = $params{basefile}."-status";
}
my @status_lines = getAllLines(%params);
my ($staticSignatures) = grep { /^\s.*staticSignatures:/i } @status_lines;
$antivirus->{BASE_VERSION} = $1
if $staticSignatures && $staticSignatures =~ /^\s.*staticSignatures:\s.*(\([0-9]+\))/i
$antivirus->{ENABLED} = 1 if grep { /^\s.*Protection.*enabled$/i } @status_lines; In the PR comment, I would also like to see the outputs of the command for the 2 cases with option In the outputs, did you see any relevant useful datas ? The format is described here: https://github.com/glpi-project/inventory_format/blob/2b46a1ee491fefcec668acede800cef5fb276618/inventory.schema.json#L60 |
Beta Was this translation helpful? Give feedback.
-
Your idea
Are there any plan to support collecting antivirus information on MacOS?
Is it technically possible?
So far the antivirus information is collected as software and available in GLPI but we found no way to requalify it as antivirus.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions