Get GCP Connector Info 3.0

GET /qps/rest/3.0/get/am/gcpassetdataconnector/<id>

We will now deprecate the old CloudView API endpoint for ’Get GCP connector Info’ and an alternative API will be introduced in the Asset Management application. You can select whether the ’Get GCP Connector Info’ API applies to AssetView and/or CloudView in the Connector application.



Permissions required - Managers with full scope.

Sample: List specific GCP Connector Id 176001Sample: List specific GCP Connector Id 176001

API request(JSON)

"curl -n -u""USERNAME:PASSWORD""-X""POST""<qualys_base_url>/qps/rest/3.0/get/am/gcpassetdataconnector/17601""--header""Accept: application/json""--header""Content-Type: application/json"      
    

Response(JSON)

{
   "ServiceResponse":{
      "responseCode":"SUCCESS",
      "count":1,
      "data":[
         {
            "GcpAssetDataConnector":{
               "nextSync":"2022-06-30T16:38:21Z",
               "connectorAppInfos":{
                  "list":[
                     {
                        "ConnectorAppInfoQList":{
                           "list":[
                              {
                                 "ConnectorAppInfo":{
                                    "name":"CSA",
                                    "identifier":"my-project-xxxxxxxxx"
                                 }
                              }
                           ]
                        }
                     },
                     {
                        "ConnectorAppInfoQList":{
                           "list":[
                              {
                                 "ConnectorAppInfo":{
                                    "name":"CI",
                                    "identifier":"my-project-xxxxxxxxx"
                                 }
                              }
                           ]
                        }
                     }
                  ]
               },
               "disabled":"false",
               "id":842873,
               "connectorState":"FINISHED_SUCCESS",
               "name":"sign",
               "isRemediationEnabled":"true",
               "authRecord":{
                  "projectId":"my-project-xxxxxxxxx"
               },
               "lastSync":"2022-06-30T13:21:57Z",
               "runFrequency":240,
               "cloudviewUuid":"xxxxxxxxx-2007-xxxx-adab-9db19bd5fdb9",
               "isDeleted":"false",
               "isGovCloudConfigured":"false",
               "description":"testing"
            }
         }
      ]
   }
}