All Apps and Add-ons

No error handling in te_asset.py

addproniklas
Engager

When we tried to run the script te_asset.py we expected an error where it said that no data was retrived from the "make" field.

When looking in to the XML from Tripwire we noticed that we hade some nodes that was setup with a SSH connection and the "make" field in the XML was empty. This caused the script to fail since there is no error handling in the script.

By altering the script with an try and except field the script ran without any issues.

You might want to update the script so it has a better error handling.

0 Karma

JimWachhaus
Path Finder

Could you share the corrected script so we can include it?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...