Registry Onboarding
APIs for managing Registry Onboarding
Creates a new registry connector for based on the provided details.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security.
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241The connector ID.
Name of the registry vendor.
Name of the registry connector.
Indicates whether the connector is enabled.
trueThe URL of the registry.
The username for authentication.
The password for authentication.
Token to authenticate the request.
The scanning mode used by the connector
Specifies the cloud provider for the Cortex environment to use for registry scanning.
The outpost ID.
Specifies the region to use for registry scanning. As a best practice, choose the region closest to your registry deployment to achieve the best scanning throughput and potentially reduce cloud costs.
When set to true, allows image pulls from insecure registries.
Optional. The CA certificate used for authentication.
Optional. The repository used for image discovery.
Optional. Indicates whether static IP addresses are allowed.
Optional. The identifier associated with the IP address.
Defines the type of assets to be filtered (the scope). You can combine multiple conditions to create complex rules for when the asset filter should be applied.
The type of registry.
The tenant ID
Indicates the Broker VM type used by the Outpost.
The broker ID.
Vendor specific configuration options for scanning.
Connector details have been stored successfully.
Client error
Service had unexpected internal error
POST /public_api/v1/cwp/registry_onboarding/instances HTTP/1.1
Host: api-yourfqdn
Authorization: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Content-Type: application/json
Accept: */*
Content-Length: 658
{
"connector_id": "text",
"vendor": "DOCKER",
"name": "text",
"enabled": true,
"url": "text",
"username": "text",
"password": "text",
"auth_token": "text",
"scanning_mode": "CLOUD",
"cloud_provider": "AWS",
"outpost_id": "text",
"region": "text",
"insecure_pull": true,
"ca_certificate": "text",
"repository": "text",
"initial_scan_configuration": {
"mode": "TAGS_MODIFIED_DAYS",
"numDays": 7
},
"allow_static_ips": true,
"ip_identifier": "text",
"asset_scope_filters": {
"AND": [
{}
]
},
"registry_type": "CLOUD_HOSTED",
"tenant_id": "text",
"broker_type": "BROKER_VM",
"broker_id": "text",
"filter_type": "INCLUDE",
"vendor_specific_configuration": {
"group_ids": "text",
"project_ids": "text",
"api_domain_name": "text"
}
}{
"connector_id": "text"
}Retrieves a registry connector details using its unique ID.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security.
The unique identifier for the connector.
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241Connector details retrieved successfully.
The connector ID.
Name of the registry vendor.
The name of the registry connector.
Indicates whether the connector is enabled.
trueThe URL of the registry.
The username for authentication.
The password for authentication.
Authentication token used to authorize requests to the API.
The scanning mode used by the connector
Specifies the cloud provider for the Cortex environment to use for registry scanning.
The outpost ID.
The region of the connector.
When set to true, allows image pulls from insecure registries.
Optional. The CA certificate used for authentication.
Optional. The repository used for image discovery.
Optional. Indicates whether static IP addresses are allowed.
Optional. The identifier associated with the IP address.
Defines the type of assets to be filtered (the scope). You can combine multiple conditions to create complex rules for when the asset filter should be applied.
The type of registry.
The tenant ID
Indicates the Broker VM type used by the Outpost.
The broker ID.
Vendor specific configuration options for scanning.
Connector not found.
Service had unexpected internal error.
GET /public_api/v1/cwp/registry_onboarding/instances/{connectorID} HTTP/1.1
Host: api-yourfqdn
Authentication: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Accept: */*
{
"connector_id": "text",
"vendor": "DOCKER",
"name": "text",
"enabled": true,
"url": "text",
"username": "text",
"password": "text",
"auth_token": "text",
"scanning_mode": "CLOUD",
"cloud_provider": "AWS",
"outpost_id": "text",
"region": "text",
"insecure_pull": true,
"ca_certificate": "text",
"repository": "text",
"initial_scan_configuration": {
"mode": "TAGS_MODIFIED_DAYS",
"numDays": 7
},
"allow_static_ips": true,
"ip_identifier": "text",
"asset_scope_filters": {
"AND": [
{}
]
},
"registry_type": "CLOUD_HOSTED",
"tenant_id": "text",
"broker_type": "BROKER_VM",
"broker_id": "text",
"filter_type": "INCLUDE",
"vendor_specific_configuration": {
"group_ids": "text",
"project_ids": "text",
"api_domain_name": "text"
}
}Updates the attributes of an existing registry connector identified by its unique ID.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security.
The unique identifier for the connector.
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241The connector ID.
Name of the registry vendor.
Name of the registry connector.
Indicates whether the connector is enabled.
trueThe URL of the registry.
The username for authentication.
The password for authentication.
Token to authenticate the request.
The scanning mode used by the connector
Specifies the cloud provider for the Cortex environment to use for registry scanning.
The outpost ID.
Specifies the region to use for registry scanning. As a best practice, choose the region closest to your registry deployment to achieve the best scanning throughput and potentially reduce cloud costs.
When set to true, allows image pulls from insecure registries.
Optional. The CA certificate used for authentication.
Optional. The repository used for image discovery.
Optional. Indicates whether static IP addresses are allowed.
Optional. The identifier associated with the IP address.
Defines the type of assets to be filtered (the scope). You can combine multiple conditions to create complex rules for when the asset filter should be applied.
The type of registry.
The tenant ID
Indicates the Broker VM type used by the Outpost.
The broker ID.
Vendor specific configuration options for scanning.
Connector details have been updated successfully.
Client error
Connector ID not found
Service had unexpected internal error
PUT /public_api/v1/cwp/registry_onboarding/instances/{connectorID} HTTP/1.1
Host: api-yourfqdn
Authentication: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Content-Type: application/json
Accept: */*
Content-Length: 658
{
"connector_id": "text",
"vendor": "DOCKER",
"name": "text",
"enabled": true,
"url": "text",
"username": "text",
"password": "text",
"auth_token": "text",
"scanning_mode": "CLOUD",
"cloud_provider": "AWS",
"outpost_id": "text",
"region": "text",
"insecure_pull": true,
"ca_certificate": "text",
"repository": "text",
"initial_scan_configuration": {
"mode": "TAGS_MODIFIED_DAYS",
"numDays": 7
},
"allow_static_ips": true,
"ip_identifier": "text",
"asset_scope_filters": {
"AND": [
{}
]
},
"registry_type": "CLOUD_HOSTED",
"tenant_id": "text",
"broker_type": "BROKER_VM",
"broker_id": "text",
"filter_type": "INCLUDE",
"vendor_specific_configuration": {
"group_ids": "text",
"project_ids": "text",
"api_domain_name": "text"
}
}{
"connector_id": "text"
}Deletes a specific registry connector identified by its unique ID.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security.
The unique identifier for the connector.
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241Connector deleted successfully.
No content
Connector not found.
Service had unexpected internal error.
DELETE /public_api/v1/cwp/registry_onboarding/instances/{connectorID} HTTP/1.1
Host: api-yourfqdn
Authentication: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Accept: */*
No content
Last updated
Was this helpful?
