AnsweredAssumed Answered

Scan map API curl connection

Question asked by Robert S-B on Feb 27, 2017
Latest reply on Mar 1, 2017 by Robert S-B

Hello all, I'm new to Qualys, how can I run scan map via API and not to wait until it finish ?

I see in Web UI that the scan map has been queued but the curl connection is still open.

 

I'm using none domain in request.I need to run 350 scan maps in short time.

I tried to use "Map Request — Version 2" and also "Map Request — Single Domain".

 

Error message:

 

<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.eu/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>
  <RESPONSE>
    <DATETIME>2017-02-27T13:59:42Z</DATETIME>
    <TEXT>Logged in</TEXT>
  </RESPONSE>


</SIMPLE_RETURN>
Curl error: Operation timed out after 59000 milliseconds with 480 bytes received<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.eu/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>


  <RESPONSE>
    <DATETIME>2017-02-27T14:00:43Z</DATETIME>
    <TEXT>Logged out</TEXT>
  </RESPONSE>
</SIMPLE_RETURN>

 

Thank You

Outcomes