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

Fix get nvt #376

Merged
merged 4 commits into from
Jan 7, 2021
Merged

Fix get nvt #376

merged 4 commits into from
Jan 7, 2021

Conversation

y0urself
Copy link
Member

@y0urself y0urself commented Jan 7, 2021

What:

Fixing get_nvt().

Why:

There is a gvmd-related error, that get_nvt with the timeout parameter can't be used.

>>> nvts2 = gmp.get_nvt(nvt_oid='1.3.6.1.4.1.25623.1.0.814313')
Traceback (most recent call last):
...
gvm.errors.GvmResponseError: Response Error 400. The timeout attribute requires the details and config_id attributes

How:

Just remove that parameter that has been set to always true.

Checklist:

@y0urself y0urself requested a review from a team as a code owner January 7, 2021 07:38
@nichtsfrei nichtsfrei merged commit 8093dca into greenbone:master Jan 7, 2021
@y0urself y0urself deleted the fix-get-nvt branch October 9, 2021 06:25
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