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

Added support for Jira, Pagerduty and Increased Slack to include webooks and custom fields #149

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

0xrob
Copy link

@0xrob 0xrob commented May 20, 2024

I've created some Custom alert_action to add additional support for pagerduty and Jira.

I have a feeling these applications are popular enough that this feature would benefit the wider contentctl community.

I've attached some images if you'd like to see a POC.

PagerDuty

image

Jira

image

This code can be tested by adding the alert_action key in the yaml file. See below

alert_action:
jira:
account: JiraServiceAccount
jira_attachment: enabled_json
jira_dedup: enabled
jira_dedup_content: your condition
jira_description: your description
jira_issue_type: Alert
jira_priority: Three
jira_priority_dynamic: your dynamic priority
jira_project: your project
jira_summary: your summary
pagerduty:
pagerduty_description: your description
integration_url_override: optional pagerduty url
slack:
channel: your channel
message: your message
fields: outputted fields
webhook_url: webhookurl

This is my first PR with contentctl so let me know what else i need to add or supply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants