We will now deprecate the API endpoint to run one or more GCP connectors from the CloudView application and introduce an alternative API in the Asset Management application. The run connector API will fetch the latest changes related to your connector.
Permissions required - Managers with full scope.
API request(JSON)
"curl -n -u""USERNAME:PASSWORD""<qualys_base_url>/qps/rest/3.0/run/am/gcpassetdataconnector/<id>""--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":"Test GCP connector API UPDATED",
"isRemediationEnabled":"true",
"authRecord":{
"projectId":"my-project-xxxxxxxxx"
},
"lastSync":"2022-06-30T16:11:28Z",
"runFrequency":240,
"cloudviewUuid":"xxxxxxxxx-2007-xxxx-adab-9db19bd5fdb9",
"isDeleted":"false",
"isGovCloudConfigured":"false",
"description":"testing"
}
}
]
}
}