wazuh-puppet
wazuh-puppet copied to clipboard
Support MSU vulnerability-detector
It seems MSU is the only vulnerability detector provider missing in https://github.com/wazuh/wazuh-puppet/blob/master/manifests/params_manager.pp
Hello @oletos7j,
We are working hard to maintain the Wazuh puppet module updated and with all features, currently we have updated the module to the 4.2.3 version. We want to add this feature as soon as possible. Don't hesitate to open us a PR if you want to include way faster.
Thanks for your patience. Regards.
Now i think you can:
[gdeleon@twod ~/Documentos/git/wazuh-puppet (master=)]$ egrep -R "msu" templates/fragments/_vulnerability_detector.erb:<% if @vulnerability_detector_provider_msu %> templates/fragments/_vulnerability_detector.erb: <provider name="msu"> templates/fragments/_vulnerability_detector.erb: <% if @vulnerability_detector_provider_msu_enabled %><enabled><%= @vulnerability_detector_provider_msu_enabled %></enabled><% end %> templates/fragments/_vulnerability_detector.erb: <% if @vulnerability_detector_provider_msu_update_interval %><update_interval><%= @vulnerability_detector_provider_msu_update_interval %></update_interval><% end %> manifests/params_manager.pp: $vulnerability_detector_provider_msu = 'yes' manifests/params_manager.pp: $vulnerability_detector_provider_msu_enabled = 'no' manifests/params_manager.pp: $vulnerability_detector_provider_msu_update_interval = '1h' manifests/manager.pp: $vulnerability_detector_provider_msu = $wazuh::params_manager::vulnerability_detector_provider_msu, manifests/manager.pp: $vulnerability_detector_provider_msu_enabled = $wazuh::params_manager::vulnerability_detector_provider_msu_enabled, manifests/manager.pp: $vulnerability_detector_provider_msu_update_interval = $wazuh::params_manager::vulnerability_detector_provider_msu_update_interval,