-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Actions] Microsoft Teams connector #83169
Conversation
…ns/microsoft-teams
…ns/microsoft-teams
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
@gchaps could you review the words in the asciidocs please? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM! Great to see this integration! I left a few nits and questions.
...ugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams.tsx
Outdated
Show resolved
Hide resolved
}): TeamsActionType { | ||
return { | ||
id: '.teams', | ||
minimumLicenseRequired: 'gold', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arisonl just to confirm, Teams is gold license?
...ugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams.tsx
Outdated
Show resolved
Hide resolved
...ugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI copy looks good.
Can the messages that show up on Microsoft teams be a little friendlier? Instead of "something happened" but give some details of what went wrong?
@gchaps Those are just my test messages :) The user can specify what the notification message is and there are default messages for each alert type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With two reviews already, didn't do a full one, but did look through the server-side code. LGTM!
Noted some potentially extraneous logging - I suspect we have other actions are also logging errors when they don't need to (no need to fix here) and so this was probably copied from one of those, but if those logs ARE extraneous, might as well change them to debugs for when someone copies THIS action when creating a new one :-)
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Distributable file count
Page load bundle
Unknown metric groupsasync chunk count
miscellaneous assets size
History
To update your PR or re-run it, just comment with: |
* First cut at adding teams connector * Getting teams connector working * Unit tests * Updating docs * PR comments * PR comments * Changing error to debug log * Fixing imports Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* First cut at adding teams connector * Getting teams connector working * Unit tests * Updating docs * PR comments * PR comments * Changing error to debug log * Fixing imports Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…Actions (#94239) ## Summary This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via #83169). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" /> </p> ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…Actions (elastic#94239) ## Summary This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via elastic#83169). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" /> </p> ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…Actions (elastic#94239) ## Summary This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via elastic#83169). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" /> </p> ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…Actions (#94239) (#94260) ## Summary This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via #83169). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" /> </p> ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
…Actions (#94239) (#94261) ## Summary This PR enables Microsoft Teams action type for the detection engine (originally developed/tested via #83169). <p align="center"> <img width="500" src="https://user-images.githubusercontent.com/2946766/110558632-0fccdf80-8100-11eb-8476-8adb2eab7134.png" /> </p> ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Resolves #56395
Summary
Added Microsoft Teams connector that uses the Incoming Webhook app available on Teams to post messages to channels within a team. There are fancier formatting options available but this PR does not take advantage of them.
Teams Connector on Create Connector Flyout
Creating a Teams Connector
Editing a Teams Connector
Testing a Teams Connector
Messages showing up on Teams
Checklist
Delete any items that are not applicable to this PR.