1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. Webhook
Juniper Mist v0.3.0 published on Wednesday, Apr 9, 2025 by Pulumi

junipermist.org.Webhook

Explore with Pulumi AI

This resource manages Org Webhooks.

A Webhook is a configuration that allows real-time events and data from the Org to be pushed to a provided url.
It enables the collection of information about various topics such as device events, alarms, and audits updates at the org level.
The Webhook can be set up and customized using the Mist API, allowing users to receive and analyze specific data from a particular site.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  webhookOne:
    type: junipermist:org:Webhook
    name: webhook_one
    properties:
      siteId: ${terraformTest.id}
      name: webhook_one
      type: http-post
      url: https://myserver.com:4321/
      verifyCert: false
      enabled: true
      topics:
        - device-events
        - alarms
        - audits
        - client-join
        - client-info
        - client-sessions
        - device-updowns
        - mxedge-events
        - nac-events
        - nac-accounting
Copy

Create Webhook Resource

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

Constructor syntax

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

@overload
def Webhook(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            org_id: Optional[str] = None,
            url: Optional[str] = None,
            topics: Optional[Sequence[str]] = None,
            oauth2_token_url: Optional[str] = None,
            oauth2_client_id: Optional[str] = None,
            oauth2_grant_type: Optional[str] = None,
            oauth2_password: Optional[str] = None,
            oauth2_scopes: Optional[Sequence[str]] = None,
            enabled: Optional[bool] = None,
            oauth2_username: Optional[str] = None,
            oauth2_client_secret: Optional[str] = None,
            secret: Optional[str] = None,
            single_event_per_message: Optional[bool] = None,
            splunk_token: Optional[str] = None,
            name: Optional[str] = None,
            type: Optional[str] = None,
            headers: Optional[Mapping[str, str]] = None,
            verify_cert: Optional[bool] = None)
func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)
public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
public Webhook(String name, WebhookArgs args)
public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
type: junipermist:org:Webhook
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. WebhookArgs
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. WebhookArgs
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. WebhookArgs
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. WebhookArgs
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. WebhookArgs
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 webhookResource = new JuniperMist.Org.Webhook("webhookResource", new()
{
    OrgId = "string",
    Url = "string",
    Topics = new[]
    {
        "string",
    },
    Oauth2TokenUrl = "string",
    Oauth2ClientId = "string",
    Oauth2GrantType = "string",
    Oauth2Password = "string",
    Oauth2Scopes = new[]
    {
        "string",
    },
    Enabled = false,
    Oauth2Username = "string",
    Oauth2ClientSecret = "string",
    Secret = "string",
    SingleEventPerMessage = false,
    SplunkToken = "string",
    Name = "string",
    Type = "string",
    Headers = 
    {
        { "string", "string" },
    },
    VerifyCert = false,
});
Copy
example, err := org.NewWebhook(ctx, "webhookResource", &org.WebhookArgs{
	OrgId: pulumi.String("string"),
	Url:   pulumi.String("string"),
	Topics: pulumi.StringArray{
		pulumi.String("string"),
	},
	Oauth2TokenUrl:  pulumi.String("string"),
	Oauth2ClientId:  pulumi.String("string"),
	Oauth2GrantType: pulumi.String("string"),
	Oauth2Password:  pulumi.String("string"),
	Oauth2Scopes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Enabled:               pulumi.Bool(false),
	Oauth2Username:        pulumi.String("string"),
	Oauth2ClientSecret:    pulumi.String("string"),
	Secret:                pulumi.String("string"),
	SingleEventPerMessage: pulumi.Bool(false),
	SplunkToken:           pulumi.String("string"),
	Name:                  pulumi.String("string"),
	Type:                  pulumi.String("string"),
	Headers: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VerifyCert: pulumi.Bool(false),
})
Copy
var webhookResource = new Webhook("webhookResource", WebhookArgs.builder()
    .orgId("string")
    .url("string")
    .topics("string")
    .oauth2TokenUrl("string")
    .oauth2ClientId("string")
    .oauth2GrantType("string")
    .oauth2Password("string")
    .oauth2Scopes("string")
    .enabled(false)
    .oauth2Username("string")
    .oauth2ClientSecret("string")
    .secret("string")
    .singleEventPerMessage(false)
    .splunkToken("string")
    .name("string")
    .type("string")
    .headers(Map.of("string", "string"))
    .verifyCert(false)
    .build());
