turbot/steampipe-mod-terraform-azure-compliance

Control: Azure Spring Cloud should use network injection

Description

Azure Spring Cloud instances should use virtual network injection for the following purposes - 1. Isolate Azure Spring Cloud from Internet. 2. Enable Azure Spring Cloud to interact with systems in either on premises data centers or Azure service in other virtual networks. 3. Empower customers to control inbound and outbound network communications for Azure Spring Cloud.

Usage

Run the control in your terminal:

powerpipe control run terraform_azure_compliance.control.spring_cloud_service_network_injection_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run terraform_azure_compliance.control.spring_cloud_service_network_injection_enabled --share

SQL

This control uses a named query:

select
address as resource,
case
when (attributes_std -> 'network') is null then 'alarm'
else 'ok'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'network') is null then ' network injection disabled'
else ' network injection enabled'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_spring_cloud_service';

Tags