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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...