Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve refs and error handling in NVTs update #1067

Merged
merged 3 commits into from
May 4, 2020

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Apr 30, 2020

If the refs element is missing, it is simply ignored so the scanner no
longer has to send an empty element.
Also, if nvti_from_vt fails, update_nvts_from_vts will skip the VT
instead of inserting a broken NVT into the table.

Checklist:

If the refs element is missing, it is simply ignored so the scanner no
longer has to send an empty element.
Also, if nvti_from_vt fails, update_nvts_from_vts will skip the VT
instead of inserting a broken NVT into the table.
@timopollmeier timopollmeier marked this pull request as ready for review April 30, 2020 15:37
@mattmundell mattmundell merged commit b0ea113 into greenbone:master May 4, 2020
@timopollmeier timopollmeier deleted the nvti-refs-fix-master branch October 15, 2021 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants