turbot/digitalocean_insights

Query: droplet_droplets_for_network_firewall

Usage

powerpipe query digitalocean_insights.query.droplet_droplets_for_network_firewall

SQL

select
d.urn as droplet_urn
from
digitalocean_droplet as d,
digitalocean_firewall as f,
jsonb_array_elements(droplet_ids) as did
where
d.id::text = did::text
and f.urn = $1;