turbot/terraform_azure_compliance

Query: compute_vm_scale_set_disable_password_authentication_linux

Usage

powerpipe query terraform_azure_compliance.query.compute_vm_scale_set_disable_password_authentication_linux

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'disable_password_authentication') = 'false' then 'alarm'
else 'ok'
end status,
split_part(address, '.', 2) || case
when (attributes_std ->> 'disable_password_authentication') = 'false' then ' password authentication enabled'
else ' password authentication disabled'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_linux_virtual_machine_scale_set';

Controls

The query is being used by the following controls: