Hi,
Hope you are doing well. Thank you for using Wazuh.
Currently, Wazuh has three different types of scans.
Baseline: The Vulnerability Detector triggers this scan type the first time you enable the module. The Vulnerability Detector performs a full scan of the operating system and every package installed. It creates a CVE inventory and generates an alert for each vulnerability.
Full scan: The Vulnerability Detector scans every installed package and operating system in this scan type. It runs only when the configured min_full_scan_interval expires and when the CVEs database contains new information. As a result, Wazuh generates alerts when there is any update/change in the vulnerability inventory.
Partial scan: The Vulnerability Detector only scans new packages. As a result, Wazuh generates alerts when there is any update/change in the CVE inventory.
Check this document to learn more:
https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/scan-types.htmlThe manager uses the same process to run the vulnerability scan for every OS. The query does not allow to scan of a particular agent, but the vulnerability scanner just performs a partial scan: it only checks the packages that have changed since the previous scan, except if the vulnerability feed has changed.
If you want to run a scan for the particular agent you can use an API endpoint and make a script with specific permissions and ownership
Hope this helps.
Regards,