pagerduty.EventOrchestrationUnrouted
Explore with Pulumi AI
An Unrouted Orchestration allows users to create a set of Event Rules that will be evaluated against all events that don’t match any rules in the Orchestration’s Router.
The Unrouted 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 Unrouted Orchestration for further processing.
Example of configuring Unrouted Rules for an Orchestration
In this example of an Unrouted Orchestration, the rule matches only if the condition is matched.
Alerts created for events that do not match the rule will have severity level set to info
as defined in catch_all
block.
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const unrouted = new pagerduty.EventOrchestrationUnrouted("unrouted", {
eventOrchestration: myMonitor.id,
sets: [{
id: "start",
rules: [{
label: "Update the summary of un-matched Critical alerts so they're easier to spot",
conditions: [{
expression: "event.severity matches 'critical'",
}],
actions: {
severity: "critical",
extractions: [{
target: "event.summary",
template: "[Critical Unrouted] {{event.summary}}",
}],
},
}],
}],
catchAll: {
actions: {
severity: "info",
},
},
});
import pulumi
import pulumi_pagerduty as pagerduty
unrouted = pagerduty.EventOrchestrationUnrouted("unrouted",
event_orchestration=my_monitor["id"],
sets=[{
"id": "start",
"rules": [{
"label": "Update the summary of un-matched Critical alerts so they're easier to spot",
"conditions": [{
"expression": "event.severity matches 'critical'",
}],
"actions": {
"severity": "critical",
"extractions": [{
"target": "event.summary",
"template": "[Critical Unrouted] {{event.summary}}",
}],
},
}],
}],
catch_all={
"actions": {
"severity": "info",
},
})
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 {
_, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "unrouted", &pagerduty.EventOrchestrationUnroutedArgs{
EventOrchestration: pulumi.Any(myMonitor.Id),
Sets: pagerduty.EventOrchestrationUnroutedSetArray{
&pagerduty.EventOrchestrationUnroutedSetArgs{
Id: pulumi.String("start"),
Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
Label: pulumi.String("Update the summary of un-matched Critical alerts so they're easier to spot"),
Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
Expression: pulumi.String("event.severity matches 'critical'"),
},
},
Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
Severity: pulumi.String("critical"),
Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
Target: pulumi.String("event.summary"),
Template: pulumi.String("[Critical Unrouted] {{event.summary}}"),
},
},
},
},
},
},
},
CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
Severity: pulumi.String("info"),
},
},
})
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 unrouted = new Pagerduty.EventOrchestrationUnrouted("unrouted", new()
{
EventOrchestration = myMonitor.Id,
Sets = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetArgs
{
Id = "start",
Rules = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleArgs
{
Label = "Update the summary of un-matched Critical alerts so they're easier to spot",
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleConditionArgs
{
Expression = "event.severity matches 'critical'",
},
},
Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsArgs
{
Severity = "critical",
Extractions = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsExtractionArgs
{
Target = "event.summary",
Template = "[Critical Unrouted] {{event.summary}}",
},
},
},
},
},
},
},
CatchAll = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllArgs
{
Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsArgs
{
Severity = "info",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.EventOrchestrationUnrouted;
import com.pulumi.pagerduty.EventOrchestrationUnroutedArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedSetArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllArgs;
import com.pulumi.pagerduty.inputs.EventOrchestrationUnroutedCatchAllActionsArgs;
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 unrouted = new EventOrchestrationUnrouted("unrouted", EventOrchestrationUnroutedArgs.builder()
.eventOrchestration(myMonitor.id())
.sets(EventOrchestrationUnroutedSetArgs.builder()
.id("start")
.rules(EventOrchestrationUnroutedSetRuleArgs.builder()
.label("Update the summary of un-matched Critical alerts so they're easier to spot")
.conditions(EventOrchestrationUnroutedSetRuleConditionArgs.builder()
.expression("event.severity matches 'critical'")
.build())
.actions(EventOrchestrationUnroutedSetRuleActionsArgs.builder()
.severity("critical")
.extractions(EventOrchestrationUnroutedSetRuleActionsExtractionArgs.builder()
.target("event.summary")
.template("[Critical Unrouted] {{event.summary}}")
.build())
.build())
.build())
.build())
.catchAll(EventOrchestrationUnroutedCatchAllArgs.builder()
.actions(EventOrchestrationUnroutedCatchAllActionsArgs.builder()
.severity("info")
.build())
.build())
.build());
}
}
resources:
unrouted:
type: pagerduty:EventOrchestrationUnrouted
properties:
eventOrchestration: ${myMonitor.id}
sets:
- id: start
rules:
- label: Update the summary of un-matched Critical alerts so they're easier to spot
conditions:
- expression: event.severity matches 'critical'
actions:
severity: critical
extractions:
- target: event.summary
template: '[Critical Unrouted] {{event.summary}}'
catchAll:
actions:
severity: info
Create EventOrchestrationUnrouted Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventOrchestrationUnrouted(name: string, args: EventOrchestrationUnroutedArgs, opts?: CustomResourceOptions);
@overload
def EventOrchestrationUnrouted(resource_name: str,
args: EventOrchestrationUnroutedArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventOrchestrationUnrouted(resource_name: str,
opts: Optional[ResourceOptions] = None,
catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
event_orchestration: Optional[str] = None,
sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None)
func NewEventOrchestrationUnrouted(ctx *Context, name string, args EventOrchestrationUnroutedArgs, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
public EventOrchestrationUnrouted(string name, EventOrchestrationUnroutedArgs args, CustomResourceOptions? opts = null)
public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args)
public EventOrchestrationUnrouted(String name, EventOrchestrationUnroutedArgs args, CustomResourceOptions options)
type: pagerduty:EventOrchestrationUnrouted
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 EventOrchestrationUnroutedArgs
- 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 EventOrchestrationUnroutedArgs
- 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 EventOrchestrationUnroutedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventOrchestrationUnroutedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventOrchestrationUnroutedArgs
- 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 eventOrchestrationUnroutedResource = new Pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", new()
{
CatchAll = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllArgs
{
Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsArgs
{
EventAction = "string",
Extractions = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsExtractionArgs
{
Target = "string",
Regex = "string",
Source = "string",
Template = "string",
},
},
Severity = "string",
Suppress = false,
Variables = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedCatchAllActionsVariableArgs
{
Name = "string",
Path = "string",
Type = "string",
Value = "string",
},
},
},
},
EventOrchestration = "string",
Sets = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetArgs
{
Id = "string",
Rules = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleArgs
{
Actions = new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsArgs
{
EventAction = "string",
Extractions = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsExtractionArgs
{
Target = "string",
Regex = "string",
Source = "string",
Template = "string",
},
},
RouteTo = "string",
Severity = "string",
Variables = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleActionsVariableArgs
{
Name = "string",
Path = "string",
Type = "string",
Value = "string",
},
},
},
Conditions = new[]
{
new Pagerduty.Inputs.EventOrchestrationUnroutedSetRuleConditionArgs
{
Expression = "string",
},
},
Disabled = false,
Id = "string",
Label = "string",
},
},
},
},
});
example, err := pagerduty.NewEventOrchestrationUnrouted(ctx, "eventOrchestrationUnroutedResource", &pagerduty.EventOrchestrationUnroutedArgs{
CatchAll: &pagerduty.EventOrchestrationUnroutedCatchAllArgs{
Actions: &pagerduty.EventOrchestrationUnroutedCatchAllActionsArgs{
EventAction: pulumi.String("string"),
Extractions: pagerduty.EventOrchestrationUnroutedCatchAllActionsExtractionArray{
&pagerduty.EventOrchestrationUnroutedCatchAllActionsExtractionArgs{
Target: pulumi.String("string"),
Regex: pulumi.String("string"),
Source: pulumi.String("string"),
Template: pulumi.String("string"),
},
},
Severity: pulumi.String("string"),
Suppress: pulumi.Bool(false),
Variables: pagerduty.EventOrchestrationUnroutedCatchAllActionsVariableArray{
&pagerduty.EventOrchestrationUnroutedCatchAllActionsVariableArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
EventOrchestration: pulumi.String("string"),
Sets: pagerduty.EventOrchestrationUnroutedSetArray{
&pagerduty.EventOrchestrationUnroutedSetArgs{
Id: pulumi.String("string"),
Rules: pagerduty.EventOrchestrationUnroutedSetRuleArray{
&pagerduty.EventOrchestrationUnroutedSetRuleArgs{
Actions: &pagerduty.EventOrchestrationUnroutedSetRuleActionsArgs{
EventAction: pulumi.String("string"),
Extractions: pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArray{
&pagerduty.EventOrchestrationUnroutedSetRuleActionsExtractionArgs{
Target: pulumi.String("string"),
Regex: pulumi.String("string"),
Source: pulumi.String("string"),
Template: pulumi.String("string"),
},
},
RouteTo: pulumi.String("string"),
Severity: pulumi.String("string"),
Variables: pagerduty.EventOrchestrationUnroutedSetRuleActionsVariableArray{
&pagerduty.EventOrchestrationUnroutedSetRuleActionsVariableArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Conditions: pagerduty.EventOrchestrationUnroutedSetRuleConditionArray{
&pagerduty.EventOrchestrationUnroutedSetRuleConditionArgs{
Expression: pulumi.String("string"),
},
},
Disabled: pulumi.Bool(false),
Id: pulumi.String("string"),
Label: pulumi.String("string"),
},
},
},
},
})
var eventOrchestrationUnroutedResource = new EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", EventOrchestrationUnroutedArgs.builder()
.catchAll(EventOrchestrationUnroutedCatchAllArgs.builder()
.actions(EventOrchestrationUnroutedCatchAllActionsArgs.builder()
.eventAction("string")
.extractions(EventOrchestrationUnroutedCatchAllActionsExtractionArgs.builder()
.target("string")
.regex("string")
.source("string")
.template("string")
.build())
.severity("string")
.suppress(false)
.variables(EventOrchestrationUnroutedCatchAllActionsVariableArgs.builder()
.name("string")
.path("string")
.type("string")
.value("string")
.build())
.build())
.build())
.eventOrchestration("string")
.sets(EventOrchestrationUnroutedSetArgs.builder()
.id("string")
.rules(EventOrchestrationUnroutedSetRuleArgs.builder()
.actions(EventOrchestrationUnroutedSetRuleActionsArgs.builder()
.eventAction("string")
.extractions(EventOrchestrationUnroutedSetRuleActionsExtractionArgs.builder()
.target("string")
.regex("string")
.source("string")
.template("string")
.build())
.routeTo("string")
.severity("string")
.variables(EventOrchestrationUnroutedSetRuleActionsVariableArgs.builder()
.name("string")
.path("string")
.type("string")
.value("string")
.build())
.build())
.conditions(EventOrchestrationUnroutedSetRuleConditionArgs.builder()
.expression("string")
.build())
.disabled(false)
.id("string")
.label("string")
.build())
.build())
.build());
event_orchestration_unrouted_resource = pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource",
catch_all={
"actions": {
"event_action": "string",
"extractions": [{
"target": "string",
"regex": "string",
"source": "string",
"template": "string",
}],
"severity": "string",
"suppress": False,
"variables": [{
"name": "string",
"path": "string",
"type": "string",
"value": "string",
}],
},
},
event_orchestration="string",
sets=[{
"id": "string",
"rules": [{
"actions": {
"event_action": "string",
"extractions": [{
"target": "string",
"regex": "string",
"source": "string",
"template": "string",
}],
"route_to": "string",
"severity": "string",
"variables": [{
"name": "string",
"path": "string",
"type": "string",
"value": "string",
}],
},
"conditions": [{
"expression": "string",
}],
"disabled": False,
"id": "string",
"label": "string",
}],
}])
const eventOrchestrationUnroutedResource = new pagerduty.EventOrchestrationUnrouted("eventOrchestrationUnroutedResource", {
catchAll: {
actions: {
eventAction: "string",
extractions: [{
target: "string",
regex: "string",
source: "string",
template: "string",
}],
severity: "string",
suppress: false,
variables: [{
name: "string",
path: "string",
type: "string",
value: "string",
}],
},
},
eventOrchestration: "string",
sets: [{
id: "string",
rules: [{
actions: {
eventAction: "string",
extractions: [{
target: "string",
regex: "string",
source: "string",
template: "string",
}],
routeTo: "string",
severity: "string",
variables: [{
name: "string",
path: "string",
type: "string",
value: "string",
}],
},
conditions: [{
expression: "string",
}],
disabled: false,
id: "string",
label: "string",
}],
}],
});
type: pagerduty:EventOrchestrationUnrouted
properties:
catchAll:
actions:
eventAction: string
extractions:
- regex: string
source: string
target: string
template: string
severity: string
suppress: false
variables:
- name: string
path: string
type: string
value: string
eventOrchestration: string
sets:
- id: string
rules:
- actions:
eventAction: string
extractions:
- regex: string
source: string
target: string
template: string
routeTo: string
severity: string
variables:
- name: string
path: string
type: string
value: string
conditions:
- expression: string
disabled: false
id: string
label: string
EventOrchestrationUnrouted Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventOrchestrationUnrouted resource accepts the following input properties:
- Catch
All EventOrchestration Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- Sets
List<Event
Orchestration Unrouted Set> - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- Sets
[]Event
Orchestration Unrouted Set Args - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
List<Event
Orchestration Unrouted Set> - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
Event
Orchestration Unrouted Set[] - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
Sequence[Event
Orchestration Unrouted Set Args] - An Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets List<Property Map>
- An Unrouted 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 EventOrchestrationUnrouted 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 EventOrchestrationUnrouted Resource
Get an existing EventOrchestrationUnrouted 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?: EventOrchestrationUnroutedState, opts?: CustomResourceOptions): EventOrchestrationUnrouted
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
catch_all: Optional[EventOrchestrationUnroutedCatchAllArgs] = None,
event_orchestration: Optional[str] = None,
sets: Optional[Sequence[EventOrchestrationUnroutedSetArgs]] = None) -> EventOrchestrationUnrouted
func GetEventOrchestrationUnrouted(ctx *Context, name string, id IDInput, state *EventOrchestrationUnroutedState, opts ...ResourceOption) (*EventOrchestrationUnrouted, error)
public static EventOrchestrationUnrouted Get(string name, Input<string> id, EventOrchestrationUnroutedState? state, CustomResourceOptions? opts = null)
public static EventOrchestrationUnrouted get(String name, Output<String> id, EventOrchestrationUnroutedState 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- Sets
List<Event
Orchestration Unrouted Set> - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- Sets
[]Event
Orchestration Unrouted Set Args - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
List<Event
Orchestration Unrouted Set> - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
Event
Orchestration Unrouted Set[] - An Unrouted 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 Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets
Sequence[Event
Orchestration Unrouted Set Args] - An Unrouted 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 - The Event Orchestration to which this Unrouted Orchestration belongs to.
- sets List<Property Map>
- An Unrouted 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
EventOrchestrationUnroutedCatchAll, EventOrchestrationUnroutedCatchAllArgs
- Actions
Event
Orchestration Unrouted 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 Unrouted 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 Unrouted 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 Unrouted 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 Unrouted 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.
EventOrchestrationUnroutedCatchAllActions, EventOrchestrationUnroutedCatchAllActionsArgs
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
List<Event
Orchestration Unrouted Catch All Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Variables
List<Event
Orchestration Unrouted Catch All Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
[]Event
Orchestration Unrouted Catch All Actions Extraction - Replace any CEF field or Custom Details object field using custom variables.
- Severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- Suppress bool
- Variables
[]Event
Orchestration Unrouted Catch All Actions Variable - Populate variables from event payloads and use those variables in other event actions.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
List<Event
Orchestration Unrouted Catch All Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- variables
List<Event
Orchestration Unrouted Catch All Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Event
Orchestration Unrouted Catch All Actions Extraction[] - Replace any CEF field or Custom Details object field using custom variables.
- severity string
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress boolean
- variables
Event
Orchestration Unrouted Catch All Actions Variable[] - Populate variables from event payloads and use those variables in other event actions.
- event_
action str - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Sequence[Event
Orchestration Unrouted Catch All Actions Extraction] - Replace any CEF field or Custom Details object field using custom variables.
- severity str
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress bool
- variables
Sequence[Event
Orchestration Unrouted Catch All Actions Variable] - Populate variables from event payloads and use those variables in other event actions.
- 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.
- severity String
- sets Severity of the resulting alert. Allowed values are:
info
,error
,warning
,critical
- suppress Boolean
- variables List<Property Map>
- Populate variables from event payloads and use those variables in other event actions.
EventOrchestrationUnroutedCatchAllActionsExtraction, EventOrchestrationUnroutedCatchAllActionsExtractionArgs
- 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
EventOrchestrationUnroutedCatchAllActionsVariable, EventOrchestrationUnroutedCatchAllActionsVariableArgs
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
EventOrchestrationUnroutedSet, EventOrchestrationUnroutedSetArgs
- 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 Unrouted 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 Unrouted 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 Unrouted 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 Unrouted 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 Unrouted 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>
EventOrchestrationUnroutedSetRule, EventOrchestrationUnroutedSetRuleArgs
- Actions
Event
Orchestration Unrouted 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 Unrouted 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 Unrouted Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- Conditions
[]Event
Orchestration Unrouted 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 Unrouted 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 Unrouted 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 Unrouted Set Rule Actions - Actions that will be taken to change the resulting alert and incident, when an event matches this rule.
- conditions
Event
Orchestration Unrouted 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 Unrouted 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 Unrouted 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.
EventOrchestrationUnroutedSetRuleActions, EventOrchestrationUnroutedSetRuleActionsArgs
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
List<Event
Orchestration Unrouted Set Rule Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- Route
To string - The ID of a Set from this Unrouted 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
- Variables
List<Event
Orchestration Unrouted Set Rule Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- Event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- Extractions
[]Event
Orchestration Unrouted Set Rule Actions Extraction - Replace any CEF field or Custom Details object field using custom variables.
- Route
To string - The ID of a Set from this Unrouted 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
- Variables
[]Event
Orchestration Unrouted Set Rule Actions Variable - Populate variables from event payloads and use those variables in other event actions.
- event
Action String - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
List<Event
Orchestration Unrouted Set Rule Actions Extraction> - Replace any CEF field or Custom Details object field using custom variables.
- route
To String - The ID of a Set from this Unrouted 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
- variables
List<Event
Orchestration Unrouted Set Rule Actions Variable> - Populate variables from event payloads and use those variables in other event actions.
- event
Action string - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Event
Orchestration Unrouted Set Rule Actions Extraction[] - Replace any CEF field or Custom Details object field using custom variables.
- route
To string - The ID of a Set from this Unrouted 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
- variables
Event
Orchestration Unrouted Set Rule Actions Variable[] - Populate variables from event payloads and use those variables in other event actions.
- event_
action str - sets whether the resulting alert status is trigger or resolve. Allowed values are:
trigger
,resolve
- extractions
Sequence[Event
Orchestration Unrouted Set Rule Actions Extraction] - Replace any CEF field or Custom Details object field using custom variables.
- route_
to str - The ID of a Set from this Unrouted 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
- variables
Sequence[Event
Orchestration Unrouted Set Rule Actions Variable] - Populate variables from event payloads and use those variables in other event actions.
- 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.
- route
To String - The ID of a Set from this Unrouted 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
- variables List<Property Map>
- Populate variables from event payloads and use those variables in other event actions.
EventOrchestrationUnroutedSetRuleActionsExtraction, EventOrchestrationUnroutedSetRuleActionsExtractionArgs
- 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
EventOrchestrationUnroutedSetRuleActionsVariable, EventOrchestrationUnroutedSetRuleActionsVariableArgs
- Name string
- The name of the variable
- Path string
- Path to a field in an event, in dot-notation. This supports both PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - 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 PD-CEF and non-CEF fields. Eg: Use
event.summary
for thesummary
CEF field. Useraw_event.fieldname
to read from the original eventfieldname
data. - type String
- Only
regex
is supported - value String
- The Regex expression to match against. Must use valid RE2 regular expression syntax.
EventOrchestrationUnroutedSetRuleCondition, EventOrchestrationUnroutedSetRuleConditionArgs
- 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
Unrouted Orchestration can be imported using the id
of the Event Orchestration, e.g.
$ pulumi import pagerduty:index/eventOrchestrationUnrouted:EventOrchestrationUnrouted unrouted 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.