AnsweredAssumed Answered

Unable to run azure connector from asset view module

Question asked by Jayanarayan MC on Aug 8, 2019

Unable to run azure connector through REST API. It works fine with web UI

REST API call is as follows

curl -n -u "username:password" -X POST "https://qualysapi.qg2.apps.qualys.com/qps/rest/2.0/run/am/assetdataconnector/621035"

<?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/2.0/am/asset_data_connector.xsd">
  <responseCode>SUCCESS</responseCode>
  <count>1</count>
  <data>
    <AzureAssetDataConnector>
      <id>621035</id>
      <name>Azure_subscription</name>
      <description>this will fetch resources from azure subscription</description>
      <lastSync>2019-08-08T23:19:37Z</lastSync>
      <lastError>Error decrypting username/password of the user aws account for connector: Azure_subscription</lastError>
      <connectorState>FINISHED_ERRORS</connectorState>
      <type>AZURE</type>
      <disabled>false</disabled>
      <isGovCloudConfigured>false</isGovCloudConfigured>
      <authRecord/>
    </AzureAssetDataConnector>
  </data>
</ServiceResponse>

Its a weird error stating Error decrypting username/password of the user aws account for connector: Azure_subscription

 

Can someone provide assistance

 

Thanks

Jay

Outcomes