{% extends 'layouts/api-accordion-child' %}
{% set admin    = True                   %}
{% set id       = "updatedb"             %}
{% set title    = "/api/admin/updatedb"  %}
{% set method   = "GET"                  %}

{% block desc %}
Update the database. <br />
The return value of the of the request is the output of the database update. <b>This might take a long time to finish.</b>
{% endblock %}

{% block output %}
Not modified
Not modified
Not modified
Not modified
Not modified
Not modified
[+]Success to create index id on cpe
[+]Success to create index id on cpeother
[+]Success to create index id on cves
[+]Success to create index vulnerable_configuration on cves
[+]Success to create index Modified on cves
[+]Success to create index [('summary', 'text')] on cves
[+]Success to create index id on vendor
[+]Success to create index id on via4
[+]Success to create index id on mgmt_whitelist
[+]Success to create index id on mgmt_blacklist
[+]Success to create index related_weakness on capec
==========================
Wed 01 February 2017 08:37
==========================
Starting cve
cve has 81370 elements (0 update)
Starting cpe
cpe has 117276 elements (0 update)
Starting vendor
vendor has 1426 elements (0 update)
Starting cwe
cwe has 719 elements (0 update)
Starting capec
capec has 463 elements (0 update)
Starting via4
via4 has 81143 elements (0 update)
Starting ensureindex

[!] Could not find plugin loader file!
{% endblock %}
