library
turbot/pagerduty
Get Involved
Version
Pipeline: Update Incident
Acknowledge, resolve, escalate or reassign an incident.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run pagerduty.pipeline.update_incident \ --arg 'incident_id=<string>' \ --arg 'type=<string>' \ --arg 'from=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = pagerduty.pipeline.update_incident args = { incident_id = <string> type = <string> from = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.pagerduty | Yes | Name of PagerDuty connection to use. If not provided, the default PagerDuty connection will be used. | connection.pagerduty.default |
incident_id | string | Yes | The ID of the incident. | - |
type | string | Yes | The incident type. Allowed values are 'incident' and 'incident_reference' | - |
from | string | Yes | The email address of a valid user associated with the account making the request. | - |
conference_number | string | No | The phone number of the conference call for the conference bridge. | - |
conference_url | string | No | An URL for the conference bridge. This could be a link to a web conference or Slack channel. | - |
escalation_level | number | No | Escalate the incident to this level in the escalation policy. | - |
escalation_policy_id | string | No | The ID of the escalation policy for the incident. | - |
escalation_policy_type | string | No | The type of the escalation policy for the incident. | - |
priority_id | string | No | The ID of the priority of the incident. | - |
priority_type | string | No | The type of the priority of the incident. | - |
resolution | string | No | The resolution for this incident if status is set to resolved. | - |
status | string | No | The new status of the incident. Allowed values are 'acknowledged' and 'resolved'. | - |
title | string | No | The new title of the incident. | - |
urgency | string | No | The urgency of the incident. Allowed values are 'high' and 'low'. | - |
Outputs
Name | Description |
---|---|
incident | The updated incident. |