Search code examples
ibm-cloud-infrastructure

SoftLayer Vulnerability Scan - Strange Exception


I'm trying to use SoftLayer's API to execute vulnerability scans on multiple hosts from Python. To be more precise, I'm trying to scan around 200 hosts. I have noticed the presence of request throttling so I'm starting the scans 1 host per minute. Everything works perfectly fine up to around 63-64 hosts. I can see the scans running. But, after that if I try to start a new scan I receive the following exception.

Unable to create a new object of type SoftLayer_Network_Security_Scanner_Request_Nessus. Make sure the authentication method is correct.

Could someone please help me to figure out what could be the issue as the root cause of the exception is definitely not incorrect authentication method.


Solution

  • This is a know issue, you need to provide the accountId, ipAddress, guestId or hardwareId.

    It was answered before here SoftLayer Vulnerability Scan Python

    Also you can review https://sldn.softlayer.com/blog/jmarhee/nessus-security-scans-using-softlayer-api

    Regards,