certificate_with_auto_renew_enablediam_access_group_with_public_accessiam_account_owner_no_api_keyiam_restrict_api_key_service_id_creationiam_support_center_access_group_configurediam_user_api_key_age_90iam_user_member_of_only_access_groupiam_user_mfa_enabled_alliam_user_with_valid_emailiam_user_with_valid_phoneinternet_service_ddos_protection_activeinternet_service_tls_higher_version_enabledinternet_service_waf_enabledmanual_controlobject_storage_bucket_with_cmkobject_storage_bucket_with_key_protect_enabledvpc_network_acl_restrict_ingress_rdp_allvpc_network_acl_restrict_ingress_ssh_allvpc_security_group_restrict_ingress_rdp_allvpc_security_group_restrict_ingress_ssh_all
Query: internet_service_ddos_protection_active
Usage
powerpipe query ibm_compliance.query.internet_service_ddos_protection_active
Steampipe Tables
SQL
with proxy_enabled as( select rule ->> 'proxied' as proxy, name, id from ibm_cis_domain, jsonb_array_elements(global_load_balancer) as rule where rule ->> 'proxied' = 'true')select p.id as resource, case when p.id is null then 'alarm' else 'ok' end as status, case when p.id is null then p.name || ' DDoS protection is inactive on Cloud Internet Services.' else p.name || ' DDoS protection is active on Cloud Internet Services.' end as reason, acc.guid as account_idfrom proxy_enabled as p, ibm_account as acc;
Controls
The query is being used by the following controls: