Elasticsearch with nmap

Hello,

Can my elasticsearch works like nmap, for example, when i add a machine on elasticsearch, the elasticsearch detect the vulnerabilies(cve) for this machine and add on a dashboard?

Elasticsearch cannot do that, no. I don't believe there is any functionality in the Agent to do it either.