Create a New GCR Connector

Creates a new GCR connector.

POST/v1.3/registry/gcp/connector

Input ParametersInput Parameters

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.

SampleSample

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?

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.