-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
errors #11
Comments
I believe you might not have the latest code as "risk_factor" was changed to "threat" in the NVT data with the release of OpenVAS 8 and this project was updated accordingly in e8d9f91. |
Thanks for the quick reponse yes i ran the scan w OpenVAS 7.02. Any way i can get this to work ? |
Oof, I expected your openvas_to_report to be out of date, not OpenVAS. As this project wasn't branched at the time breaking changes were made to exclusively support OpenVAS 8, I think you have two options:
|
Hello, same issue here with exactely the same error message. Any chance to get that working? |
Now pulled the actual version here from github. Almost same error now: But now seems that in OpenVAS 9 "./description" is deprecated... |
@okoester this project only supports OpenVAS 8. If you're running versions 7 or 9, you're going to encounter fatal errors. Issue #7 is already open to track the specific incompatible attribute causing your error but as alluded to in that issue, at least one more incompatible attribute exists and no work has been done to resolve it. I'm not the maintainer but I believe resolving those issues is likely non-trivial and would break compatibility with version 8. You're welcome to take a stab at it though! |
Hi all. Currently I haven't time to maintain this project. Help to improve / fix error are welcome :) Sorry about that |
Thanks for the code here. But i am not able to generate the excel file, any ideas on what to fix here.
Traceback (most recent call last):
File "/usr/local/bin/openvas_to_report", line 11, in
load_entry_point('openvas-to-report==1.0.0', 'console_scripts', 'openvas_to_report')()
File "/usr/local/lib/python3.6/site-packages/openvas_to_report/openvas_to_document.py", line 65, in main
convert(config)
File "/usr/local/lib/python3.6/site-packages/openvas_to_report/api.py", line 248, in convert
openvas_info = openvas_parser(config.input_files, excluded_hosts=excluded_hosts, scope_hosts=scope_hosts)
File "/usr/local/lib/python3.6/site-packages/openvas_to_report/libs/parsers/openvas_parser.py", line 129, in openvas_parser
vuln_level = nvt_tmp.find(".//risk_factor").text
AttributeError: 'NoneType' object has no attribute 'text'
The text was updated successfully, but these errors were encountered: