Hello,
I am unable to enable vulnerability detection on my all in one install on AlmaLinux release 8.4, I am currently monitoring 4 Alma 8.4 client hosts. Can you please advise if I’m missing anything or any idea as to why? thank you!
App version: 4.2.2
App revision: 4203-1
Install date: Oct 1, 2021 @ 18:08:34.525
Attempted to remove the cve.db and restarted wazuh-manager, still no vulnerabilities showing up.
/var/ossec/logs/ossec.log
2021/10/06 10:16:40 wazuh-modulesd:vulnerability-detector: INFO: (5431): Starting vulnerability scan.
2021/10/06 10:16:40 wazuh-modulesd:vulnerability-detector: INFO: (5435): The analysis can not be launched because there are no target agents.
2021/10/06 10:16:40 wazuh-modulesd:vulnerability-detector: INFO: (5472): Vulnerability scan finished.
This is my ossec.conf:
<vulnerability-detector>
<enabled>yes</enabled>
<interval>5m</interval>
<ignore_time>6h</ignore_time>
<run_on_start>yes</run_on_start>
<provider name="canonical">
<enabled>yes</enabled>
<os>bionic</os>
<update_interval>1h</update_interval>
</provider>
<!-- Ubuntu OS vulnerabilities -->
<provider name="canonical">
<enabled>no</enabled>
<os>trusty</os>
<os>xenial</os>
<os>bionic</os>
<os>focal</os>
<update_interval>1h</update_interval>
</provider>
<!-- Debian OS vulnerabilities -->
<provider name="debian">
<enabled>no</enabled>
<os>stretch</os>
<os>buster</os>
<update_interval>1h</update_interval>
</provider>
<!-- RedHat OS vulnerabilities -->
<provider name="redhat">
<enabled>yes</enabled>
<os>5</os>
<os>6</os>
<os>7</os>
<os>8</os>
<update_interval>1h</update_interval>
</provider>
<!-- Windows OS vulnerabilities -->
<provider name="msu">
<enabled>yes</enabled>
<update_interval>1h</update_interval>
</provider>
<!-- Aggregate vulnerabilities -->
<provider name="nvd">
<enabled>yes</enabled>
<update_from_year>2010</update_from_year>
<update_interval>1h</update_interval>
</provider>
</vulnerability-detector>
Here are the steps i've taken to add Alma Linux:
{
"data": {
"affected_items": [
{
"os": {
"major": "8",
"name": "AlmaLinux"
},
"id": "001"
}
],
"total_affected_items": 1,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
/var/ossec/etc/ossec.conf
<provider name="redhat">
<enabled>yes</enabled>
<os allow="AlmaLinux-8">8</os>
<update_interval>1h</update_interval>
<update_from_year>2010</update_from_year>
</provider>
/var/ossec/logs/ossec.log
[root@wazuh AMS1-SRV ~]# systemctl restart wazuh-manager && tail -f /var/ossec/logs/ossec.log
2021/10/06 15:01:42 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Ubuntu Bionic' database update.
2021/10/06 15:01:42 wazuh-modulesd:syscollector: INFO: Module started.
2021/10/06 15:01:42 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/06 15:01:42 sca: INFO: Skipping policy '/var/ossec/ruleset/sca/cis_centos8_linux.yml': 'Check Centos 8 family platform'
2021/10/06 15:01:42 sca: INFO: Security Configuration Assessment scan finished. Duration: 0 seconds.
2021/10/06 15:01:42 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/06 15:01:43 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Ubuntu Bionic' feed finished successfully.
2021/10/06 15:01:43 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Red Hat Enterprise Linux 5' database update.
2021/10/06 15:01:44 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Red Hat Enterprise Linux 5' feed finished successfully.
2021/10/06 15:01:44 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Red Hat Enterprise Linux 6' database update.
2021/10/06 15:01:46 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Red Hat Enterprise Linux 6' feed finished successfully.
2021/10/06 15:01:46 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Red Hat Enterprise Linux 7' database update.
2021/10/06 15:01:48 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Red Hat Enterprise Linux 7' feed finished successfully.
2021/10/06 15:01:48 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Red Hat Enterprise Linux 8' database update.
2021/10/06 15:01:49 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Red Hat Enterprise Linux 8' feed finished successfully.
2021/10/06 15:01:49 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'National Vulnerability Database' database update.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'National Vulnerability Database' feed finished successfully.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5400): Starting 'Microsoft Security Update' database update.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5430): The update of the 'Microsoft Security Update' feed finished successfully.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5431): Starting vulnerability scan.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5435): The analysis can not be launched because there are no target agents.
2021/10/06 15:01:54 wazuh-modulesd:vulnerability-detector: INFO: (5472): Vulnerability scan finished.