ebs_attached_volume_encryption_enabled should validate all EBS volume without where condition #503
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
we should check all volumes without where
condition
select
-- Required Columns
arn as resource,
case
when encrypted and state = 'in-use' then 'ok'
when encrypted then 'info'
else 'alarm'
end as status,
case
when encrypted and state = 'in-use' then volume_id || ' attached and encrypted.'
when encrypted then volume_id || ' encrypted, not attached.'
else volume_id || ' not encrypted.'
end as reason,
-- Additional Dimensions
region,
account_id
from
aws_ebs_volume
Steampipe version (steampipe -v
)
Example: v0.3.0
Plugin version (steampipe plugin list
)
Example: v0.5.0
To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.