-
Notifications
You must be signed in to change notification settings - Fork 4
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
Evidence table #32
Evidence table #32
Conversation
… to NessusTest... I think
For my particular use case, I also added this, because a partial FQDN is more useful than none: |
Any update on getting this feature merged into master? |
@aapomm Any update on getting this feature merged into master? |
I tested this PR and it works as expected. Unfortunately, this isn't something we can merge since the approach is not consistent with the rest of the plugin. Specifically, the importer class shouldn't be aware of the nessus item, its fields and the values. Ideally, the more consistent approach would be to pass the Evidence content should be generated with something like this:
This way, Note that this is now applied in #41. Closing this now. |
Summary
Modified the process_report_item function to fetch the IP, FQDN, RDNS, and Netbios values from the xml_host object and add them to a clone of the xml_report_item object so they are accessible as evidence parameters.
Added the parameter names to the fields list, and report_item.rb so they are allow-listed, added the parameters to the evidence.fields, and created an updated sample template with the new parameters.
Other Information
Some changes to report_item.rb may be redundant/unnecessary. Testing was done in the CE edition with a limited data-set.
Copyright assignment