Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Workflows): Added new notification channel type called servicenow_app #1200

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pkg/notifications/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,12 @@ var AlertsWebhookCustomPayloadTypeTypes = struct {
type Account struct {
// This field provides access to AiNotifications data.
AiNotifications AiNotificationsAccountStitchedFields `json:"aiNotifications,omitempty"`
ID int `json:"id,omitempty"`
LicenseKey string `json:"licenseKey,omitempty"`
Name string `json:"name,omitempty"`
//
ID int `json:"id,omitempty"`
//
LicenseKey string `json:"licenseKey,omitempty"`
//
Name string `json:"name,omitempty"`
}

// Actor - The `Actor` object contains fields that are scoped to the API user's access level.
Expand Down
6 changes: 6 additions & 0 deletions pkg/workflows/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
PAGERDUTY_SERVICE_INTEGRATION AiWorkflowsDestinationType
// Service Now Destination Configuration type
SERVICE_NOW AiWorkflowsDestinationType
// ServiceNow official NewRelic app Configuration type
SERVICE_NOW_APP AiWorkflowsDestinationType
// Slack Destination Configuration type
SLACK AiWorkflowsDestinationType
// Slack legacy Destination Configuration type
Expand All @@ -110,6 +112,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
PAGERDUTY_SERVICE_INTEGRATION: "PAGERDUTY_SERVICE_INTEGRATION",
// Service Now Destination Configuration type
SERVICE_NOW: "SERVICE_NOW",
// ServiceNow official NewRelic app Configuration type
SERVICE_NOW_APP: "SERVICE_NOW_APP",
// Slack Destination Configuration type
SLACK: "SLACK",
// Slack legacy Destination Configuration type
Expand Down Expand Up @@ -497,6 +501,8 @@ type AiWorkflowsFilters struct {
EnrichmentId string `json:"enrichmentId,omitempty"`
// filterId
FilterId string `json:"filterId,omitempty"`
// guid
GUID EntityGUID `json:"guid,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Expand Down
Loading