Error: Tenable for ITSM plugin

andreanorris
Tera Expert

The connection is setup and returning a 200 code. I have used their code to return the json for a specific chunk outside of ServiceNow, but it's failing inside ServiceNow. This specific piece always fails - https://cloud.tenable.com/vulns/export/{export_uuid}/chunks/{chunk_id}. The Log message says 'restmethod undefined'.

I've set up their plugin in our Test environment with the same error message. I've also reached out to Tenable and haven't heard back from them. Has anyone encountered this before? Or know what to update on my end? All of the plugins are up-to-date and prerequisites are installed/updated.

Tenable docs:
https://developer.tenable.com/reference/exports-vulns-download-chunk

1 ACCEPTED SOLUTION

andreanorris
Tera Expert

The issue was unrelated to the REST method. It was the import file not being allowed.

View solution in original post

2 REPLIES 2

Matthew_13
Mega Sage

Its seems to me like the "restmethod undefined" error is due to the method type not being set correctly in ServiceNow.

  1. Check REST Method: Make sure the correct HTTP method (GET, POST, etc.) is defined in System Web Services > REST Messages.

  2. Validate URL: Ensure the URL in ServiceNow matches the working one outside, without any extra characters.

  3. Authentication: Verify that your API key or authentication token is included in the request headers.

  4. Logs: Look at System Logs > All for more detailed error info.

  5. Tenable Plugin: Double-check if your Tenable plugin version is fully compatible with your ServiceNow version.

Test using REST API Explorer to see if the issue is with the call or configuration.

Let me know if you need more detaills on any of these!

 

@andreanorris - Please give a Accepted Solution and Thumbs Up if you find Helpful!!

andreanorris
Tera Expert

The issue was unrelated to the REST method. It was the import file not being allowed.