sysdig.SecureNotificationChannelWebhook
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sample_webhook = new sysdig.SecureNotificationChannelWebhook("sample-webhook", {
    enabled: true,
    url: "localhost:8080",
    notifyWhenOk: false,
    notifyWhenResolved: false,
    sendTestNotification: false,
    customData: {
        data1: "value1",
        data2: "value2",
    },
});
import pulumi
import pulumi_sysdig as sysdig
sample_webhook = sysdig.SecureNotificationChannelWebhook("sample-webhook",
    enabled=True,
    url="localhost:8080",
    notify_when_ok=False,
    notify_when_resolved=False,
    send_test_notification=False,
    custom_data={
        "data1": "value1",
        "data2": "value2",
    })
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.NewSecureNotificationChannelWebhook(ctx, "sample-webhook", &sysdig.SecureNotificationChannelWebhookArgs{
			Enabled:              pulumi.Bool(true),
			Url:                  pulumi.String("localhost:8080"),
			NotifyWhenOk:         pulumi.Bool(false),
			NotifyWhenResolved:   pulumi.Bool(false),
			SendTestNotification: pulumi.Bool(false),
			CustomData: pulumi.StringMap{
				"data1": pulumi.String("value1"),
				"data2": pulumi.String("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() => 
{
    var sample_webhook = new Sysdig.SecureNotificationChannelWebhook("sample-webhook", new()
    {
        Enabled = true,
        Url = "localhost:8080",
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        SendTestNotification = false,
        CustomData = 
        {
            { "data1", "value1" },
            { "data2", "value2" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SecureNotificationChannelWebhook;
import com.pulumi.sysdig.SecureNotificationChannelWebhookArgs;
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_webhook = new SecureNotificationChannelWebhook("sample-webhook", SecureNotificationChannelWebhookArgs.builder()
            .enabled(true)
            .url("localhost:8080")
            .notifyWhenOk(false)
            .notifyWhenResolved(false)
            .sendTestNotification(false)
            .customData(Map.ofEntries(
                Map.entry("data1", "value1"),
                Map.entry("data2", "value2")
            ))
            .build());
    }
}
resources:
  sample-webhook:
    type: sysdig:SecureNotificationChannelWebhook
    properties:
      enabled: true
      url: localhost:8080
      notifyWhenOk: false
      notifyWhenResolved: false
      sendTestNotification: false
      customData:
        data1: value1
        data2: value2
Create SecureNotificationChannelWebhook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureNotificationChannelWebhook(name: string, args: SecureNotificationChannelWebhookArgs, opts?: CustomResourceOptions);@overload
def SecureNotificationChannelWebhook(resource_name: str,
                                     args: SecureNotificationChannelWebhookArgs,
                                     opts: Optional[ResourceOptions] = None)
@overload
def SecureNotificationChannelWebhook(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     url: Optional[str] = None,
                                     additional_headers: Optional[Mapping[str, str]] = None,
                                     allow_insecure_connections: Optional[bool] = None,
                                     custom_data: Optional[Mapping[str, str]] = None,
                                     enabled: Optional[bool] = None,
                                     name: Optional[str] = None,
                                     notify_when_ok: Optional[bool] = None,
                                     notify_when_resolved: Optional[bool] = None,
                                     secure_notification_channel_webhook_id: Optional[str] = None,
                                     send_test_notification: Optional[bool] = None,
                                     share_with_current_team: Optional[bool] = None,
                                     timeouts: Optional[SecureNotificationChannelWebhookTimeoutsArgs] = None)func NewSecureNotificationChannelWebhook(ctx *Context, name string, args SecureNotificationChannelWebhookArgs, opts ...ResourceOption) (*SecureNotificationChannelWebhook, error)public SecureNotificationChannelWebhook(string name, SecureNotificationChannelWebhookArgs args, CustomResourceOptions? opts = null)
public SecureNotificationChannelWebhook(String name, SecureNotificationChannelWebhookArgs args)
public SecureNotificationChannelWebhook(String name, SecureNotificationChannelWebhookArgs args, CustomResourceOptions options)
type: sysdig:SecureNotificationChannelWebhook
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 SecureNotificationChannelWebhookArgs
- 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 SecureNotificationChannelWebhookArgs
- 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 SecureNotificationChannelWebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureNotificationChannelWebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureNotificationChannelWebhookArgs
- 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 secureNotificationChannelWebhookResource = new Sysdig.SecureNotificationChannelWebhook("secureNotificationChannelWebhookResource", new()
{
    Url = "string",
    AdditionalHeaders = 
    {
        { "string", "string" },
    },
    AllowInsecureConnections = false,
    CustomData = 
    {
        { "string", "string" },
    },
    Enabled = false,
    Name = "string",
    NotifyWhenOk = false,
    NotifyWhenResolved = false,
    SecureNotificationChannelWebhookId = "string",
    SendTestNotification = false,
    ShareWithCurrentTeam = false,
    Timeouts = new Sysdig.Inputs.SecureNotificationChannelWebhookTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
example, err := sysdig.NewSecureNotificationChannelWebhook(ctx, "secureNotificationChannelWebhookResource", &sysdig.SecureNotificationChannelWebhookArgs{
	Url: pulumi.String("string"),
	AdditionalHeaders: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	AllowInsecureConnections: pulumi.Bool(false),
	CustomData: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Enabled:                            pulumi.Bool(false),
	Name:                               pulumi.String("string"),
	NotifyWhenOk:                       pulumi.Bool(false),
	NotifyWhenResolved:                 pulumi.Bool(false),
	SecureNotificationChannelWebhookId: pulumi.String("string"),
	SendTestNotification:               pulumi.Bool(false),
	ShareWithCurrentTeam:               pulumi.Bool(false),
	Timeouts: &sysdig.SecureNotificationChannelWebhookTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
var secureNotificationChannelWebhookResource = new SecureNotificationChannelWebhook("secureNotificationChannelWebhookResource", SecureNotificationChannelWebhookArgs.builder()
    .url("string")
    .additionalHeaders(Map.of("string", "string"))
    .allowInsecureConnections(false)
    .customData(Map.of("string", "string"))
    .enabled(false)
    .name("string")
    .notifyWhenOk(false)
    .notifyWhenResolved(false)
    .secureNotificationChannelWebhookId("string")
    .sendTestNotification(false)
    .shareWithCurrentTeam(false)
    .timeouts(SecureNotificationChannelWebhookTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
secure_notification_channel_webhook_resource = sysdig.SecureNotificationChannelWebhook("secureNotificationChannelWebhookResource",
    url="string",
    additional_headers={
        "string": "string",
    },
    allow_insecure_connections=False,
    custom_data={
        "string": "string",
    },
    enabled=False,
    name="string",
    notify_when_ok=False,
    notify_when_resolved=False,
    secure_notification_channel_webhook_id="string",
    send_test_notification=False,
    share_with_current_team=False,
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
const secureNotificationChannelWebhookResource = new sysdig.SecureNotificationChannelWebhook("secureNotificationChannelWebhookResource", {
    url: "string",
    additionalHeaders: {
        string: "string",
    },
    allowInsecureConnections: false,
    customData: {
        string: "string",
    },
    enabled: false,
    name: "string",
    notifyWhenOk: false,
    notifyWhenResolved: false,
    secureNotificationChannelWebhookId: "string",
    sendTestNotification: false,
    shareWithCurrentTeam: false,
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
type: sysdig:SecureNotificationChannelWebhook
properties:
    additionalHeaders:
        string: string
    allowInsecureConnections: false
    customData:
        string: string
    enabled: false
    name: string
    notifyWhenOk: false
    notifyWhenResolved: false
    secureNotificationChannelWebhookId: string
    sendTestNotification: false
    shareWithCurrentTeam: false
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    url: string
SecureNotificationChannelWebhook 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 SecureNotificationChannelWebhook resource accepts the following input properties:
- Url string
- URL to send the event.
- AdditionalHeaders Dictionary<string, string>
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification. Default: false.
- CustomData Dictionary<string, string>
- Key value list of additional data you want to attach to the alert notification.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Webhook Timeouts 
- Url string
- URL to send the event.
- AdditionalHeaders map[string]string
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification. Default: false.
- CustomData map[string]string
- Key value list of additional data you want to attach to the alert notification.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Webhook Timeouts Args 
- url String
- URL to send the event.
- additionalHeaders Map<String,String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification. Default: false.
- customData Map<String,String>
- Key value list of additional data you want to attach to the alert notification.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts 
- url string
- URL to send the event.
- additionalHeaders {[key: string]: string}
- Key value list of custom headers.
- allowInsecure booleanConnections 
- Whether to skip TLS verification. Default: false.
- customData {[key: string]: string}
- Key value list of additional data you want to attach to the alert notification.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- name string
- The name of the Notification Channel. Must be unique.
- notifyWhen booleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen booleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest booleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts 
- url str
- URL to send the event.
- additional_headers Mapping[str, str]
- Key value list of custom headers.
- allow_insecure_ boolconnections 
- Whether to skip TLS verification. Default: false.
- custom_data Mapping[str, str]
- Key value list of additional data you want to attach to the alert notification.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- name str
- The name of the Notification Channel. Must be unique.
- notify_when_ boolok 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_when_ boolresolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secure_notification_ strchannel_ webhook_ id 
- (Computed) The ID of the Notification Channel.
- send_test_ boolnotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts Args 
- url String
- URL to send the event.
- additionalHeaders Map<String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification. Default: false.
- customData Map<String>
- Key value list of additional data you want to attach to the alert notification.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureNotificationChannelWebhook resource produces the following output properties:
Look up Existing SecureNotificationChannelWebhook Resource
Get an existing SecureNotificationChannelWebhook 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?: SecureNotificationChannelWebhookState, opts?: CustomResourceOptions): SecureNotificationChannelWebhook@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_headers: Optional[Mapping[str, str]] = None,
        allow_insecure_connections: Optional[bool] = None,
        custom_data: Optional[Mapping[str, str]] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        notify_when_ok: Optional[bool] = None,
        notify_when_resolved: Optional[bool] = None,
        secure_notification_channel_webhook_id: Optional[str] = None,
        send_test_notification: Optional[bool] = None,
        share_with_current_team: Optional[bool] = None,
        timeouts: Optional[SecureNotificationChannelWebhookTimeoutsArgs] = None,
        url: Optional[str] = None,
        version: Optional[float] = None) -> SecureNotificationChannelWebhookfunc GetSecureNotificationChannelWebhook(ctx *Context, name string, id IDInput, state *SecureNotificationChannelWebhookState, opts ...ResourceOption) (*SecureNotificationChannelWebhook, error)public static SecureNotificationChannelWebhook Get(string name, Input<string> id, SecureNotificationChannelWebhookState? state, CustomResourceOptions? opts = null)public static SecureNotificationChannelWebhook get(String name, Output<String> id, SecureNotificationChannelWebhookState state, CustomResourceOptions options)resources:  _:    type: sysdig:SecureNotificationChannelWebhook    get:      id: ${id}- 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.
- AdditionalHeaders Dictionary<string, string>
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification. Default: false.
- CustomData Dictionary<string, string>
- Key value list of additional data you want to attach to the alert notification.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Webhook Timeouts 
- Url string
- URL to send the event.
- Version double
- (Computed) The current version of the Notification Channel.
- AdditionalHeaders map[string]string
- Key value list of custom headers.
- AllowInsecure boolConnections 
- Whether to skip TLS verification. Default: false.
- CustomData map[string]string
- Key value list of additional data you want to attach to the alert notification.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Webhook Timeouts Args 
- Url string
- URL to send the event.
- Version float64
- (Computed) The current version of the Notification Channel.
- additionalHeaders Map<String,String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification. Default: false.
- customData Map<String,String>
- Key value list of additional data you want to attach to the alert notification.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts 
- url String
- URL to send the event.
- version Double
- (Computed) The current version of the Notification Channel.
- additionalHeaders {[key: string]: string}
- Key value list of custom headers.
- allowInsecure booleanConnections 
- Whether to skip TLS verification. Default: false.
- customData {[key: string]: string}
- Key value list of additional data you want to attach to the alert notification.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- name string
- The name of the Notification Channel. Must be unique.
- notifyWhen booleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen booleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification stringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest booleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts 
- url string
- URL to send the event.
- version number
- (Computed) The current version of the Notification Channel.
- additional_headers Mapping[str, str]
- Key value list of custom headers.
- allow_insecure_ boolconnections 
- Whether to skip TLS verification. Default: false.
- custom_data Mapping[str, str]
- Key value list of additional data you want to attach to the alert notification.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- name str
- The name of the Notification Channel. Must be unique.
- notify_when_ boolok 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_when_ boolresolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secure_notification_ strchannel_ webhook_ id 
- (Computed) The ID of the Notification Channel.
- send_test_ boolnotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Webhook Timeouts Args 
- url str
- URL to send the event.
- version float
- (Computed) The current version of the Notification Channel.
- additionalHeaders Map<String>
- Key value list of custom headers.
- allowInsecure BooleanConnections 
- Whether to skip TLS verification. Default: false.
- customData Map<String>
- Key value list of additional data you want to attach to the alert notification.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Webhook Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- (Optional) If set to trueit will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbiddenif this is not set totrue.
- timeouts Property Map
- url String
- URL to send the event.
- version Number
- (Computed) The current version of the Notification Channel.
Supporting Types
SecureNotificationChannelWebhookTimeouts, SecureNotificationChannelWebhookTimeoutsArgs          
Import
Webhook notification channels for Secure can be imported using the ID, e.g.
$ pulumi import sysdig:index/secureNotificationChannelWebhook:SecureNotificationChannelWebhook example 12345
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 sysdigTerraform Provider.