Creates a new GCR connector.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
name |
Mandatory |
string |
Connector name. |
description |
Optional |
string |
Connector description. |
connectorId |
Optional |
string |
|
Request body: Service Account JSON |
Mandatory |
string |
Provide the configuration JSON file. |
API request
curl -X POST
"<qualys_base_url>/csapi/v1.3/registry/gcp/connector?name=New%20GCR%20connector" --header "Authorization: Bearer <token>"
Response
{
"name": "New GCR connector",
"description": "This is a new connector for GCR",
"gcpConnectorId": "104702225660035614490",
"gcpProjectId": "my-second-project-239110"
}
Was this topic helpful?