turbot/terraform_azure_compliance

Query: securitycenter_automatic_provisioning_monitoring_agent_on

Usage

powerpipe query terraform_azure_compliance.query.securitycenter_automatic_provisioning_monitoring_agent_on

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'auto_provision') = 'On' then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std ->> 'auto_provision') = 'On' then ' automatic provisioning of monitoring agent is on'
else ' automatic provisioning of monitoring agent is off'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_security_center_auto_provisioning';

Controls

The query is being used by the following controls: