Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

CVE Reporting - No data available in table

I setup CVE Reporting:

 VULN_CVESEARCH_ENABLE = on

 VULN_CVESEARCH_VERBOSE = on

 VULN_CVESEARCH_HOST = HTTP host serving CVE-Search on port 80

I ran the script on the OCS server to pull in initially by running:

 # cd /usr/share/ocsinventory-reports/ocsreports/crontab/ && php cron_cve.php

 CVE's Data processing ...

 0 CVE has been added to database

Printout

Did I miss a step? 

in OCS Inventory NG server for Unix by (1.8k points)

15 Answers

0 votes
I also want to add that I'm using a nginx reverse proxy. That's why I can use port 80 otherwise stick to port 5000.
by (1.8k points)
0 votes
You'll have to use the same host that you'd use to connect to the cve-search site. So the :80 can't be different than what you use for :5000.
by (1.8k points)
0 votes

I'm having same issue. Upgraded OCS from 2.6 -> 2.7 on 12.5.2020 then tried to run cve like this:

# cd /usr/share/ocsinventory-reports/ocsreports/crontab/ && php cron_cve.php

 CVE's Data processing ...

 0 CVE has been added to database

Should there be some other result in this "0 CVE has been added to database" when this is functional or might that be just cosmetical error? I mean "10 CVE has been added to database" or something like that?

I can also curl the http://cve.circl.lu:80/

This is how configuration looks like:

by (180 points)
0 votes

@

You can follow the progress by looking at the log ofthe CVESearch service as the OCS cron queries each product like Adobe Air or Centos from the database. 

by (1.8k points)
0 votes
by (140 points)
 
Powered by Question2Answer
...