Skip to content

Conversation

@davideschiera
Copy link
Contributor

usage: sync_pagerduty_policies.py [-h] [--link] [--unlink] [--dry-run]
                                  sysdig-token pagerduty-account-id
                                  pagerduty-access-key

Synchronize PagerDuty escalation policies with Sysdig, to make sure each
escalation policy has a notification channel enabled in Sysdig

positional arguments:
  sysdig-token          Sysdig API token
  pagerduty-account-id  PagerDuty account ID
  pagerduty-access-key  PagerDuty API access key

optional arguments:
  -h, --help            show this help message and exit
  --link                Set to creat notification channels in Sysdig and
                        services in PagerDuty for all escalation policies
  --unlink              Set to remove notification channels connected to
                        PagerDuty escalation policies
  --dry-run             Set to get a report of changes, without actually apply
                        them```

@davideschiera davideschiera self-assigned this Apr 17, 2019
@dalejrodriguez dalejrodriguez marked this pull request as ready for review April 19, 2019 00:22
@davideschiera davideschiera merged commit 1da63e5 into master Jul 17, 2019
@davideschiera davideschiera deleted the sync-pagerduty-policies branch July 17, 2019 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant