steampipe plugin install azure

Table: azure_storage_queue - Query Azure Storage Queues using SQL

Azure Storage Queues is a service in Microsoft Azure that provides reliable messaging between and within services. It allows for asynchronous message queuing between application components, whether they are running in the cloud, on the desktop, on-premises, or on mobile devices. Azure Storage Queues simplifies the development of large-scale distributed applications, providing a loosely coupled architecture for improved scalability and reliability.

Table Usage Guide

The azure_storage_queue table provides insights into Azure Storage Queues within Microsoft Azure. As a developer or system administrator, you can explore queue-specific details through this table, including metadata, message count, and status. Utilize it to uncover information about queues, such as those with high message counts, and to monitor the status of queues for improved scalability and reliability.

Examples

List of queues and their corresponding storage accounts

Explore which Azure storage queues are linked to specific storage accounts and understand their geographical distribution. This can help in managing resources and optimizing storage strategies.

select
name as queue_name,
storage_account_name,
region
from
azure_storage_queue;
select
name as queue_name,
storage_account_name,
region
from
azure_storage_queue;

List of storage queues without owner tag key

Determine the areas in which Azure application security groups lack an 'owner' tag key. This helps to identify resources that may not be properly managed or tracked.

select
name,
tags
from
azure_application_security_group
where
not tags :: JSONB ? 'owner';
select
name,
tags
from
azure_application_security_group
where
json_extract(tags, '$.owner') is null;

Schema for azure_storage_queue

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
cloud_environmenttextThe Azure Cloud Environment.
idtextContains ID to identify a queue uniquely.
metadatajsonbA name-value pair that represents queue metadata.
nametext=The friendly name that identifies the queue.
regiontextThe Azure region/location in which the resource is located.
resource_grouptext=The resource group which holds this resource.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
storage_account_nametext=An unique read-only string that changes whenever the resource is updated.
subscription_idtext=, !=, ~~, ~~*, !~~, !~~*The Azure Subscription ID in which the resource is located.
titletextTitle of the resource.
typetextType of the resource.

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)" -- azure

You can pass the configuration to the command with the --config argument:

steampipe_export_azure --config '<your_config>' azure_storage_queue