turbot/terraform_oci_compliance

Query: identity_authentication_password_policy_contains_special_characters

Usage

powerpipe query terraform_oci_compliance.query.identity_authentication_password_policy_contains_special_characters

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'password_policy' ->> 'is_special_characters_required')::boolean then 'ok'
else 'alarm'
end as status,
split_part(address, '.', 2) || case
when (attributes_std -> 'password_policy' ->> 'is_special_characters_required')::boolean then ' contains special characters'
else ' does not contain special characters'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'oci_identity_authentication_policy';

Controls

The query is being used by the following controls: