turbot/aws_insights

Query: codepipeline_pipeline_age_table

Usage

powerpipe query aws_insights.query.codepipeline_pipeline_age_table

SQL

select
c.name as "Name",
now() :: date - c.created_at :: date as "Age in Days",
c.created_at as "Create Time",
a.title as "Account",
c.account_id as "Account ID",
c.region as "Region",
c.arn as "ARN"
from
aws_codepipeline_pipeline as c,
aws_account as a
where
c.account_id = a.account_id
order by
c.created_at,
c.name;

Dashboards

The query is used in the dashboards: