mde baseline ansible
1.0.0
Certifique-se de que o MDE esteja instalado, configurado e ativo no sistema Linux, MacOS ou Windows com ansible
defina o grupo mde em seu inventário
% ansible-playbook mde-verify.yml
Error : wdavdaemon[20263]: /opt/microsoft/mdatp/sbin/wdavdaemon: error while loading shared libraries: libwdavdaemon_core.so: cannot enable executable stack as shared object requires: Permission denied
Para resolver isso
$ sepolicy generate -n wdavdaemon --init /opt/microsoft/mdatp/sbin/wdavdaemon
Loaded plugins: product-id, subscription-manager
Created the following files:
wdavdaemon.te # Type Enforcement file
wdavdaemon.if # Interface file
wdavdaemon.fc # File Contexts file
wdavdaemon_selinux.spec # Spec file
wdavdaemon.sh # Setup Script
$ sudo audit2allow -i /var/log/audit/audit.log -M wdavdaemon
[pp file should have: allow unconfined_service_t self:process execstack;]
$ sudo semodule -i wdavdaemon.pp
$ sudo systemctl restart mdatp
$ systemctl status mdatp
$ sudo systemctl stop mdatp
$ sudo install -d -m 755 /usr/local/microsoft
$ sudo bash -c 'mv /var/opt/microsoft/mdatp /usr/local/microsoft/ && ln -s /usr/local/microsoft/mdatp /var/opt/microsoft/'
$ sudo systemctl restart mdatp
Isso provavelmente resolverá o problema de saúde: mecanismo v1 não disponível
A ferramenta Analyzer requer python3.7 e perf no Linux. O suporte pode fornecer uma ferramenta alternativa sem a necessidade de python3
O zip do analisador padrão não suporta RHEL/Centos 6. obtenha suporte para o pacote apropriado
mdatp definitions update