Table: scaleway_registry_namespace - Query Scaleway Registry Namespaces using SQL
Scaleway Registry Namespace is a resource that belongs to Scaleway's Container Registry service. It allows users to create isolated spaces to host their container images. Each namespace provides a unique endpoint where users can push and pull images.
Table Usage Guide
The scaleway_registry_namespace
table provides insights into the registry namespaces within Scaleway's Container Registry service. As a DevOps engineer or system administrator, you can explore the details of each namespace through this table, including its unique identifier, name, endpoint, and the date it was created. This table is useful for managing and tracking your container images, and for ensuring the organization and security of your container registry.
Examples
Basic info
Explore the status and creation date of your Scaleway registry namespaces, which can help you track and manage your resources more effectively. This is particularly useful for maintaining organization and project information across multiple regions.
select name, id, status, created_at, region, project, organizationfrom scaleway_registry_namespace;
select name, id, status, created_at, region, project, organizationfrom scaleway_registry_namespace;
List public registry namespaces
Explore which registry namespaces are publicly accessible. This can help in understanding the level of data exposure and potential security risks.
select name, id, status, created_at, region, project, organizationfrom scaleway_registry_namespacewhere is_public = true;
select name, id, status, created_at, region, project, organizationfrom scaleway_registry_namespacewhere is_public = 1;
Schema for scaleway_registry_namespace
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
created_at | timestamp with time zone | The time when the namespace was created. | |
description | text | A description of the namespace. | |
endpoint | text | The endpoint reachable by docker of the namespace. | |
id | text | = | A unique identifier of the instance. |
image_count | bigint | The number of images in the namespace. | |
is_public | boolean | The namespace visibility policy. | |
name | text | = | The user-defined name of the namespace. |
organization | text | The ID of the organization where the namespace resides. | |
project | text | The ID of the project where the namespace resides. | |
region | text | = | Specifies the region where the namespace is located. |
size | bigint | Total size of the namespace, calculated as the sum of the size of all images in the namespace. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | The current status of the namespace. | |
status_message | text | The current status of the namespace. | |
title | text | Title of the resource. | |
updated_at | timestamp with time zone | The time when the namespace was updated. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- scaleway
You can pass the configuration to the command with the --config
argument:
steampipe_export_scaleway --config '<your_config>' scaleway_registry_namespace