pagerduty.EventOrchestrationGlobal
Explore with Pulumi AI
A Global Orchestration allows you to create a set of Event Rules. The Global Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the “start” set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Global Orchestration for further processing.
Example of configuring a Global Orchestration
This example shows creating Team
, and Event Orchestration
resources followed by creating a Global Orchestration to handle Events sent to that Event Orchestration.
This example also shows using the pagerduty.getPriority and pagerduty.EscalationPolicy data sources to configure priority
and escalation_policy
actions for a rule.
This example shows a Global Orchestration that has nested sets: a rule in the “start” set has a route_to
action pointing at the “step-two” set.
The catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. In this example the catch_all
doesn’t have any actions
so it’ll leave events as-is.
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const databaseTeam = new pagerduty.Team("database_team", {name: "Database Team"});
const eventOrchestration = new pagerduty.EventOrchestration("event_orchestration", {
name: "Example Orchestration",
team: databaseTeam.id,
});
const p1 = pagerduty.getPriority({
name: "P1",
});
const sreEscPolicy = pagerduty.getEscalationPolicy({
name: "SRE Escalation Policy",
});
const global = new pagerduty.EventOrchestrationGlobal("global", {
eventOrchestration: eventOrchestration.id,
sets: [
{
id: "start",
rules: [{
label: "Always annotate a note to all events",
actions: {
annotate: "This incident was created by the Database Team via a Global Orchestration",
routeTo: "step-two",
},
}],
},
{
id: "step-two",
rules: [
{
label: "Drop events that are marked as no-op",
conditions: [{
expression: "event.summary matches 'no-op'",
}],
actions: {
dropEvent: true,
},
},
{
label: "If the DB host is running out of space, then page the SRE team",
conditions: [{
expression: "event.summary matches part 'running out of space'",
}],
actions: {
escalationPolicy: sreEscPolicy.then(sreEscPolicy => sreEscPolicy.id),
},
},
{
label: "If there's something wrong on the replica, then mark the alert as a warning",
conditions: [{
expression: "event.custom_details.hostname matches part 'replica'",
}],
actions: {
severity: "warning",
},
},
{
label: "Otherwise, set the incident to P1 and run a diagnostic",
actions: {
priority: p1.then(p1 => p1.id),
automationAction: {
name: "db-diagnostic",
url: "https://example.com/run-diagnostic",
autoSend: true,
},
},
},
],
},
],
catchAll: {
actions: {},
},
});
import pulumi
import pulumi_pagerduty as pagerduty
database_team = pagerduty.Team("database_team", name="Database Team")
event_orchestration = pagerduty.EventOrchestration("event_orchestration",
name="Example Orchestration",
team=database_team.id)
p1 = pagerduty.get_priority(name="P1")
sre_esc_policy = pagerduty.get_escalation_policy(name="SRE Escalation Policy")
global_ = pagerduty.EventOrchestrationGlobal("global",
event_orchestration=event_orchestration.id,
sets=[
{
"id": "start",
"rules": [{
"label": "Always annotate a note to all events",
"actions": {
"annotate": "This incident was created by the Database Team via a Global Orchestration",
"route_to": "step-two",
},
}],
},
{
"id": "step-two",
"rules": [
{
"label": "Drop events that are marked as no-op",
"conditions": [{
"expression": "event.summary matches 'no-op'",
}],
"actions": {
"drop_event": True,
},
},
{
"label": "If the DB host is running out of space, then page the SRE team",
"conditions": [{
"expression": "event.summary matches part 'running out of space'",
}],
"actions": {
"escalation_policy": sre_esc_policy.id,
},
},
{
"label": "If there's something wrong on the replica, then mark the alert as a warning",
"conditions": [{
"expression": "event.custom_details.hostname matches part 'replica'",
}],
"actions": {
"severity": "warning",
},
},
{
"label": "Otherwise, set the incident to P1 and run a diagnostic",
"actions": {
"priority": p1.id,
"automation_action": {
"name": "db-diagnostic",
"url": "https://example.com/run-diagnostic",
"auto_send": True,
},
},
},
],
},
],
catch_all={
"actions": {},
})
package main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
databaseTeam, err := pagerduty.NewTeam(ctx, "database_team", &pagerduty.TeamArgs{
Name: pulumi.String("Database Team"),
})
if err != nil {
return err
}
eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "event_orchestration", &pagerduty.EventOrchestrationArgs{
Name: pulumi.String("Example Orchestration"),
Team: databaseTeam.ID(),
})
if err != nil {
return err
}
p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
Name: "P1",
}, nil)
if err != nil {
return err
}
sreEscPolicy, err := pagerduty.LookupEscalationPolicy(ctx, &pagerduty.LookupEscalationPolicyArgs{
Name: "SRE Escalation Policy",
}, nil)
if err != nil {
return err
}
_, err = pagerduty.NewEventOrchestrationGlobal(ctx, "global", &pagerduty.EventOrchestrationGlobalArgs{
EventOrchestration: eventOrchestration.ID(),
Sets: pagerduty.EventOrchestrationGlobalSetArray{
&pagerduty.EventOrchestrationGlobalSetArgs{
Id: pulumi.String("start"),
Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Label: pulumi.String("Always annotate a note to all events"),
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
Annotate: pulumi.String("This incident was created by the Database Team via a Global Orchestration"),
RouteTo: pulumi.String("step-two"),
},
},
},
},
&pagerduty.EventOrchestrationGlobalSetArgs{
Id: pulumi.String("step-two"),
Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Label: pulumi.String("Drop events that are marked as no-op"),
Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
Expression: pulumi.String("event.summary matches 'no-op'"),
},
},
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
DropEvent: pulumi.Bool(true),
},
},
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Label: pulumi.String("If the DB host is running out of space, then page the SRE team"),
Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
Expression: pulumi.String("event.summary matches part 'running out of space'"),
},
},
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
EscalationPolicy: pulumi.String(sreEscPolicy.Id),
},
},
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Label: pulumi.String("If there's something wrong on the replica, then mark the alert as a warning"),
Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
Expression: pulumi.String("event.custom_details.hostname matches part 'replica'"),
},
},
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
Severity: pulumi.String("warning"),
},
},
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Label: pulumi.String("Otherwise, set the incident to P1 and run a diagnostic"),
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
Priority: pulumi.String(p1.Id),
AutomationAction: &pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{
Name: pulumi.String("db-diagnostic"),
Url: pulumi.String("https://example.com/run-diagnostic"),
AutoSend: pulumi.Bool(true),
},
},
},
},
},
},
CatchAll: &pagerduty.EventOrchestrationGlobalCatchAllArgs{
Actions: nil,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;
return await Deployment.RunAsync(() =>
{
var databaseTeam = new Pagerduty.Team("database_team", new()
{
Name = "Database Team",
});
var eventOrchestration = new Pagerduty.EventOrchestration("event_orchestration", new()
{
Name = "Example Orchestration",
Team = databaseTeam.Id,
});
var p1 = Pagerduty.GetPriority.Invoke(new()
{
Name = "P1",
});
var sreEscPolicy = Pagerduty.GetEscalationPolicy.Invoke(new()
{
Name = "SRE Escalation Policy",
});
var @global = new Pagerduty.EventOrchestrationGlobal("global", new()
{
EventOrchestration = eventOrchestration.Id,
Sets = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
{
Id = "start",
Rules = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Label = "Always annotate a note to all events",
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
Annotate = "This incident was created by the Database Team via a Global Orchestration",
RouteTo = "step-two",
},
},
},
},
new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
{
Id = "step-two",
Rules = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Label = "Drop events that are marked as no-op",
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
{
Expression = "event.summary matches 'no-op'",
},
},
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
DropEvent = true,
},
},
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Label = "If the DB host is running out of space, then page the SRE team",
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
{
Expression = "event.summary matches part 'running out of space'",
},
},
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
EscalationPolicy = sreEscPolicy.Apply(getEscalationPolicyResult => getEscalationPolicyResult.Id),
},
},
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Label = "If there's something wrong on the replica, then mark the alert as a warning",
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
{
Expression = "event.custom_details.hostname matches part 'replica'",
},
},
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
Severity = "warning",
},
},
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Label = "Otherwise, set the incident to P1 and run a diagnostic",
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
Priority = p1.Apply(getPriorityResult => getPriorityResult.Id),
AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs
{
Name = "db-diagnostic",
Url = "https://example.com/run-diagnostic",
AutoSend = true,
},
},
},
},
},
},
CatchAll = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllArgs
{
Actions = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.Team;
import com.pulumi.pagerduty.TeamArgs;
import com.pulumi.pagerduty.EventOrchestration;
import com.pulumi.pagerduty.EventOrchestrationArgs;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetPriorityArgs;
import com.pulumi.pagerduty.inputs.GetEscalationPolicyArgs;
import com.pulumi.pagerduty.EventOrchestrationGlobal;
import com.pulumi.pagerduty.EventOrchestrationGlobalArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalSetArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalCatchAllArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationGlobalCatchAllActionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var databaseTeam = new Team("databaseTeam", TeamArgs.builder()
.name("Database Team")
.build());
var eventOrchestration = new EventOrchestration("eventOrchestration", EventOrchestrationArgs.builder()
.name("Example Orchestration")
.team(databaseTeam.id())
.build());
final var p1 = PagerdutyFunctions.getPriority(GetPriorityArgs.builder()
.name("P1")
.build());
final var sreEscPolicy = PagerdutyFunctions.getEscalationPolicy(GetEscalationPolicyArgs.builder()
.name("SRE Escalation Policy")
.build());
var global = new EventOrchestrationGlobal("global", EventOrchestrationGlobalArgs.builder()
.eventOrchestration(eventOrchestration.id())
.sets(
EventOrchestrationGlobalSetArgs.builder()
.id("start")
.rules(EventOrchestrationGlobalSetRuleArgs.builder()
.label("Always annotate a note to all events")
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.annotate("This incident was created by the Database Team via a Global Orchestration")
.routeTo("step-two")
.build())
.build())
.build(),
EventOrchestrationGlobalSetArgs.builder()
.id("step-two")
.rules(
EventOrchestrationGlobalSetRuleArgs.builder()
.label("Drop events that are marked as no-op")
.conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
.expression("event.summary matches 'no-op'")
.build())
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.dropEvent(true)
.build())
.build(),
EventOrchestrationGlobalSetRuleArgs.builder()
.label("If the DB host is running out of space, then page the SRE team")
.conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
.expression("event.summary matches part 'running out of space'")
.build())
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.escalationPolicy(sreEscPolicy.applyValue(getEscalationPolicyResult -> getEscalationPolicyResult.id()))
.build())
.build(),
EventOrchestrationGlobalSetRuleArgs.builder()
.label("If there's something wrong on the replica, then mark the alert as a warning")
.conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
.expression("event.custom_details.hostname matches part 'replica'")
.build())
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.severity("warning")
.build())
.build(),
EventOrchestrationGlobalSetRuleArgs.builder()
.label("Otherwise, set the incident to P1 and run a diagnostic")
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.priority(p1.applyValue(getPriorityResult -> getPriorityResult.id()))
.automationAction(EventOrchestrationGlobalSetRuleActionsAutomationActionArgs.builder()
.name("db-diagnostic")
.url("https://example.com/run-diagnostic")
.autoSend(true)
.build())
.build())
.build())
.build())
.catchAll(EventOrchestrationGlobalCatchAllArgs.builder()
.actions()
.build())
.build());
}
}
resources:
databaseTeam:
type: pagerduty:Team
name: database_team
properties:
name: Database Team
eventOrchestration:
type: pagerduty:EventOrchestration
name: event_orchestration
properties:
name: Example Orchestration
team: ${databaseTeam.id}
global:
type: pagerduty:EventOrchestrationGlobal
properties:
eventOrchestration: ${eventOrchestration.id}
sets:
- id: start
rules:
- label: Always annotate a note to all events
actions:
annotate: This incident was created by the Database Team via a Global Orchestration
routeTo: step-two
- id: step-two
rules:
- label: Drop events that are marked as no-op
conditions:
- expression: event.summary matches 'no-op'
actions:
dropEvent: true
- label: If the DB host is running out of space, then page the SRE team
conditions:
- expression: event.summary matches part 'running out of space'
actions:
escalationPolicy: ${sreEscPolicy.id}
- label: If there's something wrong on the replica, then mark the alert as a warning
conditions:
- expression: event.custom_details.hostname matches part 'replica'
actions:
severity: warning
- label: Otherwise, set the incident to P1 and run a diagnostic
actions:
priority: ${p1.id}
automationAction:
name: db-diagnostic
url: https://example.com/run-diagnostic
autoSend: true
catchAll:
actions: {}
variables:
p1:
fn::invoke:
Function: pagerduty:getPriority
Arguments:
name: P1
sreEscPolicy:
fn::invoke:
Function: pagerduty:getEscalationPolicy
Arguments:
name: SRE Escalation Policy
Create EventOrchestrationGlobal Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventOrchestrationGlobal(name: string, args: EventOrchestrationGlobalArgs, opts?: CustomResourceOptions);
@overload
def EventOrchestrationGlobal(resource_name: str,
args: EventOrchestrationGlobalArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventOrchestrationGlobal(resource_name: str,
opts: Optional[ResourceOptions] = None,
catch_all: Optional[EventOrchestrationGlobalCatchAllArgs] = None,
event_orchestration: Optional[str] = None,
sets: Optional[Sequence[EventOrchestrationGlobalSetArgs]] = None)
func NewEventOrchestrationGlobal(ctx *Context, name string, args EventOrchestrationGlobalArgs, opts ...ResourceOption) (*EventOrchestrationGlobal, error)
public EventOrchestrationGlobal(string name, EventOrchestrationGlobalArgs args, CustomResourceOptions? opts = null)
public EventOrchestrationGlobal(String name, EventOrchestrationGlobalArgs args)
public EventOrchestrationGlobal(String name, EventOrchestrationGlobalArgs args, CustomResourceOptions options)
type: pagerduty:EventOrchestrationGlobal
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EventOrchestrationGlobalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EventOrchestrationGlobalArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EventOrchestrationGlobalArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventOrchestrationGlobalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventOrchestrationGlobalArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var eventOrchestrationGlobalResource = new Pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource", new()
{
CatchAll = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllArgs
{
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsArgs
{
Annotate = "string",
AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs
{
Name = "string",
Url = "string",
AutoSend = false,
Headers = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs
{
Key = "string",
Value = "string",
},
},
Parameters = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs
{
Key = "string",
Value = "string",
},
},
},
DropEvent = false,
EscalationPolicy = "string",
EventAction = "string",
Extractions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsExtractionArgs
{
Target = "string",
Regex = "string",
Source = "string",
Template = "string",
},
},
IncidentCustomFieldUpdates = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs
{
Id = "string",
Value = "string",
},
},
Priority = "string",
RouteTo = "string",
Severity = "string",
Suppress = false,
Suspend = 0,
Variables = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalCatchAllActionsVariableArgs
{
Name = "string",
Path = "string",
Type = "string",
Value = "string",
},
},
},
},
EventOrchestration = "string",
Sets = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetArgs
{
Id = "string",
Rules = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleArgs
{
Actions = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsArgs
{
Annotate = "string",
AutomationAction = new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs
{
Name = "string",
Url = "string",
AutoSend = false,
Headers = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs
{
Key = "string",
Value = "string",
},
},
Parameters = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs
{
Key = "string",
Value = "string",
},
},
},
DropEvent = false,
EscalationPolicy = "string",
EventAction = "string",
Extractions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsExtractionArgs
{
Target = "string",
Regex = "string",
Source = "string",
Template = "string",
},
},
IncidentCustomFieldUpdates = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs
{
Id = "string",
Value = "string",
},
},
Priority = "string",
RouteTo = "string",
Severity = "string",
Suppress = false,
Suspend = 0,
Variables = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleActionsVariableArgs
{
Name = "string",
Path = "string",
Type = "string",
Value = "string",
},
},
},
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationGlobalSetRuleConditionArgs
{
Expression = "string",
},
},
Disabled = false,
Id = "string",
Label = "string",
},
},
},
},
});
example, err := pagerduty.NewEventOrchestrationGlobal(ctx, "eventOrchestrationGlobalResource", &pagerduty.EventOrchestrationGlobalArgs{
CatchAll: &pagerduty.EventOrchestrationGlobalCatchAllArgs{
Actions: &pagerduty.EventOrchestrationGlobalCatchAllActionsArgs{
Annotate: pulumi.String("string"),
AutomationAction: &pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
AutoSend: pulumi.Bool(false),
Headers: pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArray{
&pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Parameters: pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArray{
&pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
DropEvent: pulumi.Bool(false),
EscalationPolicy: pulumi.String("string"),
EventAction: pulumi.String("string"),
Extractions: pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArray{
&pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArgs{
Target: pulumi.String("string"),
Regex: pulumi.String("string"),
Source: pulumi.String("string"),
Template: pulumi.String("string"),
},
},
IncidentCustomFieldUpdates: pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArray{
&pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs{
Id: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Priority: pulumi.String("string"),
RouteTo: pulumi.String("string"),
Severity: pulumi.String("string"),
Suppress: pulumi.Bool(false),
Suspend: pulumi.Int(0),
Variables: pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArray{
&pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
EventOrchestration: pulumi.String("string"),
Sets: pagerduty.EventOrchestrationGlobalSetArray{
&pagerduty.EventOrchestrationGlobalSetArgs{
Id: pulumi.String("string"),
Rules: pagerduty.EventOrchestrationGlobalSetRuleArray{
&pagerduty.EventOrchestrationGlobalSetRuleArgs{
Actions: &pagerduty.EventOrchestrationGlobalSetRuleActionsArgs{
Annotate: pulumi.String("string"),
AutomationAction: &pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
AutoSend: pulumi.Bool(false),
Headers: pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArray{
&pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Parameters: pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArray{
&pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
DropEvent: pulumi.Bool(false),
EscalationPolicy: pulumi.String("string"),
EventAction: pulumi.String("string"),
Extractions: pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArray{
&pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArgs{
Target: pulumi.String("string"),
Regex: pulumi.String("string"),
Source: pulumi.String("string"),
Template: pulumi.String("string"),
},
},
IncidentCustomFieldUpdates: pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArray{
&pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs{
Id: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Priority: pulumi.String("string"),
RouteTo: pulumi.String("string"),
Severity: pulumi.String("string"),
Suppress: pulumi.Bool(false),
Suspend: pulumi.Int(0),
Variables: pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArray{
&pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Conditions: pagerduty.EventOrchestrationGlobalSetRuleConditionArray{
&pagerduty.EventOrchestrationGlobalSetRuleConditionArgs{
Expression: pulumi.String("string"),
},
},
Disabled: pulumi.Bool(false),
Id: pulumi.String("string"),
Label: pulumi.String("string"),
},
},
},
},
})
var eventOrchestrationGlobalResource = new EventOrchestrationGlobal("eventOrchestrationGlobalResource", EventOrchestrationGlobalArgs.builder()
.catchAll(EventOrchestrationGlobalCatchAllArgs.builder()
.actions(EventOrchestrationGlobalCatchAllActionsArgs.builder()
.annotate("string")
.automationAction(EventOrchestrationGlobalCatchAllActionsAutomationActionArgs.builder()
.name("string")
.url("string")
.autoSend(false)
.headers(EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs.builder()
.key("string")
.value("string")
.build())
.parameters(EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs.builder()
.key("string")
.value("string")
.build())
.build())
.dropEvent(false)
.escalationPolicy("string")
.eventAction("string")
.extractions(EventOrchestrationGlobalCatchAllActionsExtractionArgs.builder()
.target("string")
.regex("string")
.source("string")
.template("string")
.build())
.incidentCustomFieldUpdates(EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs.builder()
.id("string")
.value("string")
.build())
.priority("string")
.routeTo("string")
.severity("string")
.suppress(false)
.suspend(0)
.variables(EventOrchestrationGlobalCatchAllActionsVariableArgs.builder()
.name("string")
.path("string")
.type("string")
.value("string")
.build())
.build())
.build())
.eventOrchestration("string")
.sets(EventOrchestrationGlobalSetArgs.builder()
.id("string")
.rules(EventOrchestrationGlobalSetRuleArgs.builder()
.actions(EventOrchestrationGlobalSetRuleActionsArgs.builder()
.annotate("string")
.automationAction(EventOrchestrationGlobalSetRuleActionsAutomationActionArgs.builder()
.name("string")
.url("string")
.autoSend(false)
.headers(EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs.builder()
.key("string")
.value("string")
.build())
.parameters(EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs.builder()
.key("string")
.value("string")
.build())
.build())
.dropEvent(false)
.escalationPolicy("string")
.eventAction("string")
.extractions(EventOrchestrationGlobalSetRuleActionsExtractionArgs.builder()
.target("string")
.regex("string")
.source("string")
.template("string")
.build())
.incidentCustomFieldUpdates(EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs.builder()
.id("string")
.value("string")
.build())
.priority("string")
.routeTo("string")
.severity("string")
.suppress(false)
.suspend(0)
.variables(EventOrchestrationGlobalSetRuleActionsVariableArgs.builder()
.name("string")
.path("string")
.type("string")
.value("string")
.build())
.build())
.conditions(EventOrchestrationGlobalSetRuleConditionArgs.builder()
.expression("string")
.build())
.disabled(false)
.id("string")
.label("string")
.build())
.build())
.build());
event_orchestration_global_resource = pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource",
catch_all=pagerduty.EventOrchestrationGlobalCatchAllArgs(
actions=pagerduty.EventOrchestrationGlobalCatchAllActionsArgs(
annotate="string",
automation_action=pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionArgs(
name="string",
url="string",
auto_send=False,
headers=[pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs(
key="string",
value="string",
)],
parameters=[pagerduty.EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs(
key="string",
value="string",
)],
),
drop_event=False,
escalation_policy="string",
event_action="string",
extractions=[pagerduty.EventOrchestrationGlobalCatchAllActionsExtractionArgs(
target="string",
regex="string",
source="string",
template="string",
)],
incident_custom_field_updates=[pagerduty.EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs(
id="string",
value="string",
)],
priority="string",
route_to="string",
severity="string",
suppress=False,
suspend=0,
variables=[pagerduty.EventOrchestrationGlobalCatchAllActionsVariableArgs(
name="string",
path="string",
type="string",
value="string",
)],
),
),
event_orchestration="string",
sets=[pagerduty.EventOrchestrationGlobalSetArgs(
id="string",
rules=[pagerduty.EventOrchestrationGlobalSetRuleArgs(
actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
annotate="string",
automation_action=pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs(
name="string",
url="string",
auto_send=False,
headers=[pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs(
key="string",
value="string",
)],
parameters=[pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs(
key="string",
value="string",
)],
),
drop_event=False,
escalation_policy="string",
event_action="string",
extractions=[pagerduty.EventOrchestrationGlobalSetRuleActionsExtractionArgs(
target="string",
regex="string",
source="string",
template="string",
)],
incident_custom_field_updates=[pagerduty.EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs(
id="string",
value="string",
)],
priority="string",
route_to="string",
severity="string",
suppress=False,
suspend=0,
variables=[pagerduty.EventOrchestrationGlobalSetRuleActionsVariableArgs(
name="string",
path="string",
type="string",
value="string",
)],
),
conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
expression="string",
)],
disabled=False,
id="string",
label="string",
)],
)])
const eventOrchestrationGlobalResource = new pagerduty.EventOrchestrationGlobal("eventOrchestrationGlobalResource", {
catchAll: {
actions: {
annotate: "string",
automationAction: {
name: "string",
url: "string",
autoSend: false,
headers: [{
key: "string",
value: "string",
}],
parameters: [{
key: "string",
value: "string",
}],
},
dropEvent: false,
escalationPolicy: "string",
eventAction: "string",
extractions: [{
target: "string",
regex: "string",
source: "string",
template: "string",
}],
incidentCustomFieldUpdates: [{
id: "string",
value: "string",
}],
priority: "string",
routeTo: "string",
severity: "string",
suppress: false,
suspend: 0,
variables: [{
name: "string",
path: "string",
type: "string",
value: "string",
}],
},
},
eventOrchestration: "string",
sets: [{
id: "string",
rules: [{
actions: {
annotate: "string",
automationAction: {
name: "string",
url: "string",
autoSend: false,
headers: [{
key: "string",
value: "string",
}],
parameters: [{
key: "string",
value: "string",
}],
},
dropEvent: false,
escalationPolicy: "string",
eventAction: "string",
extractions: [{
target: "string",
regex: "string",
source: "string",
template: "string",
}],
incidentCustomFieldUpdates: [{
id: "string",
value: "string",
}],
priority: "string",
routeTo: "string",
severity: "string",
suppress: false,
suspend: 0,
variables: [{
name: "string",
path: "string",
type: "string",
value: "string",
}],
},
conditions: [{
expression: "string",
}],
disabled: false,
id: "string",
label: "string",
}],
}],
});
type: pagerduty:EventOrchestrationGlobal
properties:
catchAll:
actions:
annotate: string
automationAction:
autoSend: false
headers:
- key: string
value: string
name: string
parameters:
- key: string
value: string
url: string
dropEvent: false
escalationPolicy: string
eventAction: string
extractions:
- regex: string
source: string
target: string
template: string
incidentCustomFieldUpdates:
- id: string
value: string
priority: string
routeTo: string
severity: string
suppress: false
suspend: 0
variables:
- name: string
path: string
type: string
value: string
eventOrchestration: string
sets:
- id: string
rules:
- actions:
annotate: string
automationAction:
autoSend: false
headers:
- key: string
value: string
name: string
parameters:
- key: string
value: string
url: string
dropEvent: false
escalationPolicy: string
eventAction: string
extractions:
- regex: string
source: string
target: string
template: string
incidentCustomFieldUpdates:
- id: string
value: string
priority: string
routeTo: string
severity: string
suppress: false
suspend: 0
variables:
- name: string
path: string
type: string
value: string
conditions:
- expression: string
disabled: false
id: string
label: string
EventOrchestrationGlobal Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EventOrchestrationGlobal resource accepts the following input properties:
- Catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - Event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- Sets
List<Event
Orchestration Global Set> - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- Catch
All EventOrchestration Global Catch All Args - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - Event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- Sets
[]Event
Orchestration Global Set Args - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration String - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
List<Event
Orchestration Global Set> - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
Event
Orchestration Global Set[] - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch_
all EventOrchestration Global Catch All Args - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event_
orchestration str - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
Sequence[Event
Orchestration Global Set Args] - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All Property Map - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration String - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets List<Property Map>
- A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventOrchestrationGlobal resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EventOrchestrationGlobal Resource
Get an existing EventOrchestrationGlobal resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EventOrchestrationGlobalState, opts?: CustomResourceOptions): EventOrchestrationGlobal
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
catch_all: Optional[EventOrchestrationGlobalCatchAllArgs] = None,
event_orchestration: Optional[str] = None,
sets: Optional[Sequence[EventOrchestrationGlobalSetArgs]] = None) -> EventOrchestrationGlobal
func GetEventOrchestrationGlobal(ctx *Context, name string, id IDInput, state *EventOrchestrationGlobalState, opts ...ResourceOption) (*EventOrchestrationGlobal, error)
public static EventOrchestrationGlobal Get(string name, Input<string> id, EventOrchestrationGlobalState? state, CustomResourceOptions? opts = null)
public static EventOrchestrationGlobal get(String name, Output<String> id, EventOrchestrationGlobalState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - Event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- Sets
List<Event
Orchestration Global Set> - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- Catch
All EventOrchestration Global Catch All Args - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - Event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- Sets
[]Event
Orchestration Global Set Args - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration String - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
List<Event
Orchestration Global Set> - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All EventOrchestration Global Catch All - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration string - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
Event
Orchestration Global Set[] - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch_
all EventOrchestration Global Catch All Args - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event_
orchestration str - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets
Sequence[Event
Orchestration Global Set Args] - A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
- catch
All Property Map - the
catch_all
actions will be applied if an Event reaches the end of any set without matching any rules in that set. - event
Orchestration String - ID of the Event Orchestration to which this Global Orchestration belongs to.
- sets List<Property Map>
- A Global Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph.
Supporting Types
EventOrchestrationGlobalCatchAll, EventOrchestrationGlobalCatchAllArgs
- Actions
Event
Orchestration Global Catch All Actions - These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
- Actions
Event
Orchestration Global Catch All Actions - These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
- actions
Event
Orchestration Global Catch All Actions - These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
- actions
Event
Orchestration Global Catch All Actions - These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
- actions
Event
Orchestration Global Catch All Actions - These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
- actions Property Map
- These are the actions that will be taken to change the resulting alert and incident.
catch_all
supports all actions described above forrule
exceptroute_to
action.
EventOrchestrationGlobalCatchAllActions, EventOrchestrationGlobalCatchAllActionsArgs
- Annotate string
- Add this text as a note on the resulting incident.
- Automation
Action EventOrchestration Global Catch All Actions Automation Action - Create a Webhook associated with the resulting incident.
- Drop
Event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- Escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
List<Event
Orchestration Global Catch All Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- Incident
Custom List<EventField Updates Orchestration Global Catch All Actions Incident Custom Field Update> - Assign a custom field to the resulting incident.
- Priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - Route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- Suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - Variables
List<Event
Orchestration Global Catch All Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- Annotate string
- Add this text as a note on the resulting incident.
- Automation
Action EventOrchestration Global Catch All Actions Automation Action - Create a Webhook associated with the resulting incident.
- Drop
Event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- Escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
[]Event
Orchestration Global Catch All Actions Extraction - Replace any CEF field or Custom Details object field using custom variables.
- Incident
Custom []EventField Updates Orchestration Global Catch All Actions Incident Custom Field Update - Assign a custom field to the resulting incident.
- Priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - Route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- Suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - Variables
[]Event
Orchestration Global Catch All Actions Variable - Populate variables from event payloads and use those variables in other event actions.
- annotate String
- Add this text as a note on the resulting incident.
- automation
Action EventOrchestration Global Catch All Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop
Event Boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy String - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
List<Event
Orchestration Global Catch All Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom List<EventField Updates Orchestration Global Catch All Actions Incident Custom Field Update> - Assign a custom field to the resulting incident.
- priority String
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To String - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend Integer
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
List<Event
Orchestration Global Catch All Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- annotate string
- Add this text as a note on the resulting incident.
- automation
Action EventOrchestration Global Catch All Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop
Event boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Event
Orchestration Global Catch All Actions Extraction[] - Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom EventField Updates Orchestration Global Catch All Actions Incident Custom Field Update[] - Assign a custom field to the resulting incident.
- priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend number
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
Event
Orchestration Global Catch All Actions Variable[] - Populate variables from event payloads and use those variables in other event actions.
- annotate str
- Add this text as a note on the resulting incident.
- automation_
action EventOrchestration Global Catch All Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop_
event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation_
policy str - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event_
action str - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Sequence[Event
Orchestration Global Catch All Actions Extraction] - Replace any CEF field or Custom Details object field using custom variables.
- incident_
custom_ Sequence[Eventfield_ updates Orchestration Global Catch All Actions Incident Custom Field Update] - Assign a custom field to the resulting incident.
- priority str
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route_
to str - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity str
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
Sequence[Event
Orchestration Global Catch All Actions Variable] - Populate variables from event payloads and use those variables in other event actions.
- annotate String
- Add this text as a note on the resulting incident.
- automation
Action Property Map - Create a Webhook associated with the resulting incident.
- drop
Event Boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy String - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions List<Property Map>
- Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom List<Property Map>Field Updates - Assign a custom field to the resulting incident.
- priority String
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To String - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend Number
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables List<Property Map>
- Populate variables from event payloads and use those variables in other event actions.
EventOrchestrationGlobalCatchAllActionsAutomationAction, EventOrchestrationGlobalCatchAllActionsAutomationActionArgs
- Name string
- Name of this Webhook.
- Url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- Auto
Send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- Headers
List<Event
Orchestration Global Catch All Actions Automation Action Header> - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- Parameters
List<Event
Orchestration Global Catch All Actions Automation Action Parameter> - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- Name string
- Name of this Webhook.
- Url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- Auto
Send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- Headers
[]Event
Orchestration Global Catch All Actions Automation Action Header - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- Parameters
[]Event
Orchestration Global Catch All Actions Automation Action Parameter - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name String
- Name of this Webhook.
- url String
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send Boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
List<Event
Orchestration Global Catch All Actions Automation Action Header> - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
List<Event
Orchestration Global Catch All Actions Automation Action Parameter> - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name string
- Name of this Webhook.
- url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
Event
Orchestration Global Catch All Actions Automation Action Header[] - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
Event
Orchestration Global Catch All Actions Automation Action Parameter[] - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name str
- Name of this Webhook.
- url str
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto_
send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
Sequence[Event
Orchestration Global Catch All Actions Automation Action Header] - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
Sequence[Event
Orchestration Global Catch All Actions Automation Action Parameter] - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name String
- Name of this Webhook.
- url String
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send Boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers List<Property Map>
- Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters List<Property Map>
- Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
EventOrchestrationGlobalCatchAllActionsAutomationActionHeader, EventOrchestrationGlobalCatchAllActionsAutomationActionHeaderArgs
EventOrchestrationGlobalCatchAllActionsAutomationActionParameter, EventOrchestrationGlobalCatchAllActionsAutomationActionParameterArgs
EventOrchestrationGlobalCatchAllActionsExtraction, EventOrchestrationGlobalCatchAllActionsExtractionArgs
- Target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - Regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - Source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - Template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- Target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - Regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - Source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - Template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target String
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex String
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source String
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template String
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target str
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex str
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source str
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template str
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target String
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex String
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source String
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template String
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdate, EventOrchestrationGlobalCatchAllActionsIncidentCustomFieldUpdateArgs
EventOrchestrationGlobalCatchAllActionsVariable, EventOrchestrationGlobalCatchAllActionsVariableArgs
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - Type string
- Only
regex
is supported - Value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - Type string
- Only
regex
is supported - Value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name String
- The name of the variable
- path String
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name string
- The name of the variable
- path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type string
- Only
regex
is supported - value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name str
- The name of the variable
- path str
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type str
- Only
regex
is supported - value str
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name String
- The name of the variable
- path String
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
EventOrchestrationGlobalSet, EventOrchestrationGlobalSetArgs
- Id string
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - Rules
List<Event
Orchestration Global Set Rule>
- Id string
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - Rules
[]Event
Orchestration Global Set Rule
- id String
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - rules
List<Event
Orchestration Global Set Rule>
- id string
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - rules
Event
Orchestration Global Set Rule[]
- id str
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - rules
Sequence[Event
Orchestration Global Set Rule]
- id String
- The ID of this set of rules. Rules in other sets can route events into this set using the rule's
route_to
property. - rules List<Property Map>
EventOrchestrationGlobalSetRule, EventOrchestrationGlobalSetRuleArgs
- Actions
Event
Orchestration Global Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- Conditions
List<Event
Orchestration Global Set Rule Condition> - Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - Disabled bool
- Indicates whether the rule is disabled and would therefore not be evaluated.
- Id string
- The ID of the rule within the set.
- Label string
- A description of this rule's purpose.
- Actions
Event
Orchestration Global Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- Conditions
[]Event
Orchestration Global Set Rule Condition - Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - Disabled bool
- Indicates whether the rule is disabled and would therefore not be evaluated.
- Id string
- The ID of the rule within the set.
- Label string
- A description of this rule's purpose.
- actions
Event
Orchestration Global Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- conditions
List<Event
Orchestration Global Set Rule Condition> - Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - disabled Boolean
- Indicates whether the rule is disabled and would therefore not be evaluated.
- id String
- The ID of the rule within the set.
- label String
- A description of this rule's purpose.
- actions
Event
Orchestration Global Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- conditions
Event
Orchestration Global Set Rule Condition[] - Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - disabled boolean
- Indicates whether the rule is disabled and would therefore not be evaluated.
- id string
- The ID of the rule within the set.
- label string
- A description of this rule's purpose.
- actions
Event
Orchestration Global Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- conditions
Sequence[Event
Orchestration Global Set Rule Condition] - Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - disabled bool
- Indicates whether the rule is disabled and would therefore not be evaluated.
- id str
- The ID of the rule within the set.
- label str
- A description of this rule's purpose.
- actions Property Map
- Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- conditions List<Property Map>
- Each of these conditions is evaluated to check if an event matches this rule. The rule is considered a match if any of these conditions match. If none are provided, the event will
always
match against the rule. - disabled Boolean
- Indicates whether the rule is disabled and would therefore not be evaluated.
- id String
- The ID of the rule within the set.
- label String
- A description of this rule's purpose.
EventOrchestrationGlobalSetRuleActions, EventOrchestrationGlobalSetRuleActionsArgs
- Annotate string
- Add this text as a note on the resulting incident.
- Automation
Action EventOrchestration Global Set Rule Actions Automation Action - Create a Webhook associated with the resulting incident.
- Drop
Event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- Escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
List<Event
Orchestration Global Set Rule Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- Incident
Custom List<EventField Updates Orchestration Global Set Rule Actions Incident Custom Field Update> - Assign a custom field to the resulting incident.
- Priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - Route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- Suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - Variables
List<Event
Orchestration Global Set Rule Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- Annotate string
- Add this text as a note on the resulting incident.
- Automation
Action EventOrchestration Global Set Rule Actions Automation Action - Create a Webhook associated with the resulting incident.
- Drop
Event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- Escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
[]Event
Orchestration Global Set Rule Actions Extraction - Replace any CEF field or Custom Details object field using custom variables.
- Incident
Custom []EventField Updates Orchestration Global Set Rule Actions Incident Custom Field Update - Assign a custom field to the resulting incident.
- Priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - Route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- Suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - Variables
[]Event
Orchestration Global Set Rule Actions Variable - Populate variables from event payloads and use those variables in other event actions.
- annotate String
- Add this text as a note on the resulting incident.
- automation
Action EventOrchestration Global Set Rule Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop
Event Boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy String - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
List<Event
Orchestration Global Set Rule Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom List<EventField Updates Orchestration Global Set Rule Actions Incident Custom Field Update> - Assign a custom field to the resulting incident.
- priority String
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To String - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend Integer
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
List<Event
Orchestration Global Set Rule Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- annotate string
- Add this text as a note on the resulting incident.
- automation
Action EventOrchestration Global Set Rule Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop
Event boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy string - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Event
Orchestration Global Set Rule Actions Extraction[] - Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom EventField Updates Orchestration Global Set Rule Actions Incident Custom Field Update[] - Assign a custom field to the resulting incident.
- priority string
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To string - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend number
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
Event
Orchestration Global Set Rule Actions Variable[] - Populate variables from event payloads and use those variables in other event actions.
- annotate str
- Add this text as a note on the resulting incident.
- automation_
action EventOrchestration Global Set Rule Actions Automation Action - Create a Webhook associated with the resulting incident.
- drop_
event bool - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation_
policy str - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event_
action str - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Sequence[Event
Orchestration Global Set Rule Actions Extraction] - Replace any CEF field or Custom Details object field using custom variables.
- incident_
custom_ Sequence[Eventfield_ updates Orchestration Global Set Rule Actions Incident Custom Field Update] - Assign a custom field to the resulting incident.
- priority str
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route_
to str - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity str
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress bool
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend int
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables
Sequence[Event
Orchestration Global Set Rule Actions Variable] - Populate variables from event payloads and use those variables in other event actions.
- annotate String
- Add this text as a note on the resulting incident.
- automation
Action Property Map - Create a Webhook associated with the resulting incident.
- drop
Event Boolean - When true, this event will be dropped. Dropped events will not trigger or resolve an alert or an incident. Dropped events will not be evaluated against router rules.
- escalation
Policy String - The ID of the Escalation Policy you want to assign incidents to. Event rules with this action will override the Escalation Policy already set on a Service's settings, with what is configured by this action.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions List<Property Map>
- Replace any CEF field or Custom Details object field using custom variables.
- incident
Custom List<Property Map>Field Updates - Assign a custom field to the resulting incident.
- priority String
- The ID of the priority you want to set on resulting incident. Consider using the
pagerduty.getPriority
data source. - route
To String - The ID of a Set from this Global Orchestration whose rules you also want to use with events that match this rule.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- Set whether the resulting alert is suppressed. Suppressed alerts will not trigger an incident.
- suspend Number
- The number of seconds to suspend the resulting alert before triggering. This effectively pauses incident notifications. If a
resolve
event arrives before the alert triggers then PagerDuty won't create an incident for this alert. - variables List<Property Map>
- Populate variables from event payloads and use those variables in other event actions.
EventOrchestrationGlobalSetRuleActionsAutomationAction, EventOrchestrationGlobalSetRuleActionsAutomationActionArgs
- Name string
- Name of this Webhook.
- Url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- Auto
Send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- Headers
List<Event
Orchestration Global Set Rule Actions Automation Action Header> - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- Parameters
List<Event
Orchestration Global Set Rule Actions Automation Action Parameter> - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- Name string
- Name of this Webhook.
- Url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- Auto
Send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- Headers
[]Event
Orchestration Global Set Rule Actions Automation Action Header - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- Parameters
[]Event
Orchestration Global Set Rule Actions Automation Action Parameter - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name String
- Name of this Webhook.
- url String
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send Boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
List<Event
Orchestration Global Set Rule Actions Automation Action Header> - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
List<Event
Orchestration Global Set Rule Actions Automation Action Parameter> - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name string
- Name of this Webhook.
- url string
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
Event
Orchestration Global Set Rule Actions Automation Action Header[] - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
Event
Orchestration Global Set Rule Actions Automation Action Parameter[] - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name str
- Name of this Webhook.
- url str
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto_
send bool - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers
Sequence[Event
Orchestration Global Set Rule Actions Automation Action Header] - Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters
Sequence[Event
Orchestration Global Set Rule Actions Automation Action Parameter] - Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
- name String
- Name of this Webhook.
- url String
- The API endpoint where PagerDuty's servers will send the webhook request.
- auto
Send Boolean - When true, PagerDuty's servers will automatically send this webhook request as soon as the resulting incident is created. When false, your incident responder will be able to manually trigger the Webhook via the PagerDuty website and mobile app.
- headers List<Property Map>
- Specify custom key/value pairs that'll be sent with the webhook request as request headers.
- parameters List<Property Map>
- Specify custom key/value pairs that'll be included in the webhook request's JSON payload.
EventOrchestrationGlobalSetRuleActionsAutomationActionHeader, EventOrchestrationGlobalSetRuleActionsAutomationActionHeaderArgs
EventOrchestrationGlobalSetRuleActionsAutomationActionParameter, EventOrchestrationGlobalSetRuleActionsAutomationActionParameterArgs
EventOrchestrationGlobalSetRuleActionsExtraction, EventOrchestrationGlobalSetRuleActionsExtractionArgs
- Target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - Regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - Source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - Template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- Target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - Regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - Source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - Template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target String
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex String
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source String
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template String
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target string
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex string
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source string
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template string
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target str
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex str
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source str
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template str
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
- target String
- The PagerDuty Common Event Format PD-CEF field that will be set with the value from the
template
or based onregex
andsource
fields. - regex String
- A RE2 regular expression that will be matched against field specified via the
source
argument. If the regex contains one or more capture groups, their values will be extracted and appended together. If it contains no capture groups, the whole match is used. This field can be ignored fortemplate
based extractions. - source String
- The path to the event field where the
regex
will be applied to extract a value. You can use any valid PCL path likeevent.summary
and you can reference previously-defined variables using a path likevariables.hostname
. This field can be ignored fortemplate
based extractions. - template String
- A string that will be used to populate the
target
field. You can reference variables or event data within your template using double curly braces. For example:- Use variables named
ip
andsubnet
with a template like:{{variables.ip}}/{{variables.subnet}}
- Combine the event severity & summary with template like:
{{event.severity}}:{{event.summary}}
- Use variables named
EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdate, EventOrchestrationGlobalSetRuleActionsIncidentCustomFieldUpdateArgs
EventOrchestrationGlobalSetRuleActionsVariable, EventOrchestrationGlobalSetRuleActionsVariableArgs
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - Type string
- Only
regex
is supported - Value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - Type string
- Only
regex
is supported - Value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name String
- The name of the variable
- path String
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name string
- The name of the variable
- path string
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type string
- Only
regex
is supported - value string
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name str
- The name of the variable
- path str
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type str
- Only
regex
is supported - value str
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
- name String
- The name of the variable
- path String
- Path to a field in an event, in dot-notation. This supports both PagerDuty Common Event Format PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. You can use any valid PCL path. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
EventOrchestrationGlobalSetRuleCondition, EventOrchestrationGlobalSetRuleConditionArgs
- Expression string
- A PCL condition string.
- Expression string
- A PCL condition string.
- expression String
- A PCL condition string.
- expression string
- A PCL condition string.
- expression str
- A PCL condition string.
- expression String
- A PCL condition string.
Import
Global Orchestration can be imported using the id
of the Event Orchestration, e.g.
$ pulumi import pagerduty:index/eventOrchestrationGlobal:EventOrchestrationGlobal global 1b49abe7-26db-4439-a715-c6d883acfb3e
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- PagerDuty pulumi/pulumi-pagerduty
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
pagerduty
Terraform Provider.