forked from robusta-dev/robusta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated forwarder and runner serviceaccount permission for clusterrolebindings * Job Action Added * Webex Sink Integration (robusta-dev#3) * Added webex_sink * Bug fix with fileblocks, code refactoring, documentation add and minor bug fixes * Delete job_restart_on_oomkilled.py * Updated Webex_Sink (robusta-dev#6) * Added webex_sink * Bug fix with fileblocks, code refactoring, documentation add and minor bug fixes * Added Enums and replaced emoji code with emoji icons * Removed PDF functionality and separated JSON logic from adaptive card function. (robusta-dev#7) * Added webex_sink * Bug fix with fileblocks, code refactoring, documentation add and minor bug fixes * Added Enums and replaced emoji code with emoji icons * Removed PDF functionality and seperated JSON creation logic from the adaptivecard function logic * Formatted using Black * Changes in _send_files and _separate_blocks function (robusta-dev#8) * Added webex_sink * Bug fix with fileblocks, code refactoring, documentation add and minor bug fixes * Added Enums and replaced emoji code with emoji icons * Removed PDF functionality and seperated JSON creation logic from the adaptivecard function logic * Formatted using Black * Changes in _send_files and _separate_blocks function * Changes in _send_files and _separate_blocks function (robusta-dev#9) * Added webex_sink * Bug fix with fileblocks, code refactoring, documentation add and minor bug fixes * Added Enums and replaced emoji code with emoji icons * Removed PDF functionality and seperated JSON creation logic from the adaptivecard function logic * Formatted using Black * Changes in _send_files and _separate_blocks function Co-authored-by: wahajXgrid <wahaj.ali@xgrid.co> Co-authored-by: wahajXgrid <107921443+wahajXgrid@users.noreply.github.com>
- Loading branch information
1 parent
4b56be2
commit 8d08efc
Showing
16 changed files
with
450 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Webex | ||
################# | ||
|
||
Robusta can send playbook results to Webex. | ||
|
||
To configure the Webex sink we will need the Webex bot settings | ||
|
||
.. note:: | ||
|
||
2-way interactivity (``CallbackBlock``) isn't implemented yet. | ||
|
||
|
||
Create your bot access token | ||
------------------------------------------------ | ||
|
||
1. `Create a new bot. <https://developer.webex.com/my-apps/new/bot>`_ | ||
2. Copy and save your bot access token | ||
|
||
.. image:: /images/webex_sink/bot_access_token.png | ||
:width: 600 | ||
:align: center | ||
|
||
3. Copy and save your bot username | ||
|
||
.. image:: /images/webex_sink/bot_username.png | ||
:width: 600 | ||
:align: center | ||
|
||
Get your webex room ID | ||
------------------------------------------------ | ||
|
||
1. `Click the run button here to list your room IDs. <https://developer.webex.com/docs/api/v1/rooms/list-rooms>`_ . | ||
Copy the room ID of **the room to which you want to send Robusta notifications**. | ||
|
||
.. image:: /images/webex_sink/room_id.png | ||
:width: 600 | ||
:align: center | ||
|
||
2. Go to `Webex spaces <https://web.webex.com/spaces>`_ **> Your space/room > People > Add People > Paste your bot username (email) > Invite > Add**. | ||
|
||
.. note:: | ||
The bot must be invited to the same room of which you copied the ID of in step 1. | ||
|
||
.. image:: /images/webex_sink/add_webex_bot_to_space.png | ||
:width: 600 | ||
:align: center | ||
|
||
Configuring the webex sink | ||
------------------------------------------------ | ||
Now we're ready to configure the webex sink. | ||
|
||
.. admonition:: generated-values.yaml | ||
|
||
.. code-block:: yaml | ||
sinks_config: | ||
- webex_sink: | ||
name: personal_webex_sink | ||
bot_access_token: <YOUR BOT ACCESS TOKEN> | ||
room_id: <YOUR ROOM ID> | ||
You should now get playbooks results in Webex! Example is shown below: | ||
|
||
.. image:: /images/webex_sink/webex_sink_example.png | ||
:width: 1000 | ||
:align: center |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.