turbot/tailpipe-mod-aws-cloudtrail-log-detections

Query: Root User Activity Report AWS Accounts Input

Usage

powerpipe query aws_cloudtrail_log_detections.query.root_user_activity_report_aws_accounts_input

Tailpipe Tables

SQL

with aws_account_ids as (
select
distinct(recipient_account_id) as aws_account_id
from
aws_cloudtrail_log
)
select
aws_account_id as label,
aws_account_id as value
from
aws_account_ids
order by
aws_account_id;