turbot/azuredevops
steampipe plugin install azuredevops

Table: azuredevops_dashboard - Query Azure DevOps Dashboards using SQL

Azure DevOps Dashboards are a customizable interactive signboard that provides real-time information, analytics, and insights. They are a place to find quick answers and information about the work items and builds. Dashboards are customizable and can contain charts, graphs, and lists, among other things.

Table Usage Guide

The azuredevops_dashboard table provides insights into the dashboards within Azure DevOps. As a project manager or team lead, explore dashboard-specific details through this table, including layout, widgets, and associated metadata. Utilize it to uncover information about the dashboards, such as their configuration, the widgets they contain, and their layout.

Examples

Basic info

Discover the segments that are linked to your Azure DevOps dashboard, including the project and group it belongs to, as well as its owner. This can help in managing and organizing your projects more efficiently.

select
id,
name,
dashboard_scope,
project_id,
owner_id,
group_id
from
azuredevops_dashboard;
select
id,
name,
dashboard_scope,
project_id,
owner_id,
group_id
from
azuredevops_dashboard;

List dashboards with project scope

Discover the dashboards that are specifically scoped to projects in Azure DevOps. This is useful for assessing the distribution of resources and managing project-specific data.

select
id,
name,
dashboard_scope,
project_id,
owner_id,
group_id
from
azuredevops_dashboard
where
dashboard_scope = 'project';
select
id,
name,
dashboard_scope,
project_id,
owner_id,
group_id
from
azuredevops_dashboard
where
dashboard_scope = 'project';

List dashboards of a particular project

Discover the segments that belong to a specific project by identifying all associated dashboards. This is beneficial in understanding the structure and distribution of resources within a particular project.

select
d.id as dashboard_id,
d.name,
d.dashboard_scope,
d.project_id,
d.owner_id,
d.group_id
from
azuredevops_dashboard as d,
azuredevops_project as p
where
d.project_id = p.id
and p.name = 'private_project';
select
d.id as dashboard_id,
d.name,
d.dashboard_scope,
d.project_id,
d.owner_id,
d.group_id
from
azuredevops_dashboard as d,
azuredevops_project as p
where
d.project_id = p.id
and p.name = 'private_project';

Get owner details of a particular dashboard

Explore the teams associated with a specific Azure DevOps dashboard to understand its ownership and associated project details. This can be useful for auditing purposes or to manage permissions and access controls.

select
t.id as team_id,
t.name,
t.project_id,
t.project_name
from
azuredevops_dashboard as d,
azuredevops_team as t
where
d.owner_id = t.id
and d.name = 'test';
select
t.id as team_id,
t.name,
t.project_id,
t.project_name
from
azuredevops_dashboard as d,
azuredevops_team as t
where
d.owner_id = t.id
and d.name = 'test';

Schema for azuredevops_dashboard

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
dashboard_scopetextEntity to which the dashboard is scoped.
descriptiontextDescription of the dashboard.
etagtextServer defined version tracking value, used for edit collision detection.
group_idtext=ID of the group for a dashboard. For team-scoped dashboards, this is the unique identifier for the team associated with the dashboard. For project-scoped dashboards this property is empty.
idtextID of the dashboard. Provided by service at creation time.
linksjsonbThe class to represent a collection of REST reference links.
nametextName of the Dashboard.
owner_idtextID of the owner for a dashboard. For team-scoped dashboards, this is the unique identifier for the team associated with the dashboard. For project-scoped dashboards, this is the unique identifier for the user identity associated with the dashboard.
positionbigintPosition of the dashboard, within a dashboard group. If unset at creation time, position is decided by the service.
project_idtext=ID of the project this dashboard belongs to.
refresh_intervalbigintInterval for client to automatically refresh the dashboard. Expressed in minutes.
titletextTitle of the resource.
urltextURL of the dashboard.
widgetsjsonbThe set of Widgets on the dashboard.

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

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

steampipe_export_azuredevops --config '<your_config>' azuredevops_dashboard