1. Packages
  2. Sysdig Provider
  3. API Docs
  4. MonitorAlertV2Event
sysdig 1.52.0 published on Monday, Apr 14, 2025 by sysdiglabs

sysdig.MonitorAlertV2Event

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";

const sample = new sysdig.MonitorAlertV2Event("sample", {
    description: "A Kubernetes pod failed to pull an image from the registry",
    filter: "Failed to pull image",
    groupBies: ["kube_pod_name"],
    notificationChannels: [{
        id: 1234,
        renotifyEveryMinutes: 60,
    }],
    operator: ">",
    rangeSeconds: 60,
    scopes: [
        {
            label: "kube_cluster_name",
            operator: "in",
            values: [
                "my_cluster_1",
                "my_cluster_2",
            ],
        },
        {
            label: "kube_deployment_name",
            operator: "equals",
            values: ["my_deployment"],
        },
    ],
    severity: "high",
    sources: ["kubernetes"],
    threshold: 0,
});
Copy
import pulumi
import pulumi_sysdig as sysdig

sample = sysdig.MonitorAlertV2Event("sample",
    description="A Kubernetes pod failed to pull an image from the registry",
    filter="Failed to pull image",
    group_bies=["kube_pod_name"],
    notification_channels=[{
        "id": 1234,
        "renotify_every_minutes": 60,
    }],
    operator=">",
    range_seconds=60,
    scopes=[
        {
            "label": "kube_cluster_name",
            "operator": "in",
            "values": [
                "my_cluster_1",
                "my_cluster_2",
            ],
        },
        {
            "label": "kube_deployment_name",
            "operator": "equals",
            "values": ["my_deployment"],
        },
    ],
    severity="high",
    sources=["kubernetes"],
    threshold=0)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sysdig.NewMonitorAlertV2Event(ctx, "sample", &sysdig.MonitorAlertV2EventArgs{
			Description: pulumi.String("A Kubernetes pod failed to pull an image from the registry"),
			Filter:      pulumi.String("Failed to pull image"),
			GroupBies: pulumi.StringArray{
				pulumi.String("kube_pod_name"),
			},
			NotificationChannels: sysdig.MonitorAlertV2EventNotificationChannelArray{
				&sysdig.MonitorAlertV2EventNotificationChannelArgs{
					Id:                   pulumi.Float64(1234),
					RenotifyEveryMinutes: pulumi.Float64(60),
				},
			},
			Operator:     pulumi.String(">"),
			RangeSeconds: pulumi.Float64(60),
			Scopes: sysdig.MonitorAlertV2EventScopeArray{
				&sysdig.MonitorAlertV2EventScopeArgs{
					Label:    pulumi.String("kube_cluster_name"),
					Operator: pulumi.String("in"),
					Values: pulumi.StringArray{
						pulumi.String("my_cluster_1"),
						pulumi.String("my_cluster_2"),
					},
				},
				&sysdig.MonitorAlertV2EventScopeArgs{
					Label:    pulumi.String("kube_deployment_name"),
					Operator: pulumi.String("equals"),
					Values: pulumi.StringArray{
						pulumi.String("my_deployment"),
					},
				},
			},
			Severity: pulumi.String("high"),
			Sources: pulumi.StringArray{
				pulumi.String("kubernetes"),
			},
			Threshold: pulumi.Float64(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;

return await Deployment.RunAsync(() => 
{
    var sample = new Sysdig.MonitorAlertV2Event("sample", new()
    {
        Description = "A Kubernetes pod failed to pull an image from the registry",
        Filter = "Failed to pull image",
        GroupBies = new[]
        {
            "kube_pod_name",
        },
        NotificationChannels = new[]
        {
            new Sysdig.Inputs.MonitorAlertV2EventNotificationChannelArgs
            {
                Id = 1234,
                RenotifyEveryMinutes = 60,
            },
        },
        Operator = ">",
        RangeSeconds = 60,
        Scopes = new[]
        {
            new Sysdig.Inputs.MonitorAlertV2EventScopeArgs
            {
                Label = "kube_cluster_name",
                Operator = "in",
                Values = new[]
                {
                    "my_cluster_1",
                    "my_cluster_2",
                },
            },
            new Sysdig.Inputs.MonitorAlertV2EventScopeArgs
            {
                Label = "kube_deployment_name",
                Operator = "equals",
                Values = new[]
                {
                    "my_deployment",
                },
            },
        },
        Severity = "high",
        Sources = new[]
        {
            "kubernetes",
        },
        Threshold = 0,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.MonitorAlertV2Event;
import com.pulumi.sysdig.MonitorAlertV2EventArgs;
import com.pulumi.sysdig.inputs.MonitorAlertV2EventNotificationChannelArgs;
import com.pulumi.sysdig.inputs.MonitorAlertV2EventScopeArgs;
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 sample = new MonitorAlertV2Event("sample", MonitorAlertV2EventArgs.builder()
            .description("A Kubernetes pod failed to pull an image from the registry")
            .filter("Failed to pull image")
            .groupBies("kube_pod_name")
            .notificationChannels(MonitorAlertV2EventNotificationChannelArgs.builder()
                .id(1234)
                .renotifyEveryMinutes(60)
                .build())
            .operator(">")
            .rangeSeconds(60)
            .scopes(            
                MonitorAlertV2EventScopeArgs.builder()
                    .label("kube_cluster_name")
                    .operator("in")
                    .values(                    
                        "my_cluster_1",
                        "my_cluster_2")
                    .build(),
                MonitorAlertV2EventScopeArgs.builder()
                    .label("kube_deployment_name")
                    .operator("equals")
                    .values("my_deployment")
                    .build())
            .severity("high")
            .sources("kubernetes")
            .threshold(0)
            .build());

    }
}
Copy
resources:
  sample:
    type: sysdig:MonitorAlertV2Event
    properties:
      description: A Kubernetes pod failed to pull an image from the registry
      filter: Failed to pull image
      groupBies:
        - kube_pod_name
      notificationChannels:
        - id: 1234
          renotifyEveryMinutes: 60
      operator: '>'
      rangeSeconds: 60
      scopes:
        - label: kube_cluster_name
          operator: in
          values:
            - my_cluster_1
            - my_cluster_2
        - label: kube_deployment_name
          operator: equals
          values:
            - my_deployment
      severity: high
      sources:
        - kubernetes
      threshold: 0
Copy

Create MonitorAlertV2Event Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MonitorAlertV2Event(name: string, args: MonitorAlertV2EventArgs, opts?: CustomResourceOptions);
@overload
def MonitorAlertV2Event(resource_name: str,
                        args: MonitorAlertV2EventArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def MonitorAlertV2Event(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        filter: Optional[str] = None,
                        threshold: Optional[float] = None,
                        operator: Optional[str] = None,
                        name: Optional[str] = None,
                        description: Optional[str] = None,
                        group: Optional[str] = None,
                        group_bies: Optional[Sequence[str]] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        links: Optional[Sequence[MonitorAlertV2EventLinkArgs]] = None,
                        monitor_alert_v2_event_id: Optional[str] = None,
                        capture: Optional[MonitorAlertV2EventCaptureArgs] = None,
                        notification_channels: Optional[Sequence[MonitorAlertV2EventNotificationChannelArgs]] = None,
                        enabled: Optional[bool] = None,
                        range_seconds: Optional[float] = None,
                        scopes: Optional[Sequence[MonitorAlertV2EventScopeArgs]] = None,
                        severity: Optional[str] = None,
                        sources: Optional[Sequence[str]] = None,
                        custom_notification: Optional[MonitorAlertV2EventCustomNotificationArgs] = None,
                        timeouts: Optional[MonitorAlertV2EventTimeoutsArgs] = None,
                        trigger_after_minutes: Optional[float] = None,
                        warning_threshold: Optional[str] = None)
func NewMonitorAlertV2Event(ctx *Context, name string, args MonitorAlertV2EventArgs, opts ...ResourceOption) (*MonitorAlertV2Event, error)
public MonitorAlertV2Event(string name, MonitorAlertV2EventArgs args, CustomResourceOptions? opts = null)
public MonitorAlertV2Event(String name, MonitorAlertV2EventArgs args)
public MonitorAlertV2Event(String name, MonitorAlertV2EventArgs args, CustomResourceOptions options)
type: sysdig:MonitorAlertV2Event
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MonitorAlertV2EventArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MonitorAlertV2EventArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MonitorAlertV2EventArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MonitorAlertV2EventArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MonitorAlertV2EventArgs
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 monitorAlertV2EventResource = new Sysdig.MonitorAlertV2Event("monitorAlertV2EventResource", new()
{
    Filter = "string",
    Threshold = 0,
    Operator = "string",
    Name = "string",
    Description = "string",
    Group = "string",
    GroupBies = new[]
    {
        "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    Links = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2EventLinkArgs
        {
            Type = "string",
            Href = "string",
            Id = "string",
        },
    },
    MonitorAlertV2EventId = "string",
    Capture = new Sysdig.Inputs.MonitorAlertV2EventCaptureArgs
    {
        Filename = "string",
        DurationSeconds = 0,
        Enabled = false,
        Filter = "string",
        Storage = "string",
    },
    NotificationChannels = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2EventNotificationChannelArgs
        {
            Id = 0,
            MainThreshold = false,
            NotifyOnResolve = false,
            RenotifyEveryMinutes = 0,
            WarningThreshold = false,
        },
    },
    Enabled = false,
    RangeSeconds = 0,
    Scopes = new[]
    {
        new Sysdig.Inputs.MonitorAlertV2EventScopeArgs
        {
            Label = "string",
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
    },
    Severity = "string",
    Sources = new[]
    {
        "string",
    },
    CustomNotification = new Sysdig.Inputs.MonitorAlertV2EventCustomNotificationArgs
    {
        Append = "string",
        Prepend = "string",
        Subject = "string",
    },
    Timeouts = new Sysdig.Inputs.MonitorAlertV2EventTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
    WarningThreshold = "string",
});
Copy
example, err := sysdig.NewMonitorAlertV2Event(ctx, "monitorAlertV2EventResource", &sysdig.MonitorAlertV2EventArgs{
Filter: pulumi.String("string"),
Threshold: pulumi.Float64(0),
Operator: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
Group: pulumi.String("string"),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Links: .MonitorAlertV2EventLinkArray{
&.MonitorAlertV2EventLinkArgs{
Type: pulumi.String("string"),
Href: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
MonitorAlertV2EventId: pulumi.String("string"),
Capture: &.MonitorAlertV2EventCaptureArgs{
Filename: pulumi.String("string"),
DurationSeconds: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Filter: pulumi.String("string"),
Storage: pulumi.String("string"),
},
NotificationChannels: .MonitorAlertV2EventNotificationChannelArray{
&.MonitorAlertV2EventNotificationChannelArgs{
Id: pulumi.Float64(0),
MainThreshold: pulumi.Bool(false),
NotifyOnResolve: pulumi.Bool(false),
RenotifyEveryMinutes: pulumi.Float64(0),
WarningThreshold: pulumi.Bool(false),
},
},
Enabled: pulumi.Bool(false),
RangeSeconds: pulumi.Float64(0),
Scopes: .MonitorAlertV2EventScopeArray{
&.MonitorAlertV2EventScopeArgs{
Label: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Severity: pulumi.String("string"),
Sources: pulumi.StringArray{
pulumi.String("string"),
},
CustomNotification: &.MonitorAlertV2EventCustomNotificationArgs{
Append: pulumi.String("string"),
Prepend: pulumi.String("string"),
Subject: pulumi.String("string"),
},
Timeouts: &.MonitorAlertV2EventTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
WarningThreshold: pulumi.String("string"),
})
Copy
var monitorAlertV2EventResource = new MonitorAlertV2Event("monitorAlertV2EventResource", MonitorAlertV2EventArgs.builder()
    .filter("string")
    .threshold(0)
    .operator("string")
    .name("string")
    .description("string")
    .group("string")
    .groupBies("string")
    .labels(Map.of("string", "string"))
    .links(MonitorAlertV2EventLinkArgs.builder()
        .type("string")
        .href("string")
        .id("string")
        .build())
    .monitorAlertV2EventId("string")
    .capture(MonitorAlertV2EventCaptureArgs.builder()
        .filename("string")
        .durationSeconds(0)
        .enabled(false)
        .filter("string")
        .storage("string")
        .build())
    .notificationChannels(MonitorAlertV2EventNotificationChannelArgs.builder()
        .id(0)
        .mainThreshold(false)
        .notifyOnResolve(false)
        .renotifyEveryMinutes(0)
        .warningThreshold(false)
        .build())
    .enabled(false)
    .rangeSeconds(0)
    .scopes(MonitorAlertV2EventScopeArgs.builder()
        .label("string")
        .operator("string")
        .values("string")
        .build())
    .severity("string")
    .sources("string")
    .customNotification(MonitorAlertV2EventCustomNotificationArgs.builder()
        .append("string")
        .prepend("string")
        .subject("string")
        .build())
    .timeouts(MonitorAlertV2EventTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .warningThreshold("string")
    .build());
Copy
monitor_alert_v2_event_resource = sysdig.MonitorAlertV2Event("monitorAlertV2EventResource",
    filter="string",
    threshold=0,
    operator="string",
    name="string",
    description="string",
    group="string",
    group_bies=["string"],
    labels={
        "string": "string",
    },
    links=[{
        "type": "string",
        "href": "string",
        "id": "string",
    }],
    monitor_alert_v2_event_id="string",
    capture={
        "filename": "string",
        "duration_seconds": 0,
        "enabled": False,
        "filter": "string",
        "storage": "string",
    },
    notification_channels=[{
        "id": 0,
        "main_threshold": False,
        "notify_on_resolve": False,
        "renotify_every_minutes": 0,
        "warning_threshold": False,
    }],
    enabled=False,
    range_seconds=0,
    scopes=[{
        "label": "string",
        "operator": "string",
        "values": ["string"],
    }],
    severity="string",
    sources=["string"],
    custom_notification={
        "append": "string",
        "prepend": "string",
        "subject": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    },
    warning_threshold="string")
Copy
const monitorAlertV2EventResource = new sysdig.MonitorAlertV2Event("monitorAlertV2EventResource", {
    filter: "string",
    threshold: 0,
    operator: "string",
    name: "string",
    description: "string",
    group: "string",
    groupBies: ["string"],
    labels: {
        string: "string",
    },
    links: [{
        type: "string",
        href: "string",
        id: "string",
    }],
    monitorAlertV2EventId: "string",
    capture: {
        filename: "string",
        durationSeconds: 0,
        enabled: false,
        filter: "string",
        storage: "string",
    },
    notificationChannels: [{
        id: 0,
        mainThreshold: false,
        notifyOnResolve: false,
        renotifyEveryMinutes: 0,
        warningThreshold: false,
    }],
    enabled: false,
    rangeSeconds: 0,
    scopes: [{
        label: "string",
        operator: "string",
        values: ["string"],
    }],
    severity: "string",
    sources: ["string"],
    customNotification: {
        append: "string",
        prepend: "string",
        subject: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
    warningThreshold: "string",
});
Copy
type: sysdig:MonitorAlertV2Event
properties:
    capture:
        durationSeconds: 0
        enabled: false
        filename: string
        filter: string
        storage: string
    customNotification:
        append: string
        prepend: string
        subject: string
    description: string
    enabled: false
    filter: string
    group: string
    groupBies:
        - string
    labels:
        string: string
    links:
        - href: string
          id: string
          type: string
    monitorAlertV2EventId: string
    name: string
    notificationChannels:
        - id: 0
          mainThreshold: false
          notifyOnResolve: false
          renotifyEveryMinutes: 0
          warningThreshold: false
    operator: string
    rangeSeconds: 0
    scopes:
        - label: string
          operator: string
          values:
            - string
    severity: string
    sources:
        - string
    threshold: 0
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    warningThreshold: string
Copy

MonitorAlertV2Event 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 MonitorAlertV2Event resource accepts the following input properties:

filter This property is required. String
operator This property is required. String
threshold This property is required. Number
capture Property Map
customNotification Property Map
description String
enabled Boolean
group String
groupBies List<String>
labels Map<String>
links List<Property Map>
monitorAlertV2EventId String
ID of the alert created.
name String
notificationChannels List<Property Map>
rangeSeconds Number
scopes List<Property Map>
severity String
sources List<String>
timeouts Property Map
triggerAfterMinutes Number

Deprecated: Deprecated

warningThreshold String

Outputs

All input properties are implicitly available as output properties. Additionally, the MonitorAlertV2Event resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Team double
Team ID that owns the alert.
Version double
Current version of the resource in Sysdig Monitor.
Id string
The provider-assigned unique ID for this managed resource.
Team float64
Team ID that owns the alert.
Version float64
Current version of the resource in Sysdig Monitor.
id String
The provider-assigned unique ID for this managed resource.
team Double
Team ID that owns the alert.
version Double
Current version of the resource in Sysdig Monitor.
id string
The provider-assigned unique ID for this managed resource.
team number
Team ID that owns the alert.
version number
Current version of the resource in Sysdig Monitor.
id str
The provider-assigned unique ID for this managed resource.
team float
Team ID that owns the alert.
version float
Current version of the resource in Sysdig Monitor.
id String
The provider-assigned unique ID for this managed resource.
team Number
Team ID that owns the alert.
version Number
Current version of the resource in Sysdig Monitor.

Look up Existing MonitorAlertV2Event Resource

Get an existing MonitorAlertV2Event 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?: MonitorAlertV2EventState, opts?: CustomResourceOptions): MonitorAlertV2Event
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        capture: Optional[MonitorAlertV2EventCaptureArgs] = None,
        custom_notification: Optional[MonitorAlertV2EventCustomNotificationArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        filter: Optional[str] = None,
        group: Optional[str] = None,
        group_bies: Optional[Sequence[str]] = None,
        labels: Optional[Mapping[str, str]] = None,
        links: Optional[Sequence[MonitorAlertV2EventLinkArgs]] = None,
        monitor_alert_v2_event_id: Optional[str] = None,
        name: Optional[str] = None,
        notification_channels: Optional[Sequence[MonitorAlertV2EventNotificationChannelArgs]] = None,
        operator: Optional[str] = None,
        range_seconds: Optional[float] = None,
        scopes: Optional[Sequence[MonitorAlertV2EventScopeArgs]] = None,
        severity: Optional[str] = None,
        sources: Optional[Sequence[str]] = None,
        team: Optional[float] = None,
        threshold: Optional[float] = None,
        timeouts: Optional[MonitorAlertV2EventTimeoutsArgs] = None,
        trigger_after_minutes: Optional[float] = None,
        version: Optional[float] = None,
        warning_threshold: Optional[str] = None) -> MonitorAlertV2Event
func GetMonitorAlertV2Event(ctx *Context, name string, id IDInput, state *MonitorAlertV2EventState, opts ...ResourceOption) (*MonitorAlertV2Event, error)
public static MonitorAlertV2Event Get(string name, Input<string> id, MonitorAlertV2EventState? state, CustomResourceOptions? opts = null)
public static MonitorAlertV2Event get(String name, Output<String> id, MonitorAlertV2EventState state, CustomResourceOptions options)
resources:  _:    type: sysdig:MonitorAlertV2Event    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Capture MonitorAlertV2EventCapture
CustomNotification MonitorAlertV2EventCustomNotification
Description string
Enabled bool
Filter string
Group string
GroupBies List<string>
Labels Dictionary<string, string>
Links List<MonitorAlertV2EventLink>
MonitorAlertV2EventId string
ID of the alert created.
Name string
NotificationChannels List<MonitorAlertV2EventNotificationChannel>
Operator string
RangeSeconds double
Scopes List<MonitorAlertV2EventScope>
Severity string
Sources List<string>
Team double
Team ID that owns the alert.
Threshold double
Timeouts MonitorAlertV2EventTimeouts
TriggerAfterMinutes double

Deprecated: Deprecated

Version double
Current version of the resource in Sysdig Monitor.
WarningThreshold string
capture MonitorAlertV2EventCapture
customNotification MonitorAlertV2EventCustomNotification
description string
enabled boolean
filter string
group string
groupBies string[]
labels {[key: string]: string}
links MonitorAlertV2EventLink[]
monitorAlertV2EventId string
ID of the alert created.
name string
notificationChannels MonitorAlertV2EventNotificationChannel[]
operator string
rangeSeconds number
scopes MonitorAlertV2EventScope[]
severity string
sources string[]
team number
Team ID that owns the alert.
threshold number
timeouts MonitorAlertV2EventTimeouts
triggerAfterMinutes number

Deprecated: Deprecated

version number
Current version of the resource in Sysdig Monitor.
warningThreshold string
capture Property Map
customNotification Property Map
description String
enabled Boolean
filter String
group String
groupBies List<String>
labels Map<String>
links List<Property Map>
monitorAlertV2EventId String
ID of the alert created.
name String
notificationChannels List<Property Map>
operator String
rangeSeconds Number
scopes List<Property Map>
severity String
sources List<String>
team Number
Team ID that owns the alert.
threshold Number
timeouts Property Map
triggerAfterMinutes Number

Deprecated: Deprecated

version Number
Current version of the resource in Sysdig Monitor.
warningThreshold String

Supporting Types

MonitorAlertV2EventCapture
, MonitorAlertV2EventCaptureArgs

Filename This property is required. string
Defines the name of the capture file. Must have .scap suffix.
DurationSeconds double
Time frame of the capture. Default: 15.
Enabled bool
Wether to enable captures. Default: true.
Filter string
Additional filter to apply to the capture. For example: proc.name contains nginx.
Storage string
Custom bucket where to save the capture.
Filename This property is required. string
Defines the name of the capture file. Must have .scap suffix.
DurationSeconds float64
Time frame of the capture. Default: 15.
Enabled bool
Wether to enable captures. Default: true.
Filter string
Additional filter to apply to the capture. For example: proc.name contains nginx.
Storage string
Custom bucket where to save the capture.
filename This property is required. String
Defines the name of the capture file. Must have .scap suffix.
durationSeconds Double
Time frame of the capture. Default: 15.
enabled Boolean
Wether to enable captures. Default: true.
filter String
Additional filter to apply to the capture. For example: proc.name contains nginx.
storage String
Custom bucket where to save the capture.
filename This property is required. string
Defines the name of the capture file. Must have .scap suffix.
durationSeconds number
Time frame of the capture. Default: 15.
enabled boolean
Wether to enable captures. Default: true.
filter string
Additional filter to apply to the capture. For example: proc.name contains nginx.
storage string
Custom bucket where to save the capture.
filename This property is required. str
Defines the name of the capture file. Must have .scap suffix.
duration_seconds float
Time frame of the capture. Default: 15.
enabled bool
Wether to enable captures. Default: true.
filter str
Additional filter to apply to the capture. For example: proc.name contains nginx.
storage str
Custom bucket where to save the capture.
filename This property is required. String
Defines the name of the capture file. Must have .scap suffix.
durationSeconds Number
Time frame of the capture. Default: 15.
enabled Boolean
Wether to enable captures. Default: true.
filter String
Additional filter to apply to the capture. For example: proc.name contains nginx.
storage String
Custom bucket where to save the capture.

MonitorAlertV2EventCustomNotification
, MonitorAlertV2EventCustomNotificationArgs

Append string
Text to add after the alert template.
Prepend string
Text to add before the alert template.
Subject string
Sets the title of the alert.
Append string
Text to add after the alert template.
Prepend string
Text to add before the alert template.
Subject string
Sets the title of the alert.
append String
Text to add after the alert template.
prepend String
Text to add before the alert template.
subject String
Sets the title of the alert.
append string
Text to add after the alert template.
prepend string
Text to add before the alert template.
subject string
Sets the title of the alert.
append str
Text to add after the alert template.
prepend str
Text to add before the alert template.
subject str
Sets the title of the alert.
append String
Text to add after the alert template.
prepend String
Text to add before the alert template.
subject String
Sets the title of the alert.
Type This property is required. string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
Href string
When using runbook type, url of the external resource.
Id string
When using dashboard type, dashboard id.
Type This property is required. string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
Href string
When using runbook type, url of the external resource.
Id string
When using dashboard type, dashboard id.
type This property is required. String
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
href String
When using runbook type, url of the external resource.
id String
When using dashboard type, dashboard id.
type This property is required. string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
href string
When using runbook type, url of the external resource.
id string
When using dashboard type, dashboard id.
type This property is required. str
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
href str
When using runbook type, url of the external resource.
id str
When using dashboard type, dashboard id.
type This property is required. String
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.
href String
When using runbook type, url of the external resource.
id String
When using dashboard type, dashboard id.

MonitorAlertV2EventNotificationChannel
, MonitorAlertV2EventNotificationChannelArgs

Id This property is required. double
The ID of the notification channel.
MainThreshold bool
Whether this notification channel is used for the main threshold of the alert. Default: true.
NotifyOnResolve bool
Wether to send a notification when the alert is resolved. Default: true.
RenotifyEveryMinutes double
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
Type string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

WarningThreshold bool
Whether this notification channel is used for the warning threshold of the alert. Default: false.
Id This property is required. float64
The ID of the notification channel.
MainThreshold bool
Whether this notification channel is used for the main threshold of the alert. Default: true.
NotifyOnResolve bool
Wether to send a notification when the alert is resolved. Default: true.
RenotifyEveryMinutes float64
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
Type string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

WarningThreshold bool
Whether this notification channel is used for the warning threshold of the alert. Default: false.
id This property is required. Double
The ID of the notification channel.
mainThreshold Boolean
Whether this notification channel is used for the main threshold of the alert. Default: true.
notifyOnResolve Boolean
Wether to send a notification when the alert is resolved. Default: true.
renotifyEveryMinutes Double
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
type String
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

warningThreshold Boolean
Whether this notification channel is used for the warning threshold of the alert. Default: false.
id This property is required. number
The ID of the notification channel.
mainThreshold boolean
Whether this notification channel is used for the main threshold of the alert. Default: true.
notifyOnResolve boolean
Wether to send a notification when the alert is resolved. Default: true.
renotifyEveryMinutes number
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
type string
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

warningThreshold boolean
Whether this notification channel is used for the warning threshold of the alert. Default: false.
id This property is required. float
The ID of the notification channel.
main_threshold bool
Whether this notification channel is used for the main threshold of the alert. Default: true.
notify_on_resolve bool
Wether to send a notification when the alert is resolved. Default: true.
renotify_every_minutes float
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
type str
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

warning_threshold bool
Whether this notification channel is used for the warning threshold of the alert. Default: false.
id This property is required. Number
The ID of the notification channel.
mainThreshold Boolean
Whether this notification channel is used for the main threshold of the alert. Default: true.
notifyOnResolve Boolean
Wether to send a notification when the alert is resolved. Default: true.
renotifyEveryMinutes Number
the amount of minutes to wait before re sending the notification to this channel. 0 means no renotification enabled. Default: 0.
type String
Type of link. Must be runbook, for generic links, or dashboard, for internal links to existing dashboards.

Deprecated: Deprecated

warningThreshold Boolean
Whether this notification channel is used for the warning threshold of the alert. Default: false.

MonitorAlertV2EventScope
, MonitorAlertV2EventScopeArgs

Label This property is required. string
Label in prometheus notation to select a part of the infrastructure.
Operator This property is required. string
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
Values This property is required. List<string>
List of values to match the scope.
Label This property is required. string
Label in prometheus notation to select a part of the infrastructure.
Operator This property is required. string
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
Values This property is required. []string
List of values to match the scope.
label This property is required. String
Label in prometheus notation to select a part of the infrastructure.
operator This property is required. String
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
values This property is required. List<String>
List of values to match the scope.
label This property is required. string
Label in prometheus notation to select a part of the infrastructure.
operator This property is required. string
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
values This property is required. string[]
List of values to match the scope.
label This property is required. str
Label in prometheus notation to select a part of the infrastructure.
operator This property is required. str
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
values This property is required. Sequence[str]
List of values to match the scope.
label This property is required. String
Label in prometheus notation to select a part of the infrastructure.
operator This property is required. String
Operator to match the label. It can be equals, notEquals, in, notIn, contains, notContains, startsWith.
values This property is required. List<String>
List of values to match the scope.

MonitorAlertV2EventTimeouts
, MonitorAlertV2EventTimeoutsArgs

Create string
Delete string
Read string
Update string
Create string
Delete string
Read string
Update string
create String
delete String
read String
update String
create string
delete string
read string
update string
create str
delete str
read str
update str
create String
delete String
read String
update String

Import

Event alerts can be imported using the alert ID, e.g.

$ pulumi import sysdig:index/monitorAlertV2Event:MonitorAlertV2Event example 12345
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
sysdig sysdiglabs/terraform-provider-sysdig
License
Notes
This Pulumi package is based on the sysdig Terraform Provider.