Merge pull request #964 from wazuh/963-deprecate-update_from_year-to-use-nvd-api-20-feeds

Delete update_from_year parameter
This commit is contained in:
Victor Ereñú 2023-07-26 13:55:49 -03:00 committed by GitHub
commit 82e21c55f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -192,11 +192,9 @@ wazuh_manager_vulnerability_detector:
update_interval: '1h' update_interval: '1h'
name: '"debian"' name: '"debian"'
- enabled: 'no' - enabled: 'no'
update_from_year: '2010'
update_interval: '1h' update_interval: '1h'
name: '"redhat"' name: '"redhat"'
- enabled: 'no' - enabled: 'no'
update_from_year: '2010'
update_interval: '1h' update_interval: '1h'
name: '"nvd"' name: '"nvd"'

View File

@ -279,9 +279,6 @@
<os>{{ os_ }}</os> <os>{{ os_ }}</os>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if provider_.update_from_year is defined %}
<update_from_year>{{ provider_.update_from_year }}</update_from_year>
{% endif %}
{% if provider_.update_interval is defined %} {% if provider_.update_interval is defined %}
<update_interval>{{ provider_.update_interval }}</update_interval> <update_interval>{{ provider_.update_interval }}</update_interval>
{% endif %} {% endif %}