turbot/aws_insights

Query: guardduty_detectors_for_iam_role

Usage

powerpipe query aws_insights.query.guardduty_detectors_for_iam_role

Steampipe Tables

SQL

select
arn as guardduty_detector_arn
from
aws_guardduty_detector
where
service_role = $1
and account_id = split_part($1, ':', 5);