Loading controls...
Control: Unused reserved public IP addresses should be removed
Description
Unattached reserved public IP addresses cost money and should be released.
Usage
Run the control in your terminal:
steampipe check oci_thrifty.control.network_public_ip_unattached
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share oci_thrifty.control.network_public_ip_unattached
Plugins & Tables
SQL
select a.id as resource, case when a.lifecycle_state = 'AVAILABLE' then 'alarm' else 'ok' end as status, a.display_name || ' in ' || a.lifecycle_state || ' state.' as reason, a.scope, coalesce(c.name, 'root') as compartmentfrom oci_core_public_ip as a left join oci_identity_compartment as c on c.id = a.compartment_id;