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

Handle script timeout as script preference #581

Merged
merged 9 commits into from
Oct 18, 2021

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Aug 18, 2021

What:
Handle script timeout as script preference

[middleware branch] All related PRs:

[master branch] All related PRs:

Why:
Timeout is a script preference, it had reserved the preference ID 0, but it is currently handled in a different way. With this patch, it is just another preference (always with the reserved pref. ID 0)

How:

Checklist:

Because it is now handle as script preference.
The timeout is not stored under the redis key `nvt:<OID>` anymore.
The timeout must be get from script preferences.
It was currently not used by libs or scanner.
@jjnicola jjnicola marked this pull request as ready for review October 15, 2021 08:27
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