turbot/steampipe-mod-aws-compliance

Control: GuardDuty findings should be archived

Description

AWS GuardDuty helps you understand the impact of an incident by classifying findings by severity: low, medium, and high.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.guardduty_finding_archived

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.guardduty_finding_archived --share

SQL

This control uses a named query:

select
arn as resource,
case
when service ->> 'Archived' = 'false' then 'alarm'
else 'ok'
end as status,
case
when service ->> 'Archived' = 'false' then title || ' not archived.'
else title || ' archived.'
end as reason
, region, account_id
from
aws_guardduty_finding;

Tags