Skip to content

Commit

Permalink
Merge pull request #39 from iLert/fix/teams-alert-action-connector
Browse files Browse the repository at this point in the history
Fix/teams alert action connector
  • Loading branch information
STLVRTX authored May 6, 2024
2 parents 89062fb + d83785f commit f41c46a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 06.05.2024, Version 3.7.1

- readd removed connector and alert action for microsoft teams simple webhook [#39](https://github.com/iLert/ilert-go/pull/39)

## 25.04.2024, Version 3.7.0

- remove connectors and alert actions deprecated via api in [#85](https://github.com/iLert/terraform-provider-ilert/pull/85)
- remove connectors and alert actions deprecated via api in [#38](https://github.com/iLert/ilert-go/pull/38)
- adds support for alert actions and connectors previously missing

# 20.02.2024, Version 3.6.1
Expand Down
3 changes: 3 additions & 0 deletions alert_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ type AlertActionParamsJira struct {
BodyTemplate string `json:"bodyTemplate,omitempty"`
}

// AlertActionParamsMicrosoftTeams definition
type AlertActionParamsMicrosoftTeams struct{}

// AlertActionParamsMicrosoftTeamsBot definition
type AlertActionParamsMicrosoftTeamsBot struct {
ChannelID string `json:"channelId,omitempty"`
Expand Down
3 changes: 3 additions & 0 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ var ConnectorTypes = struct {
Github string
Jira string
Mattermost string
MicrosoftTeams string
MicrosoftTeamsBot string
ServiceNow string
Slack string
Expand All @@ -168,6 +169,7 @@ var ConnectorTypes = struct {
Github: "github",
Jira: "jira",
Mattermost: "mattermost",
MicrosoftTeams: "microsoft_teams",
MicrosoftTeamsBot: "microsoft_teams_bot",
ServiceNow: "servicenow",
Slack: "slack",
Expand All @@ -189,6 +191,7 @@ var ConnectorTypesAll = []string{
ConnectorTypes.Github,
ConnectorTypes.Jira,
ConnectorTypes.Mattermost,
ConnectorTypes.MicrosoftTeams,
ConnectorTypes.MicrosoftTeamsBot,
ConnectorTypes.ServiceNow,
ConnectorTypes.Slack,
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.7.0"
const Version = "v3.7.1"

0 comments on commit f41c46a

Please sign in to comment.