All Apps and Add-ons

Splunk Add-on for Nessus: How to Import Nessus Solution and Plugin Output data?

Rebeccakettler
Path Finder

Hi

I set up the Splunk Add-on for Nessus, but I do not see any of the Solution or Plugin output data in the results. I need those for my reports. Has anyone accomplished this or know how to do it?

0 Karma

sspinner
Explorer

Please take the below with a grain of salt. This solution appears to work, but I haven't extensively test it.

I just installed this add-on yesterday and ran into the same question. It turns out that the scripted input, nessus2splunk.py, parses the plugin_output tag in the source xml, but doesn't write it to the munged file that is sent to $SPLUNK_HOME/var/spool. The simple answer seems to be to edit the python script, $SPLUNK_HOME/etc/apps/Splunk_TA_nessus/bin/nessus2splunk.py, and add the single line:

('plugin_output', 'Data', str),

just below line 339 making sure the indentation (using spaces not tabs) matches up with the surrounding lines. When you're done, a simple diff of the revised file with the original file gives:

diff revised.nessus2splunk.py nessus2splunk.py
340d339
<             ('plugin_output', 'Data', str),
0 Karma

rajbir1
Explorer

I tried this but it didn't work in my case.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...