turbot/terraform_oci_compliance
GitHub

Query: vcn_has_inbound_security_list_configured

Usage

steampipe query terraform_oci_compliance.query.vcn_has_inbound_security_list_configured

Plugins & Tables

SQL

select
address as resource,
case
when (
attributes_std -> 'ingress_security_rules' ->> 'protocol'
) is not null then 'ok'
else 'alarm'
end as status,
split_part(address, '.', 2) || case
when (
attributes_std -> 'ingress_security_rules' ->> 'protocol'
) is not null then ' has inbound security list configured'
else ' has no inbound security list configured'
end || '.' reason,
path || ':' || start_line
from
terraform_resource
where
type = 'oci_core_security_list';

Controls

The query is being used by the following controls: