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

Change NVT prefs format #275

Merged
merged 4 commits into from
Feb 20, 2019
Merged

Change NVT prefs format #275

merged 4 commits into from
Feb 20, 2019

Conversation

kroosec
Copy link
Contributor

@kroosec kroosec commented Feb 12, 2019

Send and receive NVT preferences in OID:PrefType:PrefName instead of NVTName[PrefType]:PrefName.

This allows NVT plugins to change their names without breaking existing scan configs.

Relevant gvmd PR greenbone/gvmd#394

@kroosec
Copy link
Contributor Author

kroosec commented Feb 12, 2019

@cfi-gb Added the check in script_add_preference() to see if a preference with the same name exists already.

@kroosec kroosec merged commit 3e87367 into greenbone:master Feb 20, 2019
@kroosec kroosec deleted the nvt-pref-name branch March 20, 2019 23:17
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