turbot/pagerduty

GitHub
steampipe plugin install pagerdutysteampipe plugin install pagerduty

PagerDuty + Steampipe

PagerDuty is a platform for agile incident management.

Steampipe is an open source CLI to instantly query cloud APIs using SQL.

List disabled services in your PagerDuty account:

select
name,
id,
status
from
pagerduty_service
where
status = 'disabled';
+-----------+---------+--------+
| name | id | status |
+-----------+---------+--------+
| Steampipe | PE0PJEP | active |
+-----------+---------+--------+

Documentation

Get started

Install

Download and install the latest PagerDuty plugin:

steampipe plugin install pagerduty

Credentials

ItemDescription
CredentialsGet your user token or if you have Admin, Global Admin or Account Owner access within your PagerDuty account, generate a general authorization token.
Resolution1. Credentials explicitly set in a steampipe config file (~/.steampipe/config/pagerduty.spc).
2. Credentials specified in environment variables, e.g., PAGERDUTY_TOKEN.

Configuration

Installing the latest pagerduty plugin will create a config file (~/.steampipe/config/pagerduty.spc) with a single connection named pagerduty:

connection "pagerduty" {
plugin = "pagerduty"
# Account or user API token
# This can also be set via the `PAGERDUTY_TOKEN` environment variable.
# token = "u+AtBdqvNtestTokeNcg"
}

Get involved