library
turbot/pagerduty
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create Incident

Create an incident.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run pagerduty.pipeline.create_incident \
--arg 'service_id=<string>' \
--arg 'service_type=<string>' \
--arg 'title=<string>' \
--arg 'from=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = pagerduty.pipeline.create_incident
args = {
service_id = <string>
service_type = <string>
title = <string>
from = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.pagerduty
YesName of PagerDuty connection to use. If not provided, the default PagerDuty connection will be used.connection.pagerduty.default
service_id
string
YesThe ID of the service.-
service_type
string
YesThe type of the service.-
title
string
YesA succinct description of the nature, symptoms, cause, or effect of the incident.-
from
string
YesThe email address of a valid user associated with the account making the request.-
body
string
NoAdditional incident details.-
body_type
string
NoThe type of the body.-
conference_number
string
NoThe phone number of the conference call for the conference bridge.-
conference_url
string
NoAn URL for the conference bridge. This could be a link to a web conference or Slack channel.-
escalation_policy_id
string
NoThe ID of the escalation policy for the incident.-
escalation_policy_type
string
NoThe type of the escalation policy for the incident.-
incident_key
string
NoA string which identifies the incident. Sending subsequent requests referencing the same service and with the same incident_key will result in those requests being rejected if an open incident matches that incident_key.-
priority_id
string
NoThe ID of the priority of the incident.-
priority_type
string
NoThe type of the priority of the incident.-
urgency
string
NoThe urgency of the incident. Allowed values are 'high' and 'low'.-

Outputs

NameDescription
incidentThe created incident.

Tags

recommended = true