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 priority data source to configure priority action for a rule. If the Event matches the third rule in set “step-two” the resulting incident will have the Priority P1.

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("databaseTeam", {});
const eventOrchestration = new pagerduty.EventOrchestration("eventOrchestration", {team: databaseTeam.id});
const p1 = pagerduty.getPriority({
    name: "P1",
});
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 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("databaseTeam")
event_orchestration = pagerduty.EventOrchestration("eventOrchestration", team=database_team.id)
p1 = pagerduty.get_priority(name="P1")
global_ = pagerduty.EventOrchestrationGlobal("global",
    event_orchestration=event_orchestration.id,
    sets=[
        pagerduty.EventOrchestrationGlobalSetArgs(
            id="start",
            rules=[pagerduty.EventOrchestrationGlobalSetRuleArgs(
                label="Always annotate a note to all events",
                actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                    annotate="This incident was created by the Database Team via a Global Orchestration",
                    route_to="step-two",
                ),
            )],
        ),
        pagerduty.EventOrchestrationGlobalSetArgs(
            id="step-two",
            rules=[
                pagerduty.EventOrchestrationGlobalSetRuleArgs(
                    label="Drop events that are marked as no-op",
                    conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
                        expression="event.summary matches 'no-op'",
                    )],
                    actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                        drop_event=True,
                    ),
                ),
                pagerduty.EventOrchestrationGlobalSetRuleArgs(
                    label="If there's something wrong on the replica, then mark the alert as a warning",
                    conditions=[pagerduty.EventOrchestrationGlobalSetRuleConditionArgs(
                        expression="event.custom_details.hostname matches part 'replica'",
                    )],
                    actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                        severity="warning",
                    ),
                ),
                pagerduty.EventOrchestrationGlobalSetRuleArgs(
                    label="Otherwise, set the incident to P1 and run a diagnostic",
                    actions=pagerduty.EventOrchestrationGlobalSetRuleActionsArgs(
                        priority=p1.id,
                        automation_action=pagerduty.EventOrchestrationGlobalSetRuleActionsAutomationActionArgs(
                            name="db-diagnostic",
                            url="https://example.com/run-diagnostic",
                            auto_send=True,
                        ),
                    ),
                ),
            ],
        ),
    ],
    catch_all=pagerduty.EventOrchestrationGlobalCatchAllArgs(
        actions=pagerduty.EventOrchestrationGlobalCatchAllActionsArgs(),
    ))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

