PagerDutyAssignOnCallUser

By default assigns the first on-call user to an investigation (all incidents in the investigation will be owned by the on call user).

javascript · PagerDuty

Details

IDPagerDutyAssignOnCallUser
Languagejavascript
From Version5.0.0
Tagspagerduty communication

README

Assigns the first on-call user to an investigation by default. All incidents in the investigation will be owned by the on call user.

Script Data


Name Description
Script Type javascript
Tags pagerduty, communication

Dependencies


This script uses the following commands and scripts.

  • PagerDuty-get-users-on-call-now

Inputs


Argument Name Description
escalation_policy_ids The comma-separated escalation policy IDs from which choose the oncall user.
schedule_ids The comma-separated schedule IDs from which to choose the oncall user.

Outputs


There are no outputs for this script.

commonfields:
  id: PagerDutyAssignOnCallUser
  version: -1
name: PagerDutyAssignOnCallUser
script: ''
type: javascript
tags:
- pagerduty
- communication
comment: By default assigns the first on-call user to an investigation (all incidents in the investigation will be owned by the on call user).
enabled: true
args:
- name: escalation_policy_ids
  description: Comma separated escalation policy IDs from which choose the oncall user.
- name: schedule_ids
  description: Comma separated schedule IDs from which to choose the oncall.
scripttarget: 0
dependson:
  must:
  - PagerDuty-get-users-on-call-now
runas: DBotWeakRole
tests:
- No tests
fromversion: 5.0.0
supportedModules:
- agentix
- xsiam
- edr