turbot/azure_insights

Query: source_compute_snapshots_for_compute_snapshot

Usage

powerpipe query azure_insights.query.source_compute_snapshots_for_compute_snapshot

Steampipe Tables

SQL

select
lower(s.id) as snapshot_id
from
azure_compute_snapshot as s,
azure_compute_snapshot as self
where
lower(self.source_resource_id) = lower(s.id)
and
lower(self.id) = $1
and
self.subscription_id = split_part($1, '/', 3);