Copy
webhook_resource = junipermist.org.Webhook("webhookResource",
    org_id="string",
    url="string",
    topics=["string"],
    oauth2_token_url="string",
    oauth2_client_id="string",
    oauth2_grant_type="string",
    oauth2_password="string",
    oauth2_scopes=["string"],
    enabled=False,
    oauth2_username="string",
    oauth2_client_secret="string",
    secret="string",
    single_event_per_message=False,
    splunk_token="string",
    name="string",
    type="string",
    headers={
        "string": "string",
    },
    verify_cert=False)
Copy
const webhookResource = new junipermist.org.Webhook("webhookResource", {
    orgId: "string",
    url: "string",
    topics: ["string"],
    oauth2TokenUrl: "string",
    oauth2ClientId: "string",
    oauth2GrantType: "string",
    oauth2Password: "string",
    oauth2Scopes: ["string"],
    enabled: false,
    oauth2Username: "string",
    oauth2ClientSecret: "string",
    secret: "string",
    singleEventPerMessage: false,
    splunkToken: "string",
    name: "string",
    type: "string",
    headers: {
        string: "string",
    },
    verifyCert: false,
});
Copy
type: junipermist:org:Webhook
properties:
    enabled: false
    headers:
        string: string
    name: string
    oauth2ClientId: string
    oauth2ClientSecret: string
    oauth2GrantType: string
    oauth2Password: string
    oauth2Scopes:
        - string
    oauth2TokenUrl: string
    oauth2Username: string
    orgId: string
    secret: string
    singleEventPerMessage: false
    splunkToken: string
    topics:
        - string
    type: string
    url: string
    verifyCert: false
Copy

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

OrgId This property is required. string
Topics This property is required. List<string>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
Url This property is required. string
Enabled bool
Whether webhook is enabled
Headers Dictionary<string, string>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
Name string
Name of the webhook
Oauth2ClientId string
Required when oauth2_grant_type==client_credentials
Oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
Oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
Oauth2Password string
Required when oauth2_grant_type==password
Oauth2Scopes List<string>
Required when type==oauth2, if provided, will be used in the token request
Oauth2TokenUrl string
Required when type==oauth2
Oauth2Username string
Required when oauth2_grant_type==password
Secret string
Only if type=http-post
SingleEventPerMessage bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
SplunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
Type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
VerifyCert bool
When url uses HTTPS, whether to verify the certificate
OrgId This property is required. string
Topics This property is required. []string
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
Url This property is required. string
Enabled bool
Whether webhook is enabled
Headers map[string]string
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
Name string
Name of the webhook
Oauth2ClientId string
Required when oauth2_grant_type==client_credentials
Oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
Oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
Oauth2Password string
Required when oauth2_grant_type==password
Oauth2Scopes []string
Required when type==oauth2, if provided, will be used in the token request
Oauth2TokenUrl string
Required when type==oauth2
Oauth2Username string
Required when oauth2_grant_type==password
Secret string
Only if type=http-post
SingleEventPerMessage bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
SplunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
Type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
VerifyCert bool
When url uses HTTPS, whether to verify the certificate
orgId This property is required. String
topics This property is required. List<String>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
url This property is required. String
enabled Boolean
Whether webhook is enabled
headers Map<String,String>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name String
Name of the webhook
oauth2ClientId String
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret String
Required when oauth2_grant_type==client_credentials
oauth2GrantType String
required when type==oauth2. enum: client_credentials, password
oauth2Password String
Required when oauth2_grant_type==password
oauth2Scopes List<String>
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl String
Required when type==oauth2
oauth2Username String
Required when oauth2_grant_type==password
secret String
Only if type=http-post
singleEventPerMessage Boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken String
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
type String
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
verifyCert Boolean
When url uses HTTPS, whether to verify the certificate
orgId This property is required. string
topics This property is required. string[]
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
url This property is required. string
enabled boolean
Whether webhook is enabled
headers {[key: string]: string}
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name string
Name of the webhook
oauth2ClientId string
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
oauth2Password string
Required when oauth2_grant_type==password
oauth2Scopes string[]
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl string
Required when type==oauth2
oauth2Username string
Required when oauth2_grant_type==password
secret string
Only if type=http-post
singleEventPerMessage boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
verifyCert boolean
When url uses HTTPS, whether to verify the certificate
org_id This property is required. str
topics This property is required. Sequence[str]
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
url This property is required. str
enabled bool
Whether webhook is enabled
headers Mapping[str, str]
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name str
Name of the webhook
oauth2_client_id str
Required when oauth2_grant_type==client_credentials
oauth2_client_secret str
Required when oauth2_grant_type==client_credentials
oauth2_grant_type str
required when type==oauth2. enum: client_credentials, password
oauth2_password str
Required when oauth2_grant_type==password
oauth2_scopes Sequence[str]
Required when type==oauth2, if provided, will be used in the token request
oauth2_token_url str
Required when type==oauth2
oauth2_username str
Required when oauth2_grant_type==password
secret str
Only if type=http-post
single_event_per_message bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunk_token str
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
type str
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
verify_cert bool
When url uses HTTPS, whether to verify the certificate
orgId This property is required. String
topics This property is required. List<String>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
url This property is required. String
enabled Boolean
Whether webhook is enabled
headers Map<String>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name String
Name of the webhook
oauth2ClientId String
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret String
Required when oauth2_grant_type==client_credentials
oauth2GrantType String
required when type==oauth2. enum: client_credentials, password
oauth2Password String
Required when oauth2_grant_type==password
oauth2Scopes List<String>
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl String
Required when type==oauth2
oauth2Username String
Required when oauth2_grant_type==password
secret String
Only if type=http-post
singleEventPerMessage Boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken String
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
type String
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
verifyCert Boolean
When url uses HTTPS, whether to verify the certificate

