phantomcyber / dev-cicd-tools

Apache License 2.0
4 stars 1 forks source link

Check that splunk base data is not empty #55

Closed rgil-splunk closed 2 years ago

rgil-splunk commented 2 years ago

For new apps, splunk_base_data will be None, however we were trying to index into the result regardless: https://github.com/splunk-soar-connectors/splunkitsi/runs/7577531943?check_suite_focus=true#step:10:611

Add a check that it's defined before trying to index into the value.