turbot/scaleway
steampipe plugin install scaleway

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,
organization
from
scaleway_registry_namespace;
select
name,
id,
status,
created_at,
region,
project,
organization
from
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,
organization
from
scaleway_registry_namespace
where
is_public = true;
select
name,
id,
status,
created_at,
region,
project,
organization
from
scaleway_registry_namespace
where
is_public = 1;

Schema for scaleway_registry_namespace

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
created_attimestamp with time zoneThe time when the namespace was created.
descriptiontextA description of the namespace.
endpointtextThe endpoint reachable by docker of the namespace.
idtext=A unique identifier of the instance.
image_countbigintThe number of images in the namespace.
is_publicbooleanThe namespace visibility policy.
nametext=The user-defined name of the namespace.
organizationtextThe ID of the organization where the namespace resides.
projecttextThe ID of the project where the namespace resides.
regiontext=Specifies the region where the namespace is located.
sizebigintTotal size of the namespace, calculated as the sum of the size of all images in the namespace.
statustextThe current status of the namespace.
status_messagetextThe current status of the namespace.
titletextTitle of the resource.
updated_attimestamp with time zoneThe 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