Outputs

All input properties are implicitly available as output properties. Additionally, the Webhook 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 Webhook Resource

Get an existing Webhook 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?: WebhookState, opts?: CustomResourceOptions): Webhook
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        headers: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        oauth2_client_id: Optional[str] = None,
        oauth2_client_secret: Optional[str] = None,
        oauth2_grant_type: Optional[str] = None,
        oauth2_password: Optional[str] = None,
        oauth2_scopes: Optional[Sequence[str]] = None,
        oauth2_token_url: Optional[str] = None,
        oauth2_username: Optional[str] = None,
        org_id: Optional[str] = None,
        secret: Optional[str] = None,
        single_event_per_message: Optional[bool] = None,
        splunk_token: Optional[str] = None,
        topics: Optional[Sequence[str]] = None,
        type: Optional[str] = None,
        url: Optional[str] = None,
        verify_cert: Optional[bool] = None) -> Webhook
func GetWebhook(ctx *Context, name string, id IDInput, state *WebhookState, opts ...ResourceOption) (*Webhook, error)
public static Webhook Get(string name, Input<string> id, WebhookState? state, CustomResourceOptions? opts = null)
public static Webhook get(String name, Output<String> id, WebhookState state, CustomResourceOptions options)
resources:  _:    type: junipermist:org:Webhook    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:
Enabled bool
Whether webhook is enabled
Headers Dictionary<string, string>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
Name string
Name of the webhook
Oauth2ClientId string
Required when oauth2_grant_type==client_credentials
Oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
Oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
Oauth2Password string
Required when oauth2_grant_type==password
Oauth2Scopes List<string>
Required when type==oauth2, if provided, will be used in the token request
Oauth2TokenUrl string
Required when type==oauth2
Oauth2Username string
Required when oauth2_grant_type==password
OrgId string
Secret string
Only if type=http-post
SingleEventPerMessage bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
SplunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
Topics List<string>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
Type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
Url string
VerifyCert bool
When url uses HTTPS, whether to verify the certificate
Enabled bool
Whether webhook is enabled
Headers map[string]string
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
Name string
Name of the webhook
Oauth2ClientId string
Required when oauth2_grant_type==client_credentials
Oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
Oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
Oauth2Password string
Required when oauth2_grant_type==password
Oauth2Scopes []string
Required when type==oauth2, if provided, will be used in the token request
Oauth2TokenUrl string
Required when type==oauth2
Oauth2Username string
Required when oauth2_grant_type==password
OrgId string
Secret string
Only if type=http-post
SingleEventPerMessage bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
SplunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
Topics []string
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
Type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
Url string
VerifyCert bool
When url uses HTTPS, whether to verify the certificate
enabled Boolean
Whether webhook is enabled
headers Map<String,String>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name String
Name of the webhook
oauth2ClientId String
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret String
Required when oauth2_grant_type==client_credentials
oauth2GrantType String
required when type==oauth2. enum: client_credentials, password
oauth2Password String
Required when oauth2_grant_type==password
oauth2Scopes List<String>
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl String
Required when type==oauth2
oauth2Username String
Required when oauth2_grant_type==password
orgId String
secret String
Only if type=http-post
singleEventPerMessage Boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken String
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
topics List<String>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
type String
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
url String
verifyCert Boolean
When url uses HTTPS, whether to verify the certificate
enabled boolean
Whether webhook is enabled
headers {[key: string]: string}
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name string
Name of the webhook
oauth2ClientId string
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret string
Required when oauth2_grant_type==client_credentials
oauth2GrantType string
required when type==oauth2. enum: client_credentials, password
oauth2Password string
Required when oauth2_grant_type==password
oauth2Scopes string[]
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl string
Required when type==oauth2
oauth2Username string
Required when oauth2_grant_type==password
orgId string
secret string
Only if type=http-post
singleEventPerMessage boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken string
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
topics string[]
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
type string
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
url string
verifyCert boolean
When url uses HTTPS, whether to verify the certificate
enabled bool
Whether webhook is enabled
headers Mapping[str, str]
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name str
Name of the webhook
oauth2_client_id str
Required when oauth2_grant_type==client_credentials
oauth2_client_secret str
Required when oauth2_grant_type==client_credentials
oauth2_grant_type str
required when type==oauth2. enum: client_credentials, password
oauth2_password str
Required when oauth2_grant_type==password
oauth2_scopes Sequence[str]
Required when type==oauth2, if provided, will be used in the token request
oauth2_token_url str
Required when type==oauth2
oauth2_username str
Required when oauth2_grant_type==password
org_id str
secret str
Only if type=http-post
single_event_per_message bool
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunk_token str
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
topics Sequence[str]
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
type str
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
url str
verify_cert bool
When url uses HTTPS, whether to verify the certificate
enabled Boolean
Whether webhook is enabled
headers Map<String>
If type=http-post, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
name String
Name of the webhook
oauth2ClientId String
Required when oauth2_grant_type==client_credentials
oauth2ClientSecret String
Required when oauth2_grant_type==client_credentials
oauth2GrantType String
required when type==oauth2. enum: client_credentials, password
oauth2Password String
Required when oauth2_grant_type==password
oauth2Scopes List<String>
Required when type==oauth2, if provided, will be used in the token request
oauth2TokenUrl String
Required when type==oauth2
oauth2Username String
Required when oauth2_grant_type==password
orgId String
secret String
Only if type=http-post
singleEventPerMessage Boolean
Some solutions may not be able to parse multiple events from a single message (e.g. IBM Qradar, DSM). When set to true, only a single event will be sent per message. this feature is only available on certain topics (see List Webhook Topics)
splunkToken String
Required if type=splunk. If splunk_token is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.
topics List<String>
enum: alarms, audits, client-info, client-join, client-sessions, device-events, device-updowns, guest-authorizations, mxedge-events, nac-accounting, nac-events
type String
enum: aws-sns, google-pubsub, http-post, oauth2, splunk
url String
verifyCert Boolean
When url uses HTTPS, whether to verify the certificate

Import

Using pulumi import, import mist_org_webhook with:

Org Webhook can be imported by specifying the org_id and the webhook_id

$ pulumi import junipermist:org/webhook:Webhook webhook_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
Copy

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

Package Details

Repository
junipermist pulumi/pulumi-junipermist
License
Apache-2.0
Notes
This Pulumi package is based on the mist Terraform Provider.