Skip to content

Commit

Permalink
add new alert source types
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Feb 15, 2022
1 parent 19a0e51 commit 046656c
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 18.01.2022, Version 1.6.2

- add new alert source types

## 18.01.2022, Version 1.6.1

- fix ssl uptime monitor check params
Expand Down
84 changes: 81 additions & 3 deletions alertsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var AlertSourceIntegrationTypes = struct {
AWSBudget string
AWSPersonalHealthDashboard string
CallRoutingNumber string
checkmk string
CheckMK string
Datadog string
Dynatrace string
Email string
Expand Down Expand Up @@ -158,6 +158,32 @@ var AlertSourceIntegrationTypes = struct {
AmazonSNS string
Kapacitor string
CortexXSOAR string
Sysdig string
ServerDensity string
Zapier string
ServiceNow string
SearchGuard string
AzureAlerts string
TerraformCloud string
Zendesk string
Auvik string
Sensu string
NCentral string
JumpCloud string
Salesforce string
GuardDuty string
StatusHub string
IXON string
ApiFortress string
FreshService string
AppSignal string
LightStep string
IBMCloudFunctions string
CrowdStrike string
Humio string
OhDear string
MongodbAtlas string
Gitlab string
}{
AmazonCloudWatch: "CLOUDWATCH",
API: "API",
Expand All @@ -166,7 +192,7 @@ var AlertSourceIntegrationTypes = struct {
AWSBudget: "AWSBUDGET",
AWSPersonalHealthDashboard: "AWSPHD",
CallRoutingNumber: "CRN",
checkmk: "CHECKMK",
CheckMK: "CHECKMK",
Datadog: "DATADOG",
Dynatrace: "DYNATRACE",
Email: "EMAIL",
Expand Down Expand Up @@ -204,6 +230,32 @@ var AlertSourceIntegrationTypes = struct {
AmazonSNS: "AMAZONSNS",
Kapacitor: "KAPACITOR",
CortexXSOAR: "CORTEXXSOAR",
Sysdig: "SYSDIG",
ServerDensity: "SERVERDENSITY",
Zapier: "ZAPIER",
ServiceNow: "SERVICENOW",
SearchGuard: "SEARCHGUARD",
AzureAlerts: "AZUREALERTS",
TerraformCloud: "TERRAFORMCLOUD",
Zendesk: "ZENDESK",
Auvik: "AUVIK",
Sensu: "SENSU",
NCentral: "NCENTRAL",
JumpCloud: "JUMPCLOUD",
Salesforce: "SALESFORCE",
GuardDuty: "GUARDDUTY",
StatusHub: "STATUSHUB",
IXON: "IXON",
ApiFortress: "APIFORTRESS",
FreshService: "FRESHSERVICE",
AppSignal: "APPSIGNAL",
LightStep: "LIGHTSTEP",
IBMCloudFunctions: "IBMCLOUDFUNCTIONS",
CrowdStrike: "CROWDSTRIKE",
Humio: "HUMIO",
OhDear: "OHDEAR",
MongodbAtlas: "MONGODBATLAS",
Gitlab: "GITLAB",
}

// AlertSourceIntegrationTypesAll defines all alert source integration types
Expand All @@ -215,7 +267,7 @@ var AlertSourceIntegrationTypesAll = []string{
AlertSourceIntegrationTypes.AWSBudget,
AlertSourceIntegrationTypes.AWSPersonalHealthDashboard,
AlertSourceIntegrationTypes.CallRoutingNumber,
AlertSourceIntegrationTypes.checkmk,
AlertSourceIntegrationTypes.CheckMK,
AlertSourceIntegrationTypes.Datadog,
AlertSourceIntegrationTypes.Dynatrace,
AlertSourceIntegrationTypes.Email,
Expand Down Expand Up @@ -253,6 +305,32 @@ var AlertSourceIntegrationTypesAll = []string{
AlertSourceIntegrationTypes.AmazonSNS,
AlertSourceIntegrationTypes.Kapacitor,
AlertSourceIntegrationTypes.CortexXSOAR,
AlertSourceIntegrationTypes.Sysdig,
AlertSourceIntegrationTypes.ServerDensity,
AlertSourceIntegrationTypes.Zapier,
AlertSourceIntegrationTypes.ServiceNow,
AlertSourceIntegrationTypes.SearchGuard,
AlertSourceIntegrationTypes.AzureAlerts,
AlertSourceIntegrationTypes.TerraformCloud,
AlertSourceIntegrationTypes.Zendesk,
AlertSourceIntegrationTypes.Auvik,
AlertSourceIntegrationTypes.Sensu,
AlertSourceIntegrationTypes.NCentral,
AlertSourceIntegrationTypes.JumpCloud,
AlertSourceIntegrationTypes.Salesforce,
AlertSourceIntegrationTypes.GuardDuty,
AlertSourceIntegrationTypes.StatusHub,
AlertSourceIntegrationTypes.IXON,
AlertSourceIntegrationTypes.ApiFortress,
AlertSourceIntegrationTypes.FreshService,
AlertSourceIntegrationTypes.AppSignal,
AlertSourceIntegrationTypes.LightStep,
AlertSourceIntegrationTypes.IBMCloudFunctions,
AlertSourceIntegrationTypes.CrowdStrike,
AlertSourceIntegrationTypes.Humio,
AlertSourceIntegrationTypes.OhDear,
AlertSourceIntegrationTypes.MongodbAtlas,
AlertSourceIntegrationTypes.Gitlab,
}

// CreateAlertSourceInput represents the input of a CreateAlertSource operation.
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 = "v1.6.1"
const Version = "v1.6.2"

0 comments on commit 046656c

Please sign in to comment.