return await Deployment.RunAsync(() => 
{
    var databaseTeam = new Pagerduty.Team("databaseTeam");

    var eventOrchestration = new Pagerduty.EventOrchestration("eventOrchestration", new()
    {
        Team = databaseTeam.Id,
    });

    var p1 = Pagerduty.GetPriority.Invoke(new()
    {
        Name = "P1",
    });

    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 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 main

import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v3/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		databaseTeam, err := pagerduty.NewTeam(ctx, "databaseTeam", nil)
		if err != nil {
			return err
		}
		eventOrchestration, err := pagerduty.NewEventOrchestration(ctx, "eventOrchestration", &pagerduty.EventOrchestrationArgs{
			Team: databaseTeam.ID(),
		})
		if err != nil {
			return err
		}
		p1, err := pagerduty.GetPriority(ctx, &pagerduty.GetPriorityArgs{
			Name: "P1",
		}, 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 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
	})
}
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.EventOrchestration;
import com.pulumi.pagerduty.EventOrchestrationArgs;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetPriorityArgs;
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");

        var eventOrchestration = new EventOrchestration("eventOrchestration", EventOrchestrationArgs.builder()        
            .team(databaseTeam.id())
            .build());

        final var p1 = PagerdutyFunctions.getPriority(GetPriorityArgs.builder()
            .name("P1")
            .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 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
  eventOrchestration:
    type: pagerduty:EventOrchestration
    properties:
      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 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

Create EventOrchestrationGlobal Resource

new EventOrchestrationGlobal(name: string, args: EventOrchestrationGlobalArgs, opts?: CustomResourceOptions);
@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)
@overload
def EventOrchestrationGlobal(resource_name: str,
                             args: EventOrchestrationGlobalArgs,
                             opts: Optional[ResourceOptions] = 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.

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.

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:

CatchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

Sets List<EventOrchestrationGlobalSetArgs>

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.

CatchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

Sets []EventOrchestrationGlobalSetArgs

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.

catchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

ID of the Event Orchestration to which this Global Orchestration belongs to.

sets List<EventOrchestrationGlobalSetArgs>

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.

catchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

sets EventOrchestrationGlobalSetArgs[]

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 EventOrchestrationGlobalCatchAllArgs

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[EventOrchestrationGlobalSetArgs]

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.

catchAll 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.

eventOrchestration 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.
The following state arguments are supported:
CatchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

Sets List<EventOrchestrationGlobalSetArgs>

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.

CatchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

EventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

Sets []EventOrchestrationGlobalSetArgs

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.

catchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration String

ID of the Event Orchestration to which this Global Orchestration belongs to.

sets List<EventOrchestrationGlobalSetArgs>

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.

catchAll EventOrchestrationGlobalCatchAllArgs

the catch_all actions will be applied if an Event reaches the end of any set without matching any rules in that set.

eventOrchestration string

ID of the Event Orchestration to which this Global Orchestration belongs to.

sets EventOrchestrationGlobalSetArgs[]

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 EventOrchestrationGlobalCatchAllArgs

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[EventOrchestrationGlobalSetArgs]

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.

catchAll 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.

eventOrchestration 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

Actions EventOrchestrationGlobalCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

Actions EventOrchestrationGlobalCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationGlobalCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationGlobalCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_to action.

actions EventOrchestrationGlobalCatchAllActions

These are the actions that will be taken to change the resulting alert and incident. catch_all supports all actions described above for rule except route_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 for rule except route_to action.

EventOrchestrationGlobalCatchAllActions

Annotate string

Add this text as a note on the resulting incident.

AutomationAction EventOrchestrationGlobalCatchAllActionsAutomationAction

Create a Webhook associated with the resulting incident.

DropEvent 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.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions List<EventOrchestrationGlobalCatchAllActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

Priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

RouteTo 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<EventOrchestrationGlobalCatchAllActionsVariable>

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.

AutomationAction EventOrchestrationGlobalCatchAllActionsAutomationAction

Create a Webhook associated with the resulting incident.

DropEvent 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.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions []EventOrchestrationGlobalCatchAllActionsExtraction

Replace any CEF field or Custom Details object field using custom variables.

Priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

RouteTo 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 []EventOrchestrationGlobalCatchAllActionsVariable

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.

automationAction EventOrchestrationGlobalCatchAllActionsAutomationAction

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<EventOrchestrationGlobalCatchAllActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

priority String

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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<EventOrchestrationGlobalCatchAllActionsVariable>

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.

automationAction EventOrchestrationGlobalCatchAllActionsAutomationAction

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions EventOrchestrationGlobalCatchAllActionsExtraction[]

Replace any CEF field or Custom Details object field using custom variables.

priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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 EventOrchestrationGlobalCatchAllActionsVariable[]

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 EventOrchestrationGlobalCatchAllActionsAutomationAction

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.

event_action str

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions Sequence[EventOrchestrationGlobalCatchAllActionsExtraction]

Replace any CEF field or Custom Details object field using custom variables.

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[EventOrchestrationGlobalCatchAllActionsVariable]

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.

automationAction Property Map

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction 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.

priority String

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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

Name string

Name of this Webhook.

Url string

The API endpoint where PagerDuty's servers will send the webhook request.

AutoSend 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<EventOrchestrationGlobalCatchAllActionsAutomationActionHeader>

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

Parameters List<EventOrchestrationGlobalCatchAllActionsAutomationActionParameter>

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.

AutoSend 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 []EventOrchestrationGlobalCatchAllActionsAutomationActionHeader

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

Parameters []EventOrchestrationGlobalCatchAllActionsAutomationActionParameter

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.

autoSend 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<EventOrchestrationGlobalCatchAllActionsAutomationActionHeader>

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters List<EventOrchestrationGlobalCatchAllActionsAutomationActionParameter>

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.

autoSend 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 EventOrchestrationGlobalCatchAllActionsAutomationActionHeader[]

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters EventOrchestrationGlobalCatchAllActionsAutomationActionParameter[]

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[EventOrchestrationGlobalCatchAllActionsAutomationActionHeader]

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters Sequence[EventOrchestrationGlobalCatchAllActionsAutomationActionParameter]

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.

autoSend 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

Key string

Name to identify the header

Value string

Value of this header

Key string

Name to identify the header

Value string

Value of this header

key String

Name to identify the header

value String

Value of this header

key string

Name to identify the header

value string

Value of this header

key str

Name to identify the header

value str

Value of this header

key String

Name to identify the header

value String

Value of this header

EventOrchestrationGlobalCatchAllActionsAutomationActionParameter

Key string

Name to identify the header

Value string

Value of this header

Key string

Name to identify the header

Value string

Value of this header

key String

Name to identify the header

value String

Value of this header

key string

Name to identify the header

value string

Value of this header

key str

Name to identify the header

value str

Value of this header

key String

Name to identify the header

value String

Value of this header

EventOrchestrationGlobalCatchAllActionsExtraction

Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target str

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

EventOrchestrationGlobalCatchAllActionsVariable

Name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

Type string

Only regex is supported

Value string

Value of this header

Name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

Type string

Only regex is supported

Value string

Value of this header

name String

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type String

Only regex is supported

value String

Value of this header

name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type string

Only regex is supported

value string

Value of this header

name str

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type str

Only regex is supported

value str

Value of this header

name String

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type String

Only regex is supported

value String

Value of this header

EventOrchestrationGlobalSet

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<EventOrchestrationGlobalSetRule>
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 []EventOrchestrationGlobalSetRule
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<EventOrchestrationGlobalSetRule>
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 EventOrchestrationGlobalSetRule[]
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[EventOrchestrationGlobalSetRule]
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

Actions EventOrchestrationGlobalSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

Conditions List<EventOrchestrationGlobalSetRuleCondition>

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Label string

A description of this rule's purpose.

Actions EventOrchestrationGlobalSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

Conditions []EventOrchestrationGlobalSetRuleCondition

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

Label string

A description of this rule's purpose.

actions EventOrchestrationGlobalSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions List<EventOrchestrationGlobalSetRuleCondition>

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label String

A description of this rule's purpose.

actions EventOrchestrationGlobalSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions EventOrchestrationGlobalSetRuleCondition[]

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label string

A description of this rule's purpose.

actions EventOrchestrationGlobalSetRuleActions

Actions that will be taken to change the resulting alert and incident, when an event matches this rule.

conditions Sequence[EventOrchestrationGlobalSetRuleCondition]

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

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 this set of rules. Rules in other sets can route events into this set using the rule's route_to property.

label String

A description of this rule's purpose.

EventOrchestrationGlobalSetRuleActions

Annotate string

Add this text as a note on the resulting incident.

AutomationAction EventOrchestrationGlobalSetRuleActionsAutomationAction

Create a Webhook associated with the resulting incident.

DropEvent 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.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions List<EventOrchestrationGlobalSetRuleActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

Priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

RouteTo 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<EventOrchestrationGlobalSetRuleActionsVariable>

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.

AutomationAction EventOrchestrationGlobalSetRuleActionsAutomationAction

Create a Webhook associated with the resulting incident.

DropEvent 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.

EventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

Extractions []EventOrchestrationGlobalSetRuleActionsExtraction

Replace any CEF field or Custom Details object field using custom variables.

Priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

RouteTo 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 []EventOrchestrationGlobalSetRuleActionsVariable

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.

automationAction EventOrchestrationGlobalSetRuleActionsAutomationAction

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction String

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions List<EventOrchestrationGlobalSetRuleActionsExtraction>

Replace any CEF field or Custom Details object field using custom variables.

priority String

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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<EventOrchestrationGlobalSetRuleActionsVariable>

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.

automationAction EventOrchestrationGlobalSetRuleActionsAutomationAction

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction string

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions EventOrchestrationGlobalSetRuleActionsExtraction[]

Replace any CEF field or Custom Details object field using custom variables.

priority string

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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 EventOrchestrationGlobalSetRuleActionsVariable[]

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 EventOrchestrationGlobalSetRuleActionsAutomationAction

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.

event_action str

sets whether the resulting alert status is trigger or resolve. Allowed values are: trigger, resolve

extractions Sequence[EventOrchestrationGlobalSetRuleActionsExtraction]

Replace any CEF field or Custom Details object field using custom variables.

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[EventOrchestrationGlobalSetRuleActionsVariable]

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.

automationAction Property Map

Create a Webhook associated with the resulting incident.

dropEvent 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.

eventAction 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.

priority String

The ID of the priority you want to set on resulting incident. Consider using the pagerduty.getPriority data source.

routeTo 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

Name string

Name of this Webhook.

Url string

The API endpoint where PagerDuty's servers will send the webhook request.

AutoSend 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<EventOrchestrationGlobalSetRuleActionsAutomationActionHeader>

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

Parameters List<EventOrchestrationGlobalSetRuleActionsAutomationActionParameter>

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.

AutoSend 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 []EventOrchestrationGlobalSetRuleActionsAutomationActionHeader

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

Parameters []EventOrchestrationGlobalSetRuleActionsAutomationActionParameter

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.

autoSend 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<EventOrchestrationGlobalSetRuleActionsAutomationActionHeader>

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters List<EventOrchestrationGlobalSetRuleActionsAutomationActionParameter>

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.

autoSend 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 EventOrchestrationGlobalSetRuleActionsAutomationActionHeader[]

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters EventOrchestrationGlobalSetRuleActionsAutomationActionParameter[]

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[EventOrchestrationGlobalSetRuleActionsAutomationActionHeader]

Specify custom key/value pairs that'll be sent with the webhook request as request headers.

parameters Sequence[EventOrchestrationGlobalSetRuleActionsAutomationActionParameter]

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.

autoSend 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

Key string

Name to identify the header

Value string

Value of this header

Key string

Name to identify the header

Value string

Value of this header

key String

Name to identify the header

value String

Value of this header

key string

Name to identify the header

value string

Value of this header

key str

Name to identify the header

value str

Value of this header

key String

Name to identify the header

value String

Value of this header

EventOrchestrationGlobalSetRuleActionsAutomationActionParameter

Key string

Name to identify the header

Value string

Value of this header

Key string

Name to identify the header

Value string

Value of this header

key String

Name to identify the header

value String

Value of this header

key string

Name to identify the header

value string

Value of this header

key str

Name to identify the header

value str

Value of this header

key String

Name to identify the header

value String

Value of this header

EventOrchestrationGlobalSetRuleActionsExtraction

Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
Target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target string

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target str

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}
target String

The PagerDuty Common Event Format PD-CEF field that will be set with the value from the template or based on regex and source 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 for template 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 like event.summary and you can reference previously-defined variables using a path like variables.hostname. This field can be ignored for template 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 and subnet with a template like: {{variables.ip}}/{{variables.subnet}}
  • Combine the event severity & summary with template like: {{event.severity}}:{{event.summary}}

EventOrchestrationGlobalSetRuleActionsVariable

Name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

Type string

Only regex is supported

Value string

Value of this header

Name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

Type string

Only regex is supported

Value string

Value of this header

name String

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type String

Only regex is supported

value String

Value of this header

name string

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type string

Only regex is supported

value string

Value of this header

name str

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type str

Only regex is supported

value str

Value of this header

name String

Name of this Webhook.

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 the summary CEF field. Use raw_event.fieldname to read from the original event fieldname data. You can use any valid PCL path.

type String

Only regex is supported

value String

Value of this header

EventOrchestrationGlobalSetRuleCondition

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 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

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes

This Pulumi package is based on the pagerduty Terraform Provider.