AnsweredAssumed Answered

Netscaler\Qualys WAS Integration

Question asked by Nell R on Nov 12, 2018
Latest reply on Nov 14, 2018 by Nell R

Hey,

 

I'm trying my WAS XML to import onto my netscaler. Command is as followed.

 

curl -u "USER:PASS" -X "GET" https://qualysapi.qg2.apps.qualys.com/qps/rest/3.0/download/was/wasscan/[scan ID]

 

I'm receiving the below. I confirmed credentials and I have API access.

 

<?xml version="1.0" encoding="UTF-8"?>

<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://qualysapi.qg2.apps.qualys.com/qps/xsd/3.0/was/wasscan.xsd">

  <responseCode>INVALID_CREDENTIALS</responseCode>

  <responseErrorDetails>

    <errorMessage>HTTP BASIC AUTH header is malformed.</errorMessage>

  </responseErrorDetails>

Outcomes