Skip to content

Commit

Permalink
add microsoft_teams_webhook to alert actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Jul 19, 2024
1 parent 785c1af commit 382d4ff
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 37 deletions.
75 changes: 39 additions & 36 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,43 +141,45 @@ type ConnectorParamsDingTalk struct {

// ConnectorTypes defines connector types
var ConnectorTypes = struct {
AutomationRule string
Autotask string
DingTalk string
DingTalkAction string
Discord string
Email string
Github string
Jira string
Mattermost string
MicrosoftTeams string
MicrosoftTeamsBot string
ServiceNow string
Slack string
Telegram string
Topdesk string
Webhook string
Zammad string
Zendesk string
AutomationRule string
Autotask string
DingTalk string
DingTalkAction string
Discord string
Email string
Github string
Jira string
Mattermost string
MicrosoftTeams string
MicrosoftTeamsBot string
MicrosoftTeamsWebhook string
ServiceNow string
Slack string
Telegram string
Topdesk string
Webhook string
Zammad string
Zendesk string
}{
AutomationRule: "automation_rule",
Autotask: "autotask",
DingTalk: "dingtalk",
DingTalkAction: "dingtalk_action",
Discord: "discord",
Email: "email",
Github: "github",
Jira: "jira",
Mattermost: "mattermost",
MicrosoftTeams: "microsoft_teams",
MicrosoftTeamsBot: "microsoft_teams_bot",
ServiceNow: "servicenow",
Slack: "slack",
Telegram: "telegram",
Topdesk: "topdesk",
Webhook: "webhook",
Zammad: "zammad",
Zendesk: "zendesk",
AutomationRule: "automation_rule",
Autotask: "autotask",
DingTalk: "dingtalk",
DingTalkAction: "dingtalk_action",
Discord: "discord",
Email: "email",
Github: "github",
Jira: "jira",
Mattermost: "mattermost",
MicrosoftTeams: "microsoft_teams",
MicrosoftTeamsBot: "microsoft_teams_bot",
MicrosoftTeamsWebhook: "microsoft_teams_webhook",
ServiceNow: "servicenow",
Slack: "slack",
Telegram: "telegram",
Topdesk: "topdesk",
Webhook: "webhook",
Zammad: "zammad",
Zendesk: "zendesk",
}

// ConnectorTypesAll defines connector all types list
Expand All @@ -193,6 +195,7 @@ var ConnectorTypesAll = []string{
ConnectorTypes.Mattermost,
ConnectorTypes.MicrosoftTeams,
ConnectorTypes.MicrosoftTeamsBot,
ConnectorTypes.MicrosoftTeamsWebhook,
ConnectorTypes.ServiceNow,
ConnectorTypes.Slack,
ConnectorTypes.Telegram,
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ilert

// Version package version
const Version = "v3.8.1"
const Version = "v3.8.2"

0 comments on commit 382d4ff

Please sign in to